Jump to content

Module:Unicode data/derived core properties: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
I prefer underscores to camel case, and that's the convention in most of the Unicode data modules
condense range
Line 9: Line 9:
[0x0FEFF] = true,
[0x0FEFF] = true,
[0x0FFA0] = true,
[0x0FFA0] = true,
[0xE0000] = true,
[0xE0001] = true,
},
},
Line 24: Line 22:
{ 0x1BCA0, 0x1BCA3 },
{ 0x1BCA0, 0x1BCA3 },
{ 0x1D173, 0x1D17A },
{ 0x1D173, 0x1D17A },
{ 0xE0002, 0xE0FFF },
{ 0xE0000, 0xE0FFF },
},
},
}
}

Revision as of 21:10, 17 September 2019

local data = {}

data.default_ignorable = {
	singles = {
		[0x000AD] = true,
		[0x0034F] = true,
		[0x0061C] = true,
		[0x03164] = true,
		[0x0FEFF] = true,
		[0x0FFA0] = true,
	},
	
	ranges = {
		{ 0x0115F, 0x01160 },
		{ 0x017B4, 0x017B5 },
		{ 0x0180B, 0x0180E },
		{ 0x0200B, 0x0200F },
		{ 0x0202A, 0x0202E },
		{ 0x02060, 0x0206F },
		{ 0x0FE00, 0x0FE0F },
		{ 0x0FFF0, 0x0FFF8 },
		{ 0x1BCA0, 0x1BCA3 },
		{ 0x1D173, 0x1D17A },
		{ 0xE0000, 0xE0FFF },
	},
}

return data