Everything goes well until $s contains utf8 characters then all characters following an utf8 one is also upper case. Is there a way to make \b aware of utf8 characters ? Is there another regexp to make the same processing but without messing up strings containing utf8 ? Regards, Frederic.$s = "word1 word2 word3"; $s =~ s/\b([A-Za-z]+)\b/\u\L$1/g
In reply to regexp on utf8 string by fredvdv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |