static L<Int> singleEllipsisMatchIC_splitIndices(S pat, S s) { int i = indexOf(pat, "..."); if (i < 0) null; if (!regionMatchesIC(s, 0, pat, 0, i)) null; int lSuffix = l(pat)-(i+3); if (!regionMatchesIC(s, l(s)-lSuffix, pat, i+3, lSuffix)) null; ret ll(i, l(s)-lSuffix); }
Began life as a copy of #1012768
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: | #1012779 |
Snippet name: | singleEllipsisMatchIC_splitIndices |
Eternal ID of this version: | #1012779/1 |
Text MD5: | c8f3f1081ca3cd38cdfa165e2c54f74f |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-13 02:42:56 |
Source code size: | 291 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 393 / 447 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |