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

9
LINES

< > BotCompany Repo | #1013416 // ai_checkInput_match3 - fails on non-match

JavaX fragment (include)

static void ai_checkInput_match3(S pattern) {
  ai_checkInput_match3(pattern, null);
}

static void ai_checkInput_match3(S pattern, Matches m) {
  S input = ai_input();
  if (!match(pattern, input, m))
    quickFail("Input doesn't match: " + pattern + " / " + input);
}

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: #1013416
Snippet name: ai_checkInput_match3 - fails on non-match
Eternal ID of this version: #1013416/3
Text MD5: e7f49ccbcc58d3353d36b9180b4d82ab
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-06 10:39:29
Source code size: 277 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 360 / 383
Version history: 2 change(s)
Referenced in: [show references]