1. Olemis Lang
  2. bloodhound-t-h.o

Commits

jun...@7322e99d-02ea-0310-aa39-e9a107903beb  committed 533d2f4

autowikifyplugin: follow-up to [11904], ignores ucs4 characters on narrow build

  • Participants
  • Parent commits b87fa44
  • Branches default

Comments (0)

Files changed (1)

File autowikifyplugin/trunk/tracautowikify/autowikify.py

View file
  • Ignore whitespace
             char_ranges.append(u'%s-%s' % (low, high))
         except ValueError:
             # Narrow build, `re` cannot use characters >= 0x10000
-            char_ranges.append(u'\\U%08x-\\U%08x' % (val[0], val[1]))
+            pass
     return u'[%s]' % u''.join(char_ranges)
 
 _breakable_pattern = _get_breakable_pattern()