Help for this page
s/\b(find)\b/$1 eq uc($1) ? "REPL" : $1 eq ucfirst(lc($1)) ? "Repl" : +"repl"/gie
my %repl = ( find => 'repl', ... Find => 'Repl', ); s/\b(find)\b/$repl{$1}||$repl{lc $1}/gie