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

regexp BUG in multiple GUI text editing programs

2001-08-23 Thread Adam Warner
Hi all, I'm writing to you all together because you all suffer from the same regexp bug. I suspect it could be caused by a library you all share? I have only found that (X)Emacs doesn't suffer from it. If you create a new file with these tags: Try and replace the tags with "hello" (no quotes)