in reply to Re: uc and German eszett "ß" (Unicode standard)
in thread uc and German eszett "ß"
//i is equally acceptable.
That's why qr/(?<=ss)x/ui fails in versions of Perl without experimental (and buggy) variable look-behinds. /u is added by use feature qw( unicode_strings ); since 5.14, and thus by use v5.14; and higher.
Also,
$ perl -Mre=debug -e'qr/[abc\xDF]/ui' Compiling REx "[abc\xDF]" ~ tying lastbr BRANCH (4) to ender TAIL (15) offset 11 ~ tying lastbr BRANCH (1) to ender END (16) offset 15 Final program: 1: BRANCH (4) 2: EXACTFUP <ss> (16) 4: BRANCH (FAIL) 5: ANYOF[ABCabc] (16) 15: TAIL (16) 16: END (0) minlen 1 Freeing REx: "[abc\xDF]"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: uc and German eszett "ß" (Unicode standard)
by LanX (Saint) on Feb 04, 2022 at 17:08 UTC | |
by ikegami (Patriarch) on Feb 05, 2022 at 22:04 UTC | |
by LanX (Saint) on Feb 05, 2022 at 22:13 UTC | |
by ikegami (Patriarch) on Feb 06, 2022 at 05:02 UTC |