qsl has asked for the wisdom of the Perl Monks concerning the following question:
$line = "| br_summer | schedule active |"; $str="br_summer"; if($line =~ /^|\s$str /){ print"Line is $line\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular Expresson How to Match
by davorg (Chancellor) on Jun 27, 2006 at 15:56 UTC | |
|
Re: Regular Expresson How to Match
by davido (Cardinal) on Jun 27, 2006 at 16:00 UTC | |
|
Re: Regular Expresson How to Match
by swampyankee (Parson) on Jun 27, 2006 at 16:06 UTC | |
|
Re: Regular Expresson How to Match
by ptum (Priest) on Jun 27, 2006 at 16:02 UTC | |
|
Re: Regular Expresson How to Match
by qsl (Scribe) on Jun 27, 2006 at 16:01 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |