Skip to content

Commit 4ec52e3

Browse files
committed
got & and | backwards; note precedence is "normal"
1 parent a99b93d commit 4ec52e3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

S05-regex.pod

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Synopsis 5: Regexes and Rules
1717

1818
Created: 24 Jun 2002
1919

20-
Last Modified: 8 Feb 2011
21-
Version: 141
20+
Last Modified: 9 Feb 2011
21+
Version: 142
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
@@ -1602,11 +1602,14 @@ These may be combined with pluses and minuses:
16021602

16031603
=item *
16041604

1605-
Terms may also be combined using C<|> for set intersection, C<&>
1605+
Terms may also be combined using C<&> for set intersection, C<|>
16061606
for set union, and C<^> for symmetric set difference. Parens may be
16071607
used for grouping. (Square brackets always quote literal characters
16081608
(including backslashed literal forms), and may not be nested, unlike
1609-
the suggested notation in TR18 section 1.3.)
1609+
the suggested notation in TR18 section 1.3.) The precedence of
1610+
the operators is the same as the correspondingly named operators in
1611+
L<S03/Operator precedence>, even though they have somewhat different
1612+
semantics.
16101613

16111614
=item *
16121615

0 commit comments

Comments
 (0)