help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

non-greedy regexp


From: Robert Pontisso
Subject: non-greedy regexp
Date: Mon, 23 Oct 2006 14:49:27 +0100 (BST)

Hi. I've been having difficulty finding a non-greedy
regular expression to match a single instance of an
xml-type tag pair in a line.  Given a line with
several instances of <foo>...</foo>, is there a
version of <foo>.*</foo> that won't match everything
between the beginning of the first pair and closing of
the last pair?

Thanks


Send instant messages to your online friends http://uk.messenger.yahoo.com 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]