[TxMt] Re: replacement broken when using regexp look-ahead?
Martin Kühl
martin.kuehl at gmail.com
Thu Feb 16 07:52:12 UTC 2012
On Thu, Feb 16, 2012 at 06:41, Erik Neumann <erikn at myphysicslab.com> wrote:
> Hello, I'm trying to use a regexp with look-ahead. The search works, but
> clicking "replace" button does nothing. I'm stumped. Here's an example:
>
> Find: public (?=int)
> Replace: private
> Regular expression: checked
> Ignore case: unchecked
> Wrap around: checked
>
> Click "find" and "public " is selected, but then clicking "replace" does
> nothing. Also "replace and find" goes to the next occurrence, but does not
> perform the replacement.
FWIW, "replace all" works for me in that scenario.
Martin
More information about the textmate
mailing list