Think about Loose Coupling | |
PerlMonks |
Re: conditional regexby merlyn (Sage) |
on Aug 22, 2010 at 16:22 UTC ( [id://856599]=note: print w/replies, xml ) | Need Help?? |
/y(es)?/i which matches ys or ye also,No it doesn't. The "es" is optional, so it matches "y" or "yes". Never "ye" or "ys". -- Randal L. Schwartz, Perl hacker The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
In Section
Seekers of Perl Wisdom
|
|