i am embarrassed to be stumped both by the problem and by my inability to google around it
anyhow, trying to go from, for example "2.3" to "2.03". so, i try:
s{(\d\.)(\d)}{$10$2}and obviously, the "$1" and the "0" get mushed together. i know i can do
...and many otherss{(\d)\.(\d)}{$1.0$2} s{(\d.)(\d)}{$1."0".$2}e
but my real question is, how does one separate variables from real stuff in the replacement?
e!
In reply to separating replacements by electic!mp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |