From bc7767728d0e5d96c1390296726c6dde892a9974 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Mon, 8 Aug 2022 23:31:38 -0400 Subject: [PATCH] spelling: syntax 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 f09bde9..b226b8b 100644 --- a/internal/code-generator/generator/heuristics.go +++ b/internal/code-generator/generator/heuristics.go @@ -173,7 +173,7 @@ func isUnsupportedRegexpSyntax(reg string) bool { (strings.HasPrefix(reg, multilinePrefix+`/`) && strings.HasSuffix(reg, `/`)) } -// convertToValidRegexp converts Ruby regexp syntaxt to RE2 equivalent. +// convertToValidRegexp converts Ruby regexp syntax to RE2 equivalent. // Does not work with Ruby regexp literals. func convertToValidRegexp(rubyRegexp string) string { return multilinePrefix + rubyRegexp