static LS tok_splitAtFirstSpacedDash(S s) { LS tok = javaTokWithAllBrackets(s); final new Flag flag; ret tok_combineCodeTokenRanges(tok, findNCNNonStreaks(tok, func(LS tok) -> Bool { if (flag.isUp() || !tok_isSpacedDash(tok)) false; ret true with flag.raise(); })); }
Began life as a copy of #1018230
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1019975 |
Snippet name: | tok_splitAtFirstSpacedDash - returns actual CNC, honors brackets, sees all kinds of dashes |
Eternal ID of this version: | #1019975/3 |
Text MD5: | 4500188e407059c399ddb2aab7b42486 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-02 21:10:29 |
Source code size: | 302 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 281 / 340 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |