This is my old "replace what you don't want replaced by itself, and anything else by whatever you want there instead" trick.$text =~ s/( )|\S/$1 || "."/ge;
In reply to Re: Blanks with pre tag exceptions
by bart
in thread Blanks with pre tag exceptions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |