Re: Regex-Too much greedy
- From: Tad McClellan <tadmc@xxxxxxxxxxxxxx>
- Date: Tue, 31 May 2005 10:46:40 -0500
djb@xxxxxxxxxxxxx <djb@xxxxxxxxxxxxx> wrote:
> \s?"(.*)"\s?(.*)
> My problem is that the regex is matching up to the last "qoute;"
> I tried to make the regex lazy, but in vain.
If you show us your broken code, we might be able to help you fix it...
--
Tad McClellan SGML consulting
tadmc@xxxxxxxxxxxxxx Perl programming
Fort Worth, Texas
.
- References:
- Regex-Too much greedy
- From: djb
- Regex-Too much greedy
- Prev by Date: Re: Regex-Too much greedy
- Next by Date: Re: http auth logindialog box
- Previous by thread: Re: Regex-Too much greedy
- Next by thread: FAQ 7.28 How can I use a variable as a variable name?
- Index(es):