s/^(.{21})D/$1X/;
does not work, while thiss/^(?<=.{21})D/X/;
does (but donīt use this, itīs unsafe)?s/(?<=.{21})D/X/;
In reply to Re^2: Replacing characters in a line
by holli
in thread Replacing characters in a line
by Becky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |