1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-30 09:20:58 +01:00

Don't try to highlight 11 in Remarkup

Test Plan: 11

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5181
This commit is contained in:
vrana 2013-03-01 13:31:11 -08:00
parent 8e51764118
commit 0ff9ce6963

View file

@ -12,9 +12,9 @@ final class DiffusionRemarkupRule
$min_qualified = PhabricatorRepository::MINIMUM_QUALIFIED_HASH;
return
'(?:r[A-Z]+)?[0-9]+'.
'r[A-Z]+[1-9]\d*'.
'|'.
'(?:r[A-Z]+)?[a-f0-9]{'.$min_qualified.',40}'.
'r[A-Z]+[a-f0-9]{'.$min_qualified.',40}'.
'|'.
'[a-f0-9]{'.$min_unqualified.',40}';
}