File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ Synopsis 5: Regexes and Rules
17
17
18
18
Created: 24 Jun 2002
19
19
20
- Last Modified: 8 Sep 2011
21
- Version: 146
20
+ Last Modified: 20 Sep 2011
21
+ Version: 147
22
22
23
23
This document summarizes Apocalypse 5, which is about the new regex
24
24
syntax. We now try to call them I<regex> rather than "regular
@@ -1027,6 +1027,18 @@ allow whitespace after the comma but not before, you can say:
1027
1027
1028
1028
/ <element>**[','\s*] /
1029
1029
1030
+ You may use both forms of C<**> at once by use of this special form:
1031
+
1032
+ / <expr> ** 0..* ** ',' /
1033
+
1034
+ The default is a mininum of 1 time, so when you write
1035
+
1036
+ / <stuff> ** ',' /
1037
+
1038
+ it really means
1039
+
1040
+ / <stuff ** 1..* ** ',' /
1041
+
1030
1042
=item *
1031
1043
1032
1044
Negative range values are allowed, but only when modifying a reversible
You can’t perform that action at this time.
0 commit comments