1 | sS ai_plenkApostrophS(S s) {
|
2 | ret regexpReplaceIC(s, "(\\w)('s)", func(Matcher m) -> S { m.group(1) + " " + m.group(2) });
|
3 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1021232 |
| Snippet name: | ai_plenkApostrophS - "'s" to " 's" (for easier parsing of things like "$x's") |
| Eternal ID of this version: | #1021232/3 |
| Text MD5: | 50b04a5c81eac3118bc15821712303fb |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-03 19:29:31 |
| Source code size: | 127 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 504 / 559 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |