Reset the regex between scans