Download Jar. Libraryless. Click here for Pure Java version (6207L/42K).
1 | !7 |
2 | |
3 | p {
|
4 | autoRestart(); |
5 | set ai_patternSwitch_debug; |
6 | |
7 | S input = "This (bla) is a (sentence)"; |
8 | printStruct(ai_operands(input)); |
9 | printStruct(javaTokPlusBracketsC_unquote(input)); |
10 | assertEquals("Any (bla) is a (sentence)",
|
11 | ai_patternSwitch("Any * is a *", input));
|
12 | print("OK");
|
13 | } |
Began life as a copy of #1013230
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: | #1013231 |
| Snippet name: | Test ai_patternSwitch |
| Eternal ID of this version: | #1013231/7 |
| Text MD5: | 7d9ec6768f2f7bb96253416c545c6e61 |
| Transpilation MD5: | 0cec800665d2d78b28d58ad43ddcde8f |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-28 23:29:42 |
| Source code size: | 305 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 784 / 1719 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |