From fd908c349c05a65aff579f20c8d0f64663f97137 Mon Sep 17 00:00:00 2001 From: John Millaway Date: Sat, 25 Mar 2006 19:03:04 +0000 Subject: Added extended, perl-compatible comment syntax. Added test for extended comment syntax. Documented extended comment syntax. --- doc/flex.texi | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc/flex.texi') 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 -- cgit v1.2.3