Skip to content

Commit

Permalink
released 1.2.1
Browse files Browse the repository at this point in the history
Added reflex::convert_flag::basic to convert BRE syntax to ERE syntax, added cvt2utf example, improvements.
  • Loading branch information
Robert-van-Engelen committed May 15, 2019
1 parent f4fab51 commit 0b3a81b
Show file tree
Hide file tree
Showing 230 changed files with 1,628 additions and 1,045 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Flex reimagined. Fast, flexible, adds Boost 💪

[RE/flex][reflex-url] is faster than Flex while providing a wealth of new
features. RE/flex is also much faster than regex libraries such as
Boost.Regex, C++11 std::regex, PCRE2 and RE2. For example, tokenizing a
Boost.Regex, C++11 std::regex, PCRE2 and RE2. For example, tokenizing a 2 KB
representative C source code file into 244 tokens takes only 13 microseconds:

<table>
Expand All @@ -32,7 +32,7 @@ representative C source code file into 244 tokens takes only 13 microseconds:
Note: *Best times of 10 tests with average time in microseconds over 100 runs
(using clang 9.0.0 with -O2, 2.9 GHz Intel Core i7, 16 GB 2133 MHz LPDDR3).
Hyperscan disqualifies as a potential scanner due to its "All matches reported"
semantics resulting in 1915 matches for his test and its event handler
semantics resulting in 1915 matches for this test, and due to its event handler
requirements.* [Download the tests](https://www.genivia.com/files/perfcomp.zip)


Expand Down Expand Up @@ -90,7 +90,7 @@ Use `reflex/bin/reflex.exe` from the command line or add a **Custom Build
Step** in MSVC++ as follows:

1. select the project name in **Solution Explorer** then **Property Pages**
from the **View** menu (see also
from the **Project** menu (see also
[custom-build steps in Visual Studio](http://msdn.microsoft.com/en-us/library/hefydhhy.aspx));

2. add an extra path to the `reflex/include` folder in the **Include
Expand All @@ -113,8 +113,8 @@ Before compiling your program with MSVC++, drag the folders `reflex/lib` and
`reflex/unicode` to the **Source Files** in the **Solution Explorer** panel of
your project. Next, run `reflex.exe` simply by compiling your project (which
may fail, but that is OK for now as long as we executed the custom build step
to run `reflex.exe`). Drag the generated `lex.yy.h` and `lex.yy.cpp` files to
the **Source Files**. Now you are all set!
to run `reflex.exe`). Drag the generated `lex.yy.h` (if present) and
`lex.yy.cpp` files to the **Source Files**. Now you are all set!

In addition, the `reflex/vs` directory contains batch scripts to build projects
with MS Visual Studio C++.
Expand Down Expand Up @@ -328,7 +328,8 @@ Use C++11 range-based loops with RE/flex iterators:
```{.cpp}
#include <reflex/stdmatcher.h> // reflex::StdMatcher, reflex::Input, std::regex
// use a StdMatcher with std::regex to to search for words in a sentence
for (auto& match : reflex::StdMatcher("\\w+", "How now brown cow.").find)
reflex::StdMatcher matcher("\\w+", "How now brown cow.");
for (auto& match : matcher.find)
std::cout << "Found " << match.text() << std::endl;
```

Expand Down Expand Up @@ -440,6 +441,7 @@ Changelog
- Mar 27, 2019: 1.1.4 fixed reflex tool common top code block insertion for all inclusive states.
- Apr 6, 2019: 1.1.5 improved reflex tool command-line option handling, updated documentation.
- Apr 29, 2019: 1.2.0 added `--bison-complete` option, new ugrep utility example, updated manual, fixes minor issues.
- May 15, 2019: 1.2.1 added `reflex::convert_flag::basic` to convert BRE syntax to ERE syntax, used by [ugrep](https://github.com/Genivia/ugrep).

[logo-url]: https://www.genivia.com/images/reflex-logo.png
[reflex-url]: https://www.genivia.com/reflex.html
Expand Down
Binary file modified bin/reflex.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions doc/html/abslexer_8h.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/absmatcher_8h.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/annotated.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/bits_8h.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/boostmatcher_8h.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/class_reflex-members.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/class_reflex.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/classes.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/classreflex_1_1_abstract_lexer-members.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/classreflex_1_1_abstract_lexer.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/classreflex_1_1_abstract_lexer_1_1_matcher.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions doc/html/classreflex_1_1_abstract_matcher-members.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0b3a81b

Please sign in to comment.