You can also do it this way.
$s = "\xe7abc\xe7"; $s =~ s[@{[chr 231]}][X]g; print $s; XabcX
In reply to Re: Function call in a regular expression
by BrowserUk
in thread Function call in a regular expression
by mdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |