[TxMt] Re: Search & replace regex question

Allan Odgaard mailinglist at textmate.org
Wed Sep 3 10:25:12 UTC 2008


On 2 Sep 2008, at 21:40, Patrick James wrote:

> That is a very useful thing to know about. It does strike me as very
> strange that the Oniguruma Regular Expressions system is like this.

For the records, the replacement format string is completely unrelated  
to Oniguruma.

> I haven't as yet encountered a situation where this was going to be a
> problem but I'd noticed that it doesn't seem to be accounted for in
> Oniguruma.

It is not, no, except for using conditional insertions as sort of a  
hack. There will however be a significant update to this syntax in…  
the future :) This will allow using ${1} etc. like in snippets.




More information about the textmate mailing list