mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Add extended and supplement combining marks ranges (#3932)
This commit is contained in:
committed by
John-David Dalton
parent
4851183757
commit
6018350ac1
@@ -3,7 +3,9 @@ const rsAstralRange = '\\ud800-\\udfff'
|
|||||||
const rsComboMarksRange = '\\u0300-\\u036f'
|
const rsComboMarksRange = '\\u0300-\\u036f'
|
||||||
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
||||||
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
||||||
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange
|
const rsComboMarksExtendedRange = '\\u1ab0-\\u1aff'
|
||||||
|
const rsComboMarksSupplementRange = '\\u1dc0-\\u1dff'
|
||||||
|
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange + rsComboMarksExtendedRange + rsComboMarksSupplementRange
|
||||||
const rsVarRange = '\\ufe0e\\ufe0f'
|
const rsVarRange = '\\ufe0e\\ufe0f'
|
||||||
|
|
||||||
/** Used to compose unicode capture groups. */
|
/** Used to compose unicode capture groups. */
|
||||||
|
|||||||
@@ -3,7 +3,9 @@ const rsAstralRange = '\\ud800-\\udfff'
|
|||||||
const rsComboMarksRange = '\\u0300-\\u036f'
|
const rsComboMarksRange = '\\u0300-\\u036f'
|
||||||
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
||||||
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
||||||
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange
|
const rsComboMarksExtendedRange = '\\u1ab0-\\u1aff'
|
||||||
|
const rsComboMarksSupplementRange = '\\u1dc0-\\u1dff'
|
||||||
|
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange + rsComboMarksExtendedRange + rsComboMarksSupplementRange
|
||||||
const rsVarRange = '\\ufe0e\\ufe0f'
|
const rsVarRange = '\\ufe0e\\ufe0f'
|
||||||
|
|
||||||
/** Used to compose unicode capture groups. */
|
/** Used to compose unicode capture groups. */
|
||||||
|
|||||||
@@ -3,7 +3,9 @@ const rsAstralRange = '\\ud800-\\udfff'
|
|||||||
const rsComboMarksRange = '\\u0300-\\u036f'
|
const rsComboMarksRange = '\\u0300-\\u036f'
|
||||||
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
||||||
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
||||||
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange
|
const rsComboMarksExtendedRange = '\\u1ab0-\\u1aff'
|
||||||
|
const rsComboMarksSupplementRange = '\\u1dc0-\\u1dff'
|
||||||
|
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange + rsComboMarksExtendedRange + rsComboMarksSupplementRange
|
||||||
const rsVarRange = '\\ufe0e\\ufe0f'
|
const rsVarRange = '\\ufe0e\\ufe0f'
|
||||||
|
|
||||||
/** Used to compose unicode capture groups. */
|
/** Used to compose unicode capture groups. */
|
||||||
|
|||||||
@@ -3,7 +3,9 @@ const rsAstralRange = '\\ud800-\\udfff'
|
|||||||
const rsComboMarksRange = '\\u0300-\\u036f'
|
const rsComboMarksRange = '\\u0300-\\u036f'
|
||||||
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
||||||
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
||||||
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange
|
const rsComboMarksExtendedRange = '\\u1ab0-\\u1aff'
|
||||||
|
const rsComboMarksSupplementRange = '\\u1dc0-\\u1dff'
|
||||||
|
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange + rsComboMarksExtendedRange + rsComboMarksSupplementRange
|
||||||
const rsDingbatRange = '\\u2700-\\u27bf'
|
const rsDingbatRange = '\\u2700-\\u27bf'
|
||||||
const rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff'
|
const rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff'
|
||||||
const rsMathOpRange = '\\xac\\xb1\\xd7\\xf7'
|
const rsMathOpRange = '\\xac\\xb1\\xd7\\xf7'
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ const reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g
|
|||||||
const rsComboMarksRange = '\\u0300-\\u036f'
|
const rsComboMarksRange = '\\u0300-\\u036f'
|
||||||
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
const reComboHalfMarksRange = '\\ufe20-\\ufe2f'
|
||||||
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
const rsComboSymbolsRange = '\\u20d0-\\u20ff'
|
||||||
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange
|
const rsComboMarksExtendedRange = '\\u1ab0-\\u1aff'
|
||||||
|
const rsComboMarksSupplementRange = '\\u1dc0-\\u1dff'
|
||||||
|
const rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange + rsComboMarksExtendedRange + rsComboMarksSupplementRange
|
||||||
|
|
||||||
/** Used to compose unicode capture groups. */
|
/** Used to compose unicode capture groups. */
|
||||||
const rsCombo = `[${rsComboRange}]`
|
const rsCombo = `[${rsComboRange}]`
|
||||||
|
|||||||
Reference in New Issue
Block a user