[TxMt] plist syntax for new language grammar
Allan Odgaard
throw-away-1 at macromates.com
Tue May 30 07:01:43 UTC 2006
On 28/5/2006, at 17:42, marios buttner wrote:
> [...] Basically I want to use the above rule to isolate any single
> self enclosing language plugin tags tags from regular txp language
> tags and give it a scope. It doesn't work, I tested the above reg
> ex with find/replace and it does what I want, but it doesn't work
> inside the Language grammar.
Did you place this first in the patterns array?
TextMate will pick the first rule which match something, so if
something more generic matches the same text (tag) and is specified
before this rule, it will win.
> Are there any limitations, about regexes in a Language syntax at
> all, that I don't know about ?
Other than patterns only working at a single line at a time, there
are no limitations compared to normal regexp find.
More information about the textmate
mailing list