in reply to Search for a character in CAPS
which will match a string of characters (uppercase or lowercase) or$agent =~ m/[A-Za-z]*/;
Which will match the strings "PerlBeginner" and "PerlBeginnerPerl".$agent =~ m/PerlBeginner(Perl)?/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Search for a character in CAPS
by particle (Vicar) on Mar 07, 2002 at 15:01 UTC |