XP is just a number | |
PerlMonks |
Re: Re: Regex to add space after punctuation signby dda (Friar) |
on Jan 08, 2004 at 09:52 UTC ( [id://319767]=note: print w/replies, xml ) | Need Help?? |
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
|
|