Fixing like to regular expression function.