Added and updated the Regex Handler for the preprocessor.