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
F15419335: D12123.id.diff
Fri, Mar 21, 5:24 AM
F15381195: D12123.id29149.diff
Mar 14 2025, 6:25 AM
F15373446: D12123.id29171.diff
Mar 12 2025, 4:09 PM
Unknown Object (File)
Feb 25 2025, 4:17 AM
Unknown Object (File)
Feb 8 2025, 3:08 AM
Unknown Object (File)
Feb 8 2025, 3:08 AM
Unknown Object (File)
Feb 8 2025, 3:08 AM
Unknown Object (File)
Feb 8 2025, 3:08 AM
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
Branch
hash1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 4937
Build 4955: [Placeholder Plan] Wait for 30 Seconds

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.