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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Fix whitespace around symbols
by Corion (Patriarch) on Mar 19, 2015 at 08:42 UTC | |
by corfuitl (Sexton) on Mar 20, 2015 at 14:49 UTC | |
by Corion (Patriarch) on Mar 20, 2015 at 15:00 UTC | |
by corfuitl (Sexton) on Mar 23, 2015 at 08:34 UTC | |
by Corion (Patriarch) on Mar 23, 2015 at 08:45 UTC | |
| |
|
Re: Fix whitespace around symbols
by Anonymous Monk on Mar 19, 2015 at 08:38 UTC |