1 | static S unescapeMultichars(S s) {
|
2 | ret regexReplace(s, "\\[xchar ([a-f0-9]+)\\]", func(Matcher m) {
|
3 | codePointToString(hexToInt(m.group(1))) |
4 | }); |
5 | } |
Began life as a copy of #1005235
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1005236 |
| Snippet name: | unescapeMultichars - unescape extended Unicode characters [xchar xxxxxxxx] |
| Eternal ID of this version: | #1005236/1 |
| Text MD5: | f2f70771f3facb0ae631e0b4c237aed5 |
| Author: | stefan |
| Category: | javax / unicode |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-10-26 02:25:46 |
| Source code size: | 157 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1220 / 1247 |
| Referenced in: | [show references] |