slevithan / xregexp

Extended JavaScript regular expressions
http://xregexp.com/
MIT License
3.3k stars 278 forks source link

Rename isBmpLast, used for Unicode data #176

Open slevithan opened 7 years ago

slevithan commented 7 years ago

In the Unicode data generators (under tools/) and Unicode addons, rename isBmpLast as the more descriptive hasOrphanHighSurrogatesAndAstral. It's only used for category C and property Any, so the long name doesn't matter.

slevithan commented 6 years ago

I don't think this should be treated as a breaking change, since isBmpLast is unlikely to be used by any existing addons outside of the official XRegExp Unicode addons (which themselves barely use it).