https://metacpan.org/release/HYDAHY/perl-5.33.6
This means you can write things like S<C<\x{ FFFC }>> if you
This means you can write things like \x{ FFFC } if you
like. This applies to all such constructs, namely \b{}, \g{},
\k{}, \N{}, \o{}, and \x{}; as well as the regular
expression quantifier {m,n}. \p{} and \P{} retain their
already-existing, even looser, rules mandated by the Unicode standard
(see perluniprops/Properties accessible through \p{} and \P{}).
This ability is in effect regardless of the presence of the /x
regular expression pattern modifier.
Additionally, the comma in a regular expression braced quantifier may
have blanks (tabs or spaces) before and/or after the comma, like
qr/a{ 5, 7 }/.
George Bouras <foo@example.com> writes:[snip]
https://metacpan.org/release/HYDAHY/perl-5.33.6
This means you can write things like S<C<\x{ FFFC }>> if you... Let's remove the markup so we can see what this is about in plain
text:
Is that better?
It just means that spaces can appear inside those regular expression construct that use curly brackets.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 29:31:35 |
Calls: | 6,648 |
Calls today: | 3 |
Files: | 12,193 |
Messages: | 5,328,256 |