[TxMt] RegExp n00b
Jeroen van der Ham
jeroen at je-ju.net
Tue Sep 13 17:30:16 UTC 2005
On 13-09-2005 15:00, Gavin Kistner wrote:
> My own question - what is the importance of saving sub-expressions in
> both of the above cases?
They are used for assigning scopes. (which are used for colouring and
commands, etc.)
See:
http://macromates.com/blog/archives/2005/06/23/language-grammars/#more-43
Under the headline, "Named Captures and Content"
Jeroen.
--
<http://www.je-ju.net/~jeroen/blog/>
More information about the textmate
mailing list