Page MenuHomePhabricator

Fix matching of very short project hashtags ending in a digit
ClosedPublic

Authored by epriestley on Mar 21 2015, 11:38 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 8, 1:42 PM
Unknown Object (File)
Thu, Apr 4, 5:59 PM
Unknown Object (File)
Feb 28 2024, 12:47 PM
Unknown Object (File)
Feb 13 2024, 9:17 AM
Unknown Object (File)
Feb 11 2024, 9:01 PM
Unknown Object (File)
Feb 9 2024, 10:25 AM
Unknown Object (File)
Feb 3 2024, 8:17 PM
Unknown Object (File)
Feb 3 2024, 6:47 PM
Subscribers

Details

Summary

Fixes T7625. The way the regexp worked, "unusual" terminal characters required at least one character as a prefix in order to match. Allow 0 instead, so #a1 matches.

Test Plan

Added and executed unit test.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix matching of very short project hashtags ending in a digit.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Mar 23 2015, 3:45 PM
This revision was automatically updated to reflect the committed changes.