Fixes T8038. Allow PhabricatorCustomFieldMonogramParser to handle "and". This means that Ref Tx, Ty and Tz will correctly return array('monograms' => array('Tx', 'Ty', 'Tz').
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Maniphest Tasks
- Restricted Maniphest Task
Restricted Maniphest Task
Restricted Maniphest Task
T8038: "Ref" syntax doesn't support "and" - Commits
- Restricted Diffusion Commit
rP6bebb3c69a07: Add "and" support to "ref"
Added unit tests.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 5717 Build 5736: [Placeholder Plan] Wait for 30 Seconds
Event Timeline
Comment Actions
I'd maybe expect this to be:
- ...[,\s]*... + ...(?:,|\s|and)*...
That will allow T1, and,, and and, and T2, but that seems fine.
Comment Actions
It's not caused by this diff, but I don't like how we currently parse 'Fixes T1,,, T2 T3' => array('monograms' => 'T1', 'T2', 'T3')... this just seems odd (although I doubt it causes any real issues).