Suppose i want to deal with certain patterns and have the other text(VHDL code) as it is in the output file.

For that purpose i would be required to write a master rule in the end as 

```
(MY_PATTERN){
// do something with my pattern
}

(.*){
return TOK_VHDL_CODE;

}

```

Problem with this strategy is MY\_PATTERN is useless in this case and would be matched with .\* by maximum munch rule.

So how can i get this functionality ?