Libraryless. Click here for Pure Java version (3225L/19K).
1 | sS transformTimestampsAccordingToCut(S text, L<DoubleRange> segments) {
|
2 | LS tok = regexpTok("\\d+:[0-9:]*\\d", text);
|
3 | tok = mapCodeTokens(tok, t -> |
4 | transformTimestampAccordingToCut(t, segments)); |
5 | ret join(tok); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1030676 |
| Snippet name: | transformTimestampsAccordingToCut |
| Eternal ID of this version: | #1030676/3 |
| Text MD5: | 2281b83a53960b9d2701fa08094e6f9f |
| Transpilation MD5: | 1c1913be0039301d4e14fc2c5217c7aa |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-03-03 23:42:03 |
| Source code size: | 226 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 449 / 562 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |