From 783ae2ad107585a331d07e3402a109b88df6a808 Mon Sep 17 00:00:00 2001 From: Aadhavan Srinivasan Date: Sat, 1 Feb 2025 11:06:26 -0500 Subject: [PATCH] Updated call to 'isValid' with call to 'IsValid' --- regex/re_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regex/re_test.go b/regex/re_test.go index 48be8a3..ce2ed69 100644 --- a/regex/re_test.go +++ b/regex/re_test.go @@ -779,7 +779,7 @@ func TestFindAllSubmatch(t *testing.T) { matchIndices := regComp.FindAllSubmatch(test.str) for i := range matchIndices { for j := range matchIndices[i] { - if matchIndices[i][j].isValid() { + if matchIndices[i][j].IsValid() { if test.result[i][j] != matchIndices[i][j] { t.Errorf("Wanted %v Got %v\n", test.result, matchIndices) }