sqli module: Updated to cache the compiled regular expressions