Re: regexp BUG in multiple GUI text editing programs

2001-08-23 Thread Adam Warner
On 23 Aug 2001 16:16:09 +1000, Anthony Towns wrote: > On Thu, Aug 23, 2001 at 06:08:09PM +1200, Adam Warner wrote: > > Try and replace the tags with "hello" (no quotes) using this regexp: > > <.*?> > > [The "?" is supposed to make the any character matching non-greedy]. > > Regexps vary. Using the

Re: regexp BUG in multiple GUI text editing programs

2001-08-23 Thread Anthony Towns
On Thu, Aug 23, 2001 at 06:08:09PM +1200, Adam Warner wrote: > Try and replace the tags with "hello" (no quotes) using this regexp: > <.*?> > [The "?" is supposed to make the any character matching non-greedy]. Regexps vary. Using the "?" in that way is a Perl regexp thing, iirc, and can't be reli