Page MenuHomePhabricator

Allow a wider range of characters in macro names, including emoji
ClosedPublic

Authored by epriestley on Feb 9 2018, 10:32 PM.
Tags
None
Referenced Files
F18576163: D19051.diff
Wed, Sep 10, 3:12 PM
F18509289: D19051.id.diff
Fri, Sep 5, 3:20 AM
F18502119: D19051.diff
Thu, Sep 4, 10:12 PM
F18360983: D19051.id45675.diff
Wed, Aug 27, 11:17 AM
F18212320: D19051.id45676.diff
Tue, Aug 19, 2:53 AM
F17942338: D19051.id45676.diff
Jul 31 2025, 6:40 AM
F17941954: D19051.diff
Jul 31 2025, 6:03 AM
F17909211: D19051.id.diff
Jul 29 2025, 2:15 PM
Subscribers
None

Details

Summary

Fixes T6121. See PHI357.

  • Allow emoji and other unicode (like Chinese characters) as long as you have at least three of them.
  • Disallow macros with only latin symbols. These were previously allowed.
Test Plan

Created a macro for "🐶🐶🐶", then used it in a comment.

Diff Detail

Repository
rP Phabricator
Branch
macro2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19472
Build 26343: Run Core Tests
Build 26342: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 9 2018, 10:34 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.