diff --git a/doc/Attic/syntax_perl.html b/doc/Attic/syntax_perl.html index eeb0b273..ce32eea8 100644 --- a/doc/Attic/syntax_perl.html +++ b/doc/Attic/syntax_perl.html @@ -132,6 +132,14 @@ aaaa

Parenthesis can be used to group alternations, for example: ab(d|ef) will match either of "abd" or "abef".

+

Empty alternatives are not allowed (these are almost always a mistake), + but if you really want an empty alternative use (?:) as a placeholder, for + example:

+
+

"|abc" is not a valid expression, but
+ "(?:)|abc" is and is equivalent, also the expression:
+ "(?:abc)??" has exactly the same effect.

+

Character sets:

A character set is a bracket-expression starting with [ and ending with ], it defines a set of characters, and matches any single character that is a member @@ -169,7 +177,7 @@ aaaa

matches a NUL character.

Equivalence classes:

- An expression of theform[[=col=]], matches any character or collating element + An expression oftheform[[=col=]], matches any character or collating element whose primary sort key is the same as that for collating element col, as with colating elements the name col may be a symbolic name.  A primary sort key is one that ignores case, diff --git a/doc/syntax_perl.html b/doc/syntax_perl.html index eeb0b273..ce32eea8 100644 --- a/doc/syntax_perl.html +++ b/doc/syntax_perl.html @@ -132,6 +132,14 @@ aaaa

Parenthesis can be used to group alternations, for example: ab(d|ef) will match either of "abd" or "abef".

+

Empty alternatives are not allowed (these are almost always a mistake), + but if you really want an empty alternative use (?:) as a placeholder, for + example:

+
+

"|abc" is not a valid expression, but
+ "(?:)|abc" is and is equivalent, also the expression:
+ "(?:abc)??" has exactly the same effect.

+

Character sets:

A character set is a bracket-expression starting with [ and ending with ], it defines a set of characters, and matches any single character that is a member @@ -169,7 +177,7 @@ aaaa

matches a NUL character.

Equivalence classes:

- An expression of theform[[=col=]], matches any character or collating element + An expression oftheform[[=col=]], matches any character or collating element whose primary sort key is the same as that for collating element col, as with colating elements the name col may be a symbolic name.  A primary sort key is one that ignores case,