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)

static bool match_noEllipsis(S pat, S s) {
  ret match_noEllipsis(pat, s, null);
}

static bool match_noEllipsis(S pat, S s, Matches matches) {
  S[] m = match2_match(parse3(pat), parse3_cached(s));
  if (m == null) false;
  if (matches != null) matches.m = m; true;
}

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: 413 / 458
Version history: 2 change(s)
Referenced in: [show references]