diff --git a/vlib/regex/regex.v b/vlib/regex/regex.v index 1b1210cedc..e733b0630b 100644 --- a/vlib/regex/regex.v +++ b/vlib/regex/regex.v @@ -326,7 +326,7 @@ pub mut: // Debug/log debug int // enable in order to have the unroll of the code 0 = NO_DEBUG, 1 = LIGHT 2 = VERBOSE log_func FnLog = simple_log // log function, can be customized by the user - query string = "" // query string + query string // query string } // Reset RE object diff --git a/vlib/regex/regex_test.v b/vlib/regex/regex_test.v index e0b93c732c..a175fc37b8 100644 --- a/vlib/regex/regex_test.v +++ b/vlib/regex/regex_test.v @@ -141,8 +141,8 @@ match_test_suite_re = [ struct TestItemCGroup { src string q string - s int = 0 - e int = 0 + s int + e int cg []int cgn map[string]int }