[SVN] language help

Steven Ross nowhiding at gmail.com
Wed Apr 16 18:04:59 UTC 2008


you have to escape quotes like that in the language definition looks odd
but, thats the way it works. backslash only escapes regex metacharacters.

On Wed, Apr 16, 2008 at 1:41 PM, Hans-Jörg Bibiko <bibiko at eva.mpg.de> wrote:

> Hi,
>
> On 16.04.2008, at 18:48, Steven Ross wrote:
>
> > {       name = 'function';
> >                                        contentName =
> > 'entity.name.function';
> >                                        begin =
> > 'cffunction(\s)*name=("|'')';
> >                                        end = '("|'')';
> >                                },
> >
> >
> >
> only a quick look, but
>
> end = '("|'')';
>
> cannot work, I believe. Maybe:
>
> end = '("|\')';
>
> the same for begin. One should escape '
>
> --Hans
>
> _______________________________________________
> textmate-dev mailing list
> textmate-dev at lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate-dev
>



-- 
Steven Ross
web application & interface developer
http://blog.stevensross.com
[mobile] 404-488-4364 [fax] (404) 592-6885
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20080416/b53833ed/attachment.html>


More information about the textmate-dev mailing list