Page MenuHomePhabricator

Recursion in Equivset mappings
Closed, InvalidPublic

Description

Equivset replaces | (the pipe character, unicode 7C) with 1 but then later on replaces ǀ (unicode 1C0) with the pipe character.

Both should have the same output, i.e. 1.

The current code can have negative impact when the output is being used as part of a regexp pattern (see T244746 for instance).

Event Timeline

Change 571289 had a related patch set uploaded (by Huji; owner: Huji):
[mediawiki/libs/Equivset@master] Remove recursion in Equiset mappings

https://gerrit.wikimedia.org/r/571289

On second thought, this is not necessary. Equivset already walks through the recursions before generating the final dist mapping.

Change 571289 abandoned by Huji:
Remove recursion in Equiset mappings

Reason:
Not needed.

https://gerrit.wikimedia.org/r/571289