[TxMt] Re: why isn't regular expression working

Craig Hess craig at dazium.com
Mon Sep 23 13:18:30 UTC 2013


> (?<=.+).+(?=</a>)
>

Most regex engines do not support regex pattern matching inside a
lookbehind. According
regular-expressions.info<http://www.regular-expressions.info/lookaround.html>,
the only engines that do are provided by JGsoft, and the .NET framework.

I believe TextMate uses the Oniguruma regex engine.

See if this one meets your needs instead:
(?<=>).*(?=\<\/a\>)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20130923/9c28d960/attachment.html>


More information about the textmate mailing list