|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^3: How to substitute something from only between two specified charecters (sub_question)by wind (Priest) |
| on Jun 29, 2011 at 19:37 UTC ( [id://912020]=note: print w/replies, xml ) | Need Help?? |
|
I wrote the regex that way to have an explicit boundary between the second field and the spacing separating it from the third field. I didn't want to eat any extra spacing. I could have accomplished this in one of three ways:
In the end, the third method above would probably appear the cleanest, but they all accomplish the same thing in the context of the rest of the regex.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||