Skip to content

Commit 021643f

Browse files
committed
Adding unicode regex mappings
1 parent e5dda78 commit 021643f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

unicode-data.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,3 +1649,7 @@ const std::map<char32_t, char32_t> unicode_map_lowercase = {
16491649
{0x1E917, 0x1E939}, {0x1E918, 0x1E93A}, {0x1E919, 0x1E93B}, {0x1E91A, 0x1E93C}, {0x1E91B, 0x1E93D}, {0x1E91C, 0x1E93E},
16501650
{0x1E91D, 0x1E93F}, {0x1E91E, 0x1E940}, {0x1E91F, 0x1E941}, {0x1E920, 0x1E942}, {0x1E921, 0x1E943},
16511651
};
1652+
1653+
const std::map<std::string, std::wstring> unicode_regex_to_wregex = {
1654+
1655+
};

unicode-data.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ extern const std::vector<std::pair<uint32_t, uint32_t>> unicode_ranges_symbol;
1414
extern const std::vector<std::pair<uint32_t, uint32_t>> unicode_ranges_control;
1515
extern const std::multimap<uint32_t, uint32_t> unicode_map_nfd;
1616
extern const std::map<char32_t, char32_t> unicode_map_lowercase;
17+
extern const std::map<std::string, std::wstring> unicode_regex_to_wregex;
18+
extern const std::map<std::string, std::string> unicode_regex_to_regex;

0 commit comments

Comments
 (0)