[OS X TeX] Search with .* but how to replace?
yomcat at yomcat.geek.nz
Fri Apr 25 02:41:35 CEST 2014
On 25/04/2014, at 1238, Herbert Schulz <herbs at wideopenwest.com> wrote:
> I'm FAR from a regex guru but I suspect you'll need something like
> Find: f\((.*)\)
This will break on lines such as
let f(x) be something and g(y) be something else.
It will match "x) be something and g(y". You need the ? to tell the search to stop after finding the next ), not the last one in the line.
More information about the macostex-archives