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

6
LINES

< > BotCompany Repo | #1003754 // matchOK - match "ok bla" and return "bla" (unquoted) or null

JavaX fragment (include)

static S matchOK(S s) {
  new Matches m;
  if "ok *"
    ret m.unq(0);
  null;
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1003754
Snippet name: matchOK - match "ok bla" and return "bla" (unquoted) or null
Eternal ID of this version: #1003754/1
Text MD5: b16374796efad87d19259a7c047af853
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-07-26 19:35:20
Source code size: 85 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 559 / 503
Referenced in: [show references]