diff --git a/Sources/Regex.swift b/Sources/Regex.swift index c4e08dc..843db2b 100644 --- a/Sources/Regex.swift +++ b/Sources/Regex.swift @@ -71,7 +71,7 @@ class Regex { var matches: [NSTextCheckingResult] = [] - let limit = 300000 + let limit = 1000000 if string.count > limit { string.split(by: limit).forEach {