Skip to content

Commit 8e01231

Browse files
committed
explicitly note support for <:name(/pattern/)>
1 parent 1a7a9d9 commit 8e01231

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

S05-regex.pod

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Synopsis 5: Regexes and Rules
1818
Created: 24 Jun 2002
1919

2020
Last Modified: 9 Feb 2011
21-
Version: 142
21+
Version: 143
2222

2323
This document summarizes Apocalypse 5, which is about the new regex
2424
syntax. We now try to call them I<regex> rather than "regular
@@ -1599,12 +1599,17 @@ The pair value is smartmatched against the value in the Unicode database.
15991599

16001600
<:Nv(0 ^..^ 1)> # the char has a proper fractional value
16011601

1602-
These may be combined with pluses and minuses:
1602+
As a particular case of smartmatching, TR18 section 2.6 is satisfied
1603+
with a pattern as the argument:
16031604

1604-
<+ :HexDigit - :Upper >
1605+
<:name(/^LATIN LETTER.*P$/)>
16051606

16061607
=item *
16071608

1609+
Multiple of these terms may be combined with pluses and minuses:
1610+
1611+
<+ :HexDigit - :Upper >
1612+
16081613
Terms may also be combined using C<&> for set intersection, C<|>
16091614
for set union, and C<^> for symmetric set difference. Parens may be
16101615
used for grouping. (Square brackets always quote literal characters

0 commit comments

Comments
 (0)