Hey Dirk,

I was attempting to match the comment style of "verbose" regular expressions... Unfortunately, there isn't a good way to tell whether or not those should be enabled, so I'm just going to remove it altogether.

–Alex

On Mar 21, 2007, at 1:08 PM, Dirk van Oosterbosch, IR labs wrote:

Hi All,

I just got the latest build, Version 1.5.5 (1372), and I noticed that the python language syntax is now somewhat broken for comment characters (#) inside regular expression strings r'some regular expression'.

like:
some_reg_string = r'#'
shows up as illegal / incomplete syntax.

And e.g. all my code following this line:
parentPattern = re.compile(r'^#extends (\w+)\s*$')
becomes:
source.python
meta.function-call.python
meta.function-call.arguments.python

which is a little confusing.


best,
dirk


-----------------------------
Dirk van Oosterbosch
de Wittenstraat 225
1052 AT Amsterdam
the Netherlands

-----------------------------



______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate