Popularity
2.4
Growing
Activity
0.0
Stable
65
20
12
Code Quality Rank:
L5
Programming language: C++
License: GNU General Public License v3.0 or later
Tags:
Miscellaneous
QtVerbalExpressions alternatives and similar libraries
Based on the "Miscellaneous" category.
Alternatively, view QtVerbalExpressions alternatives based on common mentions on social networks and blogs.
-
RE2
RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library. -
UNITS
a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies. -
cxx-prettyprint
A header-only library for C++(0x) that allows automagic pretty-printing of any container. -
#<Sawyer::Resource:0x00007f0922b58ba0>
Modern documentation for modern C++. Configure with YAML, output Markdown, post-process with Material for MkDocs.
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
Promo
getstream.io

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of QtVerbalExpressions or a related project?
README
QtVerbalExpressions
Qt Regular Expressions made easy
This Qt lib is based off of the C++ VerbalExpressions library by whackashoe.
Testing if we have a valid URL
auto expression = QVerbalExpressions()
.searchOneLine()
.startOfLine()
.then("http")
.maybe("s")
.then("://")
.maybe("www.")
.anythingBut(" ")
.endOfLine();
qDebug()
<< expression // ^(?:http)(?:s)?(?:://)(?:www.)?(?:[^ ]*)$
<< expression.test("https://www.google.com"); // true
API
Terms
- .anything()
- .anythingBut(const QString& value)
- .something()
- .somethingBut(const QString& value)
- .endOfLine()
- .find(const QString& value)
- .maybe(const QString& value)
- .startOfLine()
- .then(const QString& value)
Special characters and groups
- .any(const QString& value)
- .anyOf(const QString& value)
- .br()
- .lineBreak()
- .range(const std::initializer_list& args)
- .tab()
- .word()
Modifiers
- .withAnyCase()
- .searchOneLine()
- .searchGlobal()
Functions
- .replace(const QString& source, const QString& value)
- .test()
Other
- .add(expression)
- .multiple(const QString& value)
- .alt()