From 08e1b05fdeffaf4e355bc3001348630ac9909eee Mon Sep 17 00:00:00 2001 From: Maximilian Szengel Date: Mon, 9 Apr 2012 14:56:10 +0000 Subject: fixes --- src/regex/test_regex.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/regex/test_regex.c') diff --git a/src/regex/test_regex.c b/src/regex/test_regex.c index 4c08c7c53..65c9e6c17 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