Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: "John W. Krahn" <someone@xxxxxxxxxxx>
- Date: Tue, 04 Nov 2008 08:33:55 -0800
Uri Guttman wrote:
"A" == April <xiaoxia2005a@xxxxxxxxx> writes:
A> ? seems a pretty interesting quatifier in re. it relates to both
A> optional and non-greedy.
that is wrong thinking. one is a quantifier (0 or 1 of the previous
thing). the other is a modifier (makes the previous quantifier
non-greedy). don't assume any sort of relationship because of the use of
? for both of those roles.
<yes, i am back! :)
Welcome back. ;-)
verizon screwed over my usenet feed and i finally
switched to a free text one>
Don't you just hate it when that happens. :-(
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
.
- References:
- /^From:.*?([\w.-]+@[\w.-]+)/
- From: April
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: Tim Greer
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: Tad J McClellan
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: Tim Greer
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: April
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: sln
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: April
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: Tim Greer
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: April
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: Tim Greer
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: April
- Re: /^From:.*?([\w.-]+@[\w.-]+)/
- From: Uri Guttman
- /^From:.*?([\w.-]+@[\w.-]+)/
- Prev by Date: Re: An odd sort requirement - data munging
- Next by Date: Re: An odd sort requirement - data munging
- Previous by thread: Re: /^From:.*?([\w.-]+@[\w.-]+)/
- Next by thread: Re: /^From:.*?([\w.-]+@[\w.-]+)/
- Index(es):
Relevant Pages
|