I trying to make a regular expression to find ³this is a test² is the following string:
<a href="index.cfm?action=search.listings&test=6&view=names">this is a test</a>
This is the regular expression:
The regular expression is not matching anything. Is there something I¹m doing wrong here or does TextMate not support the regular expression flavour I¹m trying to use?
Most regex engines do not support regex pattern matching inside a lookbehind. According regular-expressions.infohttp://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>)