diff options
author | Milo Yip <miloyip@gmail.com> | 2016-01-31 20:38:47 +0300 |
---|---|---|
committer | Milo Yip <miloyip@gmail.com> | 2016-01-31 20:38:47 +0300 |
commit | 8876d9e6d5bf7af42da219d1de17bef8f6be2785 (patch) | |
tree | 944767bf97f23bf8fce1d210fbff901d98187629 /include | |
parent | 4daade9218150e9faa0853aa8bd350a204d539e4 (diff) |
Fix regex doc [ci skip]
Diffstat (limited to 'include')
-rw-r--r-- | include/rapidjson/internal/regex.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rapidjson/internal/regex.h b/include/rapidjson/internal/regex.h index 8d48b66a..edcb9743 100644 --- a/include/rapidjson/internal/regex.h +++ b/include/rapidjson/internal/regex.h @@ -70,6 +70,10 @@ static const SizeType kRegexInvalidRange = ~SizeType(0); - \c \\r Carriage return (U+000D)
- \c \\t Tab (U+0009)
- \c \\v Vertical tab (U+000B)
+
+ \note This is a Thompson NFA engine, implemented with reference to
+ Cox, Russ. "Regular Expression Matching Can Be Simple And Fast (but is slow in Java, Perl, PHP, Python, Ruby,...).",
+ https://swtch.com/~rsc/regexp/regexp1.html
*/
template <typename Encoding, typename Allocator = CrtAllocator>
class GenericRegex {
|