Libraryless. Click here for Pure Java version (2185L/14K/47K).
1 | !752 |
2 | |
3 | p {
|
4 | new Matches m; |
5 | flexMatch_debug = true; |
6 | assertTrue(flexMatch("if * then *", "if a b then c(d)", m));
|
7 | printStructure(m); |
8 | assertEquals("a b", m.get(0));
|
9 | assertEquals("c(d)", m.get(1));
|
10 | print("OK");
|
11 | } |
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: | #1003151 |
| Snippet name: | Test flexMatch with matches |
| Eternal ID of this version: | #1003151/2 |
| Text MD5: | eda8268c7030b83ef80a1d5fc6bf6478 |
| Transpilation MD5: | ab8f05cf54f0386d22f8cbcdaf599ae1 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-04-17 16:29:22 |
| Source code size: | 230 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 862 / 1027 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |