Libraryless. Click here for Pure Java version (2611L/16K).
// joining these should yield the original string static LS splitAtWordBoundaries(S s) { ret regexpExtractAll("\\w+|\\W+", s); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030124 |
| Snippet name: | splitAtWordBoundaries |
| Eternal ID of this version: | #1030124/1 |
| Text MD5: | 8c41b530f414b0be104a46d30f27b7ad |
| Transpilation MD5: | 008fe1e3c794389f0c3542fc6556318f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-11-10 11:18:52 |
| Source code size: | 133 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 451 / 546 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030125 - tok_regexpWords |