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

11
LINES

< > BotCompany Repo | #1017972 // Test parsing fired rule (OK)

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (7858L/56K).

!7

p-exp {
  S ruleFired = [[Rule lzugmuvckjnwcyuy fired on message webvepcjugqxghuz at "2018/08/23 17:36:44'0965" with vars {"$stuff"="capes", "$name"="Stefan"}]];
  L<S> tok = javaTokWithBrackets2(ruleFired);
  new Matches mm;
  if (find3("with vars *", tok, mm)) {
    SS vars = safeUnstructMap(mm.get(0));
    printStruct(vars);
  } else fail();
}

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: #1017972
Snippet name: Test parsing fired rule (OK)
Eternal ID of this version: #1017972/5
Text MD5: cbf854bc46f877588c288a34865bce2e
Transpilation MD5: 83f6f134f2328ff1ba58619e9e267991
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-23 18:07:48
Source code size: 362 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 270 / 666
Version history: 4 change(s)
Referenced in: [show references]