Libraryless. Click here for Pure Java version (4208L/26K).
1 | svoid mmo2_simplePatternCheck(S examplesText, S counterexamplesText, S pattern) {
|
2 | for (S s : tlftj(examplesText)) |
3 | assertTrueVerbose(pattern + " / " + s, mmo2_match(pattern, s)); |
4 | for (S s : tlftj(counterexamplesText)) |
5 | assertFalseVerbose(pattern + " / " + s, mmo2_match(pattern, s)); |
6 | } |
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: | #1028126 |
| Snippet name: | mmo2_simplePatternCheck |
| Eternal ID of this version: | #1028126/2 |
| Text MD5: | 5c57f45ceff1dc38d10801ed8154f655 |
| Transpilation MD5: | c8148ed39b6000b2af6fb04cbdffaa54 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-05-20 14:01:36 |
| Source code size: | 300 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 363 / 515 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |