[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: lex 1.0.1 has been released; A C++ library for Lua style pattern matching
- From: "Jasper Klein" <jasper@...>
- Date: Sat, 26 Dec 2020 20:26:58 +0100
I've released version 1.0.1 of my library called lex  which is a C++ library for Lua style pattern matching.
Lex provides the match and gsub functions and supports iteration with a gmatch like style.
These functions can accept all kinds of string types such as std::string, std::string_view, character arrays and pointers.
All of these can be based on the character types as defined by C++17.
Besides some internal details the following has been changed since the previous release:
- Reduced the size of a match result object by optimizing it for patterns with up to 2 captures.