|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re: Re: Regex to add space after punctuation signby dda (Friar) |
| on Jan 08, 2004 at 04:52 UTC ( [id://319767]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Thank you, Abigail. Can you please explain how does the replacement part of your expression work? If I understand correctly, /e evaluates $1 || "$2 " -- that way if $1 is not empty, it should not add second part?
--dda
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||