diff options
Diffstat (limited to 'src/regex/test_regex.c')
-rw-r--r-- | src/regex/test_regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regex/test_regex.c b/src/regex/test_regex.c index 4c08c7c53a..65c9e6c17c 100644 --- a/src/regex/test_regex.c +++ b/src/regex/test_regex.c @@ -75,6 +75,8 @@ test_random (unsigned int rx_length, unsigned int max_str_len, unsigned int str_ rand_rxp = rand_rx; matching_strp = matching_str[0]; + current_char = 0; + last_was_op = 1; // Generate random regex and a string that matches the regex for (i=0; i<rx_length; i++) |