Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Yip <miloyip@gmail.com>2016-01-31 20:38:47 +0300
committerMilo Yip <miloyip@gmail.com>2016-01-31 20:38:47 +0300
commit8876d9e6d5bf7af42da219d1de17bef8f6be2785 (patch)
tree944767bf97f23bf8fce1d210fbff901d98187629 /include
parent4daade9218150e9faa0853aa8bd350a204d539e4 (diff)
Fix regex doc [ci skip]
Diffstat (limited to 'include')
-rw-r--r--include/rapidjson/internal/regex.h4
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 {