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.