diff --git a/src/applications/differential/parser/commitmessage/DifferentialCommitMessage.php b/src/applications/differential/parser/commitmessage/DifferentialCommitMessage.php index 1268a415e4..dcc62b47b7 100755 --- a/src/applications/differential/parser/commitmessage/DifferentialCommitMessage.php +++ b/src/applications/differential/parser/commitmessage/DifferentialCommitMessage.php @@ -303,7 +303,7 @@ class DifferentialCommitMessage { $field_names[$key] = preg_quote($name, '/'); } $field_names = implode('|', $field_names); - $field_pattern = '/^(?'.$field_names.'):(?.*)$/i'; + $field_pattern = '/^(?P'.$field_names.'):(?P.*)$/i'; foreach ($field_spec as $key => $value) { $field_spec[strtolower($key)] = $value;