Have a read at this: http://www.regular-expressions.info/continue.html (and then this too: http://manual.macromates.com/en/regular_expressions#regular_expressions).
On 23 October 2012 08:03, Nathan Sobo nathan@github.com wrote:
I have a followup question:
How is \G defined in TextMate grammars?
I notice from the source code that \G anchors are replaced with a null string if the start of the match isn't equal to `anchor`, but I'm having a hard time following where and why `anchor` is updated during the progress of the parse. How would you describe the meaning of `anchor`? Is it the end of the last match, or something else?
Thanks!
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate