[TxMt] Re: Newbie bundle editor issue

Michael Sheets mummer at whitefalls.org
Mon Nov 7 02:06:01 UTC 2011


On Nov 6, 2011, at 8:04 AM, Bjarke Durhuus wrote:

> Im trying to create a bundle for GAMS and when wanting to do syntax highlighting i have an issue. Several of the commands in GAMS starts with a $ sign, e.g. $INCLUDE, so how do i get the editor to recognize this? I've tried doing the litteral \$ but it wont recognize it in my syntax. 
> 
>                 {	name = 'keyword'; 
>                         match = '^\b((?i)(\$INCLUDE))\b'; 
>                 } 
> 
> What am i doing wrong? 

\$ is proper to match the $, it's the first \b that is the issue. That signifies a word boundry which you do not have before $.


More information about the textmate mailing list