Patch #17705 » better_incoming_email_issue_id_recognition.patch
app/models/mail_handler.rb | ||
---|---|---|
145 | 145 |
private |
146 | 146 | |
147 | 147 |
MESSAGE_ID_RE = %r{^<?redmine\.([a-z0-9_]+)\-(\d+)\.\d+(\.[a-f0-9]+)?@} |
148 |
ISSUE_REPLY_SUBJECT_RE = %r{\[[^\]]*#(\d+)\]}
|
|
148 |
ISSUE_REPLY_SUBJECT_RE = %r{\[(?:[^\]]*\s+)?#(\d+)\]}
|
|
149 | 149 |
MESSAGE_REPLY_SUBJECT_RE = %r{\[[^\]]*msg(\d+)\]} |
150 | 150 | |
151 | 151 |
def dispatch |