mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-08-08 09:07:54 +00:00
spelling: reference
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -165,7 +165,7 @@ func parseYaml(file string) (*Heuristics, error) {
|
|||||||
// - named & numbered capturing group/after text matching
|
// - named & numbered capturing group/after text matching
|
||||||
// - backreference
|
// - backreference
|
||||||
// - possessive quantifier
|
// - possessive quantifier
|
||||||
// For referece on supported syntax see https://github.com/google/re2/wiki/Syntax
|
// For reference on supported syntax see https://github.com/google/re2/wiki/Syntax
|
||||||
func isUnsupportedRegexpSyntax(reg string) bool {
|
func isUnsupportedRegexpSyntax(reg string) bool {
|
||||||
return strings.Contains(reg, `(?<`) || strings.Contains(reg, `(?=`) || strings.Contains(reg, `(?!`) ||
|
return strings.Contains(reg, `(?<`) || strings.Contains(reg, `(?=`) || strings.Contains(reg, `(?!`) ||
|
||||||
strings.Contains(reg, `(?>`) || strings.Contains(reg, `\1`) || strings.Contains(reg, `*+`) ||
|
strings.Contains(reg, `(?>`) || strings.Contains(reg, `\1`) || strings.Contains(reg, `*+`) ||
|
||||||
|
Reference in New Issue
Block a user