in reply to Re^2: Preserve original text formatting.
in thread Preserve original text formatting.
You can use a character class instead of a sequence. eg:
$ perl -MTest::More -e 'ok (/\b\p{XPosixAlpha}+\b/, "$_ matches") for +(qw/A Z Å Ä Ö/); done_testing();' ok 1 - A matches ok 2 - Z matches ok 3 - Å matches ok 4 - Ä matches ok 5 - Ö matches 1..5 $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
| A reply falls below the community's threshold of quality. You may see it by logging in. |