Jflex 1.5.0
Released 2014-03-23
- the "switch" and "table" code generation options are deprecated
and will be removed in JFlex 1.6 - the JFlex license has been changed from GPL to BSD.
- updated JFlex to CUP version 0.11a.
- changed the build from Ant to Maven. 523d7a9
- JFlex now mostly conforms with Unicode Regular Expressions UTS#18
Basic Unicode Support - Level 1. Supplementary code points (above
the Basic Multilingual Plane) are not yet supported. - new meta characters supported:
\s, \S, \d, \D, \w, \W
. - nested character sets now supported, e.g.
[[[ABC]D]E[FG]]
- new character set operations supported: union (e.g.
[A||B]
), intersection (e.g.
[A&&B]
), set-difference (e.g.[A--B]
), and symmetric difference (e.g.[A~~B]
). - the meaning of the dot (".") meta character has been changed from
[^\n]
to
[^\n\r\u000B\u000C\u0085\u2028\u2029]
. Use the new--legacydot
option to
cause "." to be interpreted as[^\n]
. - new
\R
meta character matches any newline:
"\r\n" | [\n\r\u000B\u000C\u0085\u2028\u2029]
. - new option --noinputstreamctor to not include an InputStream
constructor in the generated scanner. - %include can now be used in the rules section (#117)
- yychar and zzAtBOL should be reset for nested input streams (#107 & #108 )
- fixed bug #109 (could not match input for empty string matches.)
- fixed bug #112 & #119 (properly update zzFin when reallocating zzBuffer)
- fixed bug #115 (noncompileable scanner generation when default locale is Turkish)
- fixed bug #114 (zzEOFDone not included with pushed nested stream state)
- fixed bug #105 (can't build examples/java/)
- fixed bug #106 (impossible char class range should trigger syntax error)