"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?
--ErikN

On Wed, Feb 15, 2012 at 11:52 PM, Martin Kühl <martin.kuehl@gmail.com> wrote:
On Thu, Feb 16, 2012 at 06:41, Erik Neumann <erikn@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

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate