Skip to content

Commit

Permalink
2.0.0: Additional syntax features for the regex parser
Browse files Browse the repository at this point in the history
\xhh, \uhhhh to escape special characters.
Range repeats for regular expression, like a{3}, a{4,}, a{4,7}.
  • Loading branch information
Harald Kirsch committed Feb 7, 2016
1 parent ec8063c commit 6485d90
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 4 deletions.
20 changes: 20 additions & 0 deletions Documentation/RELNOTES
@@ -1,3 +1,23 @@
VERSION 2.0.0

Added two new syntax features to the regular expression parser.

1) \xhh and \uhhhh with 2 or 4 hex digits is now understood as the
respective unicode character.

2) The syntax (re){low,high} or (re){count} or (re){low,} is now
understood. Use with care, though, with high numbers, since for a Dfa,
the re is duplicated as many times as needed, since a Dfa cannot
count.

In particular (2) is an imcompatible change, since '{' now has a
special meaning which changes the meaning of available regular
expressions.

For more about the new syntax see:
http://haraldki.github.io/monqjfa/monqApiDoc/monq/jfa/doc-files/resyntax.html


VERSION 1.7.1

Removed dependency on XStream to read in a single configuration
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -23,7 +23,7 @@ For some recent blog entry of how the speed improved recently, read
http://pifpafpuf.de/2015-11/generated-index.html

Javadoc: http://haraldki.github.io/monqjfa/monqApiDoc/

regular expression syntax: http://haraldki.github.io/monqjfa/monqApiDoc/monq/jfa/doc-files/resyntax.html
test-coverage: http://haraldki.github.io/monqjfa/monq-test-coverage/

Design ©2007--2016 by [Harald Kirsch](mailto:pifpafpuf@gmx.de)
Expand Down
8 changes: 5 additions & 3 deletions build.xml
Expand Up @@ -93,12 +93,13 @@
Windowtitle="monq packages"
Header="monq-${version}"
Bottom="<div class="monqlink">download: <a href='https://pifpafpuf.de/Monq.jfa/download' target='_top'>pifpafpuf.de</a><br/>home page: <a href="http://pifpafpuf.de/Monq.jfa/" target='_top'>pifpafpuf.de/Monq.jfa</a></div>"
Overview="src/monq/overview.html"
Overview="src/java/monq/overview.html"
additionalparam="-quiet"
verbose="false"
use="true"
>
<packageset dir="src">
<arg value="-Xdoclint:all,-missing"/>
<packageset dir="src/java">
<include name="monq/**"/>
<!-- packageset just creates package names doc-files is no package -->
<exclude name="**/doc-files"/>
Expand Down Expand Up @@ -141,6 +142,7 @@
</copy>
</target>
<!-- *************************************************************** -->

<target name="package" depends="jar, apidocjar, tutorial">
</target>
</project>

0 comments on commit 6485d90

Please sign in to comment.