Libraryless. Click here for Pure Java version (7902L/44K).
1 | static L<IntRange> g22_parseCharRanges(S s) { |
2 | ret concatMap_lists(splitAtComma_trim(s), item -> |
3 | isQuoted(item) |
4 | ? map(characters(unquote(item)), c -> intRange_incl(c, c)) |
5 | : ll(parseHexRange(item))); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035110 |
Snippet name: | g22_parseCharRanges |
Eternal ID of this version: | #1035110/2 |
Text MD5: | afa3318a5d4592d6fe5f790e576d70aa |
Transpilation MD5: | 51a990755fafe0f3851c2027af75797b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-30 03:38:10 |
Source code size: | 222 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 133 / 200 |
Version history: | 1 change(s) |
Referenced in: | [show references] |