From 42c82564aeab377640e9d3a1b6b522595ae22152 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 8 Aug 2022 23:31:36 -0400 Subject: [PATCH] spelling: reference Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- internal/code-generator/generator/heuristics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/code-generator/generator/heuristics.go b/internal/code-generator/generator/heuristics.go index 23e7239..f09bde9 100644 --- a/internal/code-generator/generator/heuristics.go +++ b/internal/code-generator/generator/heuristics.go @@ -165,7 +165,7 @@ func parseYaml(file string) (*Heuristics, error) { // - named & numbered capturing group/after text matching // - backreference // - 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 { return strings.Contains(reg, `(?<`) || strings.Contains(reg, `(?=`) || strings.Contains(reg, `(?!`) || strings.Contains(reg, `(?>`) || strings.Contains(reg, `\1`) || strings.Contains(reg, `*+`) ||