-
Bug corrected:
The grammar defining extended reg. expression was extended to support following rules:
1) if right bracket is fist in the list, it loses special meaning
2) it is possible to escape right bracket with backslash when not first in
the list
3) if backslash doesn't precede another special character, it represents
itself (loses it's special meaning)
2007-03-20 22:27:18 UTC in regular expression parser
-
You are right, in most regular expression uses the backslash to escape special characters. Just the mentioned document defines some standard (and is also the best document defining regular expressions I found).
On other side, when I tried 'POSIXLY_CORRECT' grep, I got following results:
1) if right bracket is fist in the list, it loses special meaning
2) it is possible to escape right...
2007-02-28 21:38:16 UTC in regular expression parser
-
Everything enclosed in left and right brackets is bracket expression (in bug comment mentioned as set expression). The right bracket loses it's special meaning only if it occurs first in the list (e.g. []] should match "]"). It is not possible to escape right bracket with backslash, because backslash losses it's special meaning within bracket expression as well. (see...
2007-02-14 14:16:37 UTC in regular expression parser
-
rmihal registered the regular expression parser project.
2006-11-17 17:05:04 UTC in regular expression parser
-
Added parser for regular expressions. It is possible to specify regexp expression in the regexp_parser constructor, then the parser recognizes the input according the regexp.
Also added wide char support. Now it is possible to specify input type in the same manner as for basic_string<typedef input_type>.
2005-04-27 07:19:26 UTC in Grammar to parser classes
-
New release extends the old one by new examples and by API documentation generated from source code using doxygen - stored in package grammar2parser-html.tar.gz.
The calc subproject implements mathematical calculator, suporting calculations on binary, hexadecimal and decimal numbers and using mathematical functions as declared in <math.h> C library.
2004-08-25 10:10:05 UTC in Grammar to parser classes
-
rmihal registered the Grammar to parser classes project.
2004-07-16 13:51:08 UTC in Grammar to parser classes