[PS] User Guide p.79
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
The description of the meaning of the ? metacharacter on p.79 is
incorrect. It matches 0 or 1 occurences of the preceding character or
pattern, not as stated.
Also the + metacharacter has been, I assume inadvertently, omitted
from the table.
Andrew Watt MVP
.
Relevant Pages
- Re: Assigning pattern matches to an array
... Graham Stow wrote: ... The pattern doesn't match an email address, but I can work on that... ... well, for one thing, the \w metacharacter doesn't match a literal. ... pulled these up plus other stuff that weren't true email addresses ... (comp.lang.perl.misc) - Re: Assigning pattern matches to an array
... The pattern doesn't match an email address, but I can work on that... ... well, for one thing, the \w metacharacter doesn't match a literal. ... don't roll your own email address regexp. ... Graham ... (comp.lang.perl.misc) - Re: Regex puzzler!
... Your small error is forgetting that the question mark is a ... metacharacter. ... See the perlre documentation. ... Your medium error is misusing the syntax of the m// pattern match ... (perl.beginners) - Re: Assigning pattern matches to an array
... Graham Stow wrote: ... The pattern doesn't match an email address, but I can work on that... ... well, for one thing, the \w metacharacter doesn't match a literal. ... perldoc Email::Address ... (comp.lang.perl.misc) |
|