Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1018230 // tok_splitAtSpacedDashes - honors brackets, sees all kinds of dashes, returns CNC

JavaX fragment (include)

static LS tok_splitAtSpacedDashes(S s) {
  LS tok = javaTokWithAllBrackets(s);
  ret tok_combineCodeTokenRanges(tok, findNCNNonStreaks(tok, 
    func(LS tok) -> Bool { tok_isSpacedDash(tok) }));
}

Author comment

Began life as a copy of #1018228

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018230
Snippet name: tok_splitAtSpacedDashes - honors brackets, sees all kinds of dashes, returns CNC
Eternal ID of this version: #1018230/6
Text MD5: 3ea4bb0d768cc812c4d8e3db38ccbe93
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-14 20:41:05
Source code size: 200 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 249 / 291
Version history: 5 change(s)
Referenced in: [show references]