in reply to search and replace confusion
Your input contains:
<!-monthstart--><option value="01">January </option>\n
Your substitution looks for:
s/<!--monthstart-->.*<!--monthend-->/MONTHS<br>\n/s;
Spot the discrepancy :)
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: search and replace confusion
by jonnyfolk (Vicar) on Nov 08, 2006 at 12:07 UTC |