Re: regexp BUG in multiple GUI text editing programs
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 relied on everywhere. Use "<[^>]*>" if you want to be sure.
Cheers,
aj
--
Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.
``_Any_ increase in interface difficulty, in exchange for a benefit you
do not understand, cannot perceive, or don't care about, is too much.''
-- John S. Novak, III (The Humblest Man on the Net)
Reply to: