Fixed a small bug in the regex code. Also updated the messages that are
sent to Redmine.