r82797 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82796‎ | r82797 | r82798 >
Date:15:57, 25 February 2011
Author:reedy
Status:ok
Tags:
Comment:
Followup r82792, add back the case insensitive modifier (typically, the one I copied was the only one that wasn't case insensitive!)
Modified paths:
  • /trunk/extensions/CodeReview/backend/CodeRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/backend/CodeRevision.php
@@ -8,7 +8,7 @@
99 * Examples:
1010 * bug 1234, bug1234, bug #1234, bug#1234
1111 */
12 - const BugReference = '/\bbug ?#?(\d+)\b/';
 12+ const BugReference = '/\bbug ?#?(\d+)\b/i';
1313
1414 /**
1515 * @var CodeRepository

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82792Per r82788, factor out bug matching regexreedy13:08, 25 February 2011

Status & tagging log