Libraryless. Click here for Pure Java version (3997L/24K).
1 | svoid test_mmo2_match() {
|
2 | testFunctionValues_twoArgs_flat mmo2_match(test_mmo_match_parsedPattern_examples()); |
3 | testFunctionValues_twoArgs_flat mmo2_match( |
4 | "^hello", " hello", true, |
5 | "^hello", "yo hello", false, |
6 | "world$", "in the world", true, |
7 | "world$", "in the world yo", false, |
8 | "^(what, who)", "what is up", true, |
9 | "^(what, who)", "who is here", true, |
10 | "^(what, who)", "nope", false, |
11 | "^ok$, ^yo$", "ok boy", false, |
12 | ); |
13 | } |
Began life as a copy of #1026548
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028073 |
| Snippet name: | test_mmo2_match (OK) |
| Eternal ID of this version: | #1028073/8 |
| Text MD5: | a246cb247f226aa582c85626e2c1588b |
| Transpilation MD5: | e292ff2537a464939cc3a24038ab7c43 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-25 13:16:08 |
| Source code size: | 467 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 433 / 584 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |