mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2024-12-27 09:58:08 +01:00
11adaba410
- New regexp parser using Boost.Spirit. Lex and yacc are now gone. The main advantage of this new parser, apart from being purely C++, is that it can handle wide characters. Currently, the new parser does the same as the previous one, but the code is not yet ready to use regular expressions with non-ASCII dictionaries.
22 lines
263 B
Text
22 lines
263 B
Text
x a.* 50
|
|
x a.* 200
|
|
x .*a.*e.*i.*o.*u.* 50 10
|
|
x .*a.*e.*i.*o.*u.* 50 13
|
|
x .*a.*e.*i.*o.*u.* 50 13 13
|
|
x .*hop.* 50
|
|
x a.*b 50
|
|
x [abc].*b
|
|
x [abc]*b
|
|
x [abc]*.b
|
|
x .*(cba)*b
|
|
x .*(cba)+b
|
|
x .*(nn)+.*
|
|
x .*(nn)+.*x 200
|
|
x ne.
|
|
x ne:v:
|
|
x ne:v:?
|
|
x ne:c:s
|
|
x (ass)+..
|
|
x c:v:+p
|
|
q
|
|
|