Transpiled version (7708L) is out of date.
1 | static LineAndColumn parseLineAndColumn(S s) {
|
2 | S re = "\\bLine (" + regexpN2() + "), col (" + regexpN2() + ")";
|
3 | LS l = regexpLastGroupsIC(re, s); |
4 | printVars ifdef parseLineAndColumn_debug(+s, +re, +l); |
5 | ret l == null ?: LineAndColumn(parseIntN2(first(l)), parseIntN2(second(l))); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035122 |
| Snippet name: | parseLineAndColumn - mirrors LineAndColumn.toString() |
| Eternal ID of this version: | #1035122/5 |
| Text MD5: | 81e60a3c3fe38fd0b89780ac983ddc68 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-30 17:26:41 |
| Source code size: | 292 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 385 / 502 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |