summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJohn Millaway <john43@users.sourceforge.net>2006-03-25 19:03:04 +0000
committerJohn Millaway <john43@users.sourceforge.net>2006-03-25 19:03:04 +0000
commitfd908c349c05a65aff579f20c8d0f64663f97137 (patch)
tree620acd86ba10f66add71c7224b5f82f7a673b3a8 /doc
parentcc60b503d2a24f3587551c4fa27d93d9d266f835 (diff)
Added extended, perl-compatible comment syntax.
Added test for extended comment syntax. Documented extended comment syntax.
Diffstat (limited to 'doc')
-rw-r--r--doc/flex.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/flex.texi b/doc/flex.texi
index 97d2275..f4ad42a 100644
--- a/doc/flex.texi
+++ b/doc/flex.texi
@@ -746,6 +746,11 @@ the character with hexadecimal value 2a
@item (r)
match an @samp{r}; parentheses are used to override precedence (see below)
+@item (?# comment )
+omit everything within @samp{()}. The first @samp{)}
+character encountered ends the pattern. It is not possible to for the comment
+to contain a @samp{)} character. The comment may span lines.
+
@cindex concatenation, in patterns
@item rs
the regular expression @samp{r} followed by the regular expression @samp{s}; called