bug fix for the regex functionality