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.