$ echo hallöle | perl -nE 'BEGIN{binmode STDIN, ":utf8"} say "ok" if /hall[[:alpha:]]le/' ok