[TxMt] Re: replacement broken when using regexp look-ahead?
erikn at myphysicslab.com
Thu Feb 16 21:12:00 UTC 2012
"replace all" works for me too. Which makes me feel confident this is a
bug and not a mistake on my part. Is there a place other than this email
list to report a bug in Textmate?
On Wed, Feb 15, 2012 at 11:52 PM, Martin Kühl <martin.kuehl at gmail.com>wrote:
> On Thu, Feb 16, 2012 at 06:41, Erik Neumann <erikn at myphysicslab.com>
> > Hello, I'm trying to use a regexp with look-ahead. The search works,
> > 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
> > perform the replacement.
> FWIW, "replace all" works for me in that scenario.
> textmate mailing list
> textmate at lists.macromates.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the textmate