The fast scanner generator for Java™ with full Unicode support
JFlex 1.9.1 is a small bugfix release:
[^\s\n]
were translated incorrectly, because \s
and \n
overlap and the negation operator ^
in version 1.9.0 did not handle this case correctly.JFlex 1.9.0 is a feature release with slight performance improvements in the scanning engine. It also fixes all known bugs of version 1.8.2.
@SuppressWarnings
(#1027, #762)%yylexthrow
(#794)createTempDir()
(was used in tests only)More comprehensive list in milestone 1.9.0
JFlex 1.8.2 is a small bugfix release. There are no new features.
%7bit
scanners from being generated (#756)%eof{
and %eofthrow{
code generation (#743)More detailed list of changes in milestone 1.8.2
JFlex 1.8.1 is a small maintenance release. There are no new features or bug fixes. The only change is
More detailed list of changes in milestone 1.8.1
yychar
type has been changed from int
to long
in order to support large files (> 2GB) (#605)@SuppressWarnings("FallThrough")
on generated lexer #454yyatEOF()
in generated scanner API (#644)|
now works for <<EOF>>
(#201)#include
file time stamp (#694)^
operator is used (#682)--dump
output more comparable. (#650)!
operator that in rare circumstances would match not everything covered by the negation (#567)..
expression now does not match unpaired surrogates, since these are not characters. (#544)LexGenerator
API. #428 #448CharSet
#480@AutoValue
#505See all changes in milestone 1.8.0
Released 2014-03-23
\s, \S, \d, \D, \w, \W
.[[[ABC]D]E[FG]]
[A||B]
), intersection (e.g.
[A&&B]
), set-difference (e.g. [A--B]
), and symmetric difference (e.g. [A~~B]
).[^\n]
to
[^\n\r\u000B\u000C\u0085\u2028\u2029]
. Use the new --legacydot
option to
cause "." to be interpreted as [^\n]
.\R
meta character matches any newline:
"\r\n" | [\n\r\u000B\u000C\u0085\u2028\u2029]
.--inputstreamctor
has been removed (#195)--version
or --info
or --help
now exits with error code 0 (#194)--encoding
option to specify input/output encoding (#164)Released 2014-06-21
%unicode
mode, supplementary code points are now handled properly.
\u{...}
escape sequence allows code points (and whitespace-separated
sequences of code points) to be specified as 1-6 hexadecimal digit values.\uXXXX
) when they are outside the range 32..127.--noinputstreamctor
deprecated.
By default no InputStream constructor is included in the generated
scanner. The capability to include one is deprecated and will be
removed in JFlex 1.7.Released 2015-03-16
1.6.1 is a maintenance release, fixing all known defects.
Changelog:
--warn-unused
and --no-warn-unused
that control warnings about unused macros.%apiprivate
and %cup2
switches now no longer incompatibleEOF
and caused non-termination.
Now EOF
is counted as the highest-priority empty match.