1 | static S wikipediaDeformat(S s) {
|
2 | ret regexpReplace_direct(regexpReplace(s, "\\[\\[(.*?)\\]\\]", func(Matcher m) -> S {
|
3 | S s = m.group(1); |
4 | ret substring(s, indexOf(s, '|')+1); |
5 | }), "'''?", "\""); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014195 |
| Snippet name: | wikipediaDeformat |
| Eternal ID of this version: | #1014195/7 |
| Text MD5: | f705d76728342b0b0e913a0fdcbc5d64 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-10 17:13:51 |
| Source code size: | 212 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 693 / 722 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |