in reply to Function call in a regular expression

Because regexes are like double quoted strings you can use hex escape or octal escapes inside them, so just write that as

$text =~ s|\xe7|c|gise;

I'm not sure if there is a way to use decimal escapes though.