regexp
- From: oryann9@xxxxxxxxx (Oryann9)
- Date: Wed, 31 Jan 2007 08:04:43 -0800 (PST)
In this regexp
my $regexp = qr/(\d+\x3a1108
|\w+\x3a1108{1,} ) /;
vs.
my $regexp1 = qr/(\d+\x3a1108
|\w+\x3a1108){1,} /;
does the {1,} construct outside the parens () mean the entire string 1 or more times and within the parens mean only the last string \x3s1180 1 or more times?
What is the diff?
thank you.
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
- Follow-Ups:
- Re: regexp
- From: John W. Krahn
- Re: regexp
- From: nobull67@xxxxxxxxx
- Re: regexp
- From: Rob Coops
- Re: regexp
- Prev by Date: Calculate date
- Next by Date: Re: Calculate date
- Previous by thread: Calculate date
- Next by thread: Re: regexp
- Index(es):
Relevant Pages
|