Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
or$str = 'LLLLLLLLLLLLLLLLLLLOOOOOOOOOOOOO';
$str = 'LLLLLLLLLLCOOOOOOOOOOOOOOOOOOOOOO';
if($str=~/^(L+)/ or $str=~/^(L+C)/)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular expressions mystery
by soonix (Chancellor) on Jul 01, 2018 at 13:31 UTC | |
|
Re: Regular expressions mystery
by Lotus1 (Vicar) on Jul 01, 2018 at 12:53 UTC | |
by AnomalousMonk (Archbishop) on Jul 01, 2018 at 13:28 UTC | |
by Anonymous Monk on Jul 01, 2018 at 17:01 UTC | |
|
Re: Regular expressions mystery
by Anonymous Monk on Jul 01, 2018 at 11:17 UTC | |
by haj (Vicar) on Jul 01, 2018 at 18:33 UTC |