Popularity
2.4
Growing
Activity
0.0
Stable
57
21
11
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.
-
ZXing
ZXing ("Zebra Crossing") barcode scanning library for Java, Android -
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. -
ZBar
Clone of the mercurial repository http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar -
American fuzzy lop
american fuzzy lop - a security-oriented fuzzer -
Serial Communication Library
Cross-platform, Serial Port library written in C++ -
Better Enums
C++ compile-time enum to string, iteration, in a single header file -
c-smart-pointers
Smart pointers for the (GNU) C programming language -
Mach7
Functional programming style pattern-matching library for C++ -
Experimental Boost.DI
DI: C++14 Dependency Injection Library -
UNITS
a compile-time, header-only, dimensional analysis and unit conversion library built on c++14 with no dependencies. -
constexpr-8cc
Compile-time C Compiler implemented as C++14 constant expressions -
cxx-prettyprint
A header-only library for C++(0x) that allows automagic pretty-printing of any container. -
outcome
Provides very lightweight outcome<T> and result<T> (non-Boost edition) -
libcpuid
a small C library for x86 CPU detection and feature extraction -
CppVerbalExpressions
C++ regular expressions made easy -
kangaru
🦘 A dependency injection container for C++11, C++14 and later -
value-category-cheatsheet
A C++14 cheat-sheet on lvalues, rvalues, xvalues, and more -
casacore
Suite of C++ libraries for radio astronomy data processing -
neither
Either and Maybe monads for better error-handling in C++ ↔️ -
ub-canaries
collection of C/C++ programs that try to get compilers to exploit undefined behavior -
StrTk
C++ String Toolkit Library https://www.partow.net/programming/strtk/index.html -
access_profiler
a tool to count accesses to member variables in c++ programs -
FastFormat
The fastest, most robust C++ formatting library -
libsigc++
A typesafe callback system for standard C++. [LGPL] -
cppq
Simple, reliable & efficient distributed task queue for C++17 -
CommonPP
Small library helping you with basic stuff like getting metrics out of your code, thread naming, etc.
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
Promo
www.influxdata.com
* 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()