in reply to Regex: not the trailing whitespace
my ($prefix, $content) = $line =~ / ^ \s* ([*#]+:?) \s* (.*?) \s* $ /x
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regex: not the trailing whitespace
by John M. Dlugosz (Monsignor) on Apr 23, 2011 at 06:51 UTC |