[TxMt] Help with a Language Regex?

Charles Turner vze26m98 at optonline.net
Mon Jan 24 23:51:23 UTC 2011


Hi all-

Stumped over the following regex for a block comment:

> begin = '(?<=0 : 0$)';

This actually works, but I need to generalize it to one or more whitespace characters between the "0" and ":", and then between the colon and final zero.

Tried things like:

> begin = '(?<=0\s+:\s+0$)';

but Oniguruma gets really irked at me.

Grateful for any thoughts or pointers...

Thanks, Charles




More information about the textmate mailing list