Allow using colon in Depends On
Test Plan: Used it. Reviewers: epriestley Reviewed By: epriestley CC: tdrhq, aran, Korvin Differential Revision: https://secure.phabricator.com/D6705
This commit is contained in:
@@ -85,7 +85,7 @@ abstract class DifferentialFreeformFieldSpecification
|
||||
|
||||
$matches = null;
|
||||
preg_match_all(
|
||||
'/\b(?i:depends\s+on)\s+D(\d+(,\s+D\d++)*)\b/',
|
||||
'/\b(?i:depends\s+on):?\s+D(\d+(,\s+D\d++)*)\b/',
|
||||
$message,
|
||||
$matches);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user