in reply to Re: Regex delimiter
in thread Regex delimiter

You just need to ensure that the character encoding is correctly treated in your source. eg:

$ perl -Mutf8 -e 'print "Yes\n" if "a" =~ m§a§;'
Yes
$

See the docs for the utf8 pragma for more info on that. If your source is in some other encoding, now might be an excellent time to switch.

Replies are listed 'Best First'.
Re^3: Regex delimiter
by toohoo (Beadle) on Jun 13, 2019 at 09:37 UTC

    Hello hippo,

    It's not what I expected, but thanks for the hint. For some circumstances this would take me little bit more effort. But may be I will find some character I can use in the short way.

    regards and have a nice day