HFJ-147: Fixed regexp escaping problem, and improved feedback when regexp does not match (drupal_set_message)