Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Fix whitespace around symbolsby corfuitl (Sexton) |
on Mar 19, 2015 at 08:33 UTC ( [id://1120544]=perlquestion: print w/replies, xml ) | Need Help?? |
corfuitl has asked for the wisdom of the Perl Monks concerning the following question: Hi, I have two sentences that share the same symbols (i.e. /*-) and would like to fix the whitespaces of the second sentence according the whitespaces of the first. For instance: This is a perl script/program. C'est un perl script / programme. The second senctence should be: c'est un perl script/programme. Please note that the sentence can contain lots of symbols. In that case, ideally the first should align with the first, the second with the second and so on. Can you please help me? Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|