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

9
LINES

< > BotCompany Repo | #1007885 // match_noEllipsis - don't match "..." at the end

JavaX fragment (include)

1  
static bool match_noEllipsis(S pat, S s) {
2  
  ret match_noEllipsis(pat, s, null);
3  
}
4  
5  
static bool match_noEllipsis(S pat, S s, Matches matches) {
6  
  S[] m = match2_match(parse3(pat), parse3_cached(s));
7  
  if (m == null) false;
8  
  if (matches != null) matches.m = m; true;
9  
}

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: #1007885
Snippet name: match_noEllipsis - don't match "..." at the end
Eternal ID of this version: #1007885/3
Text MD5: f41a5541985c2ba8e47bbf01e1d08f11
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-13 18:10:46
Source code size: 276 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 485 / 537
Version history: 2 change(s)
Referenced in: [show references]