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

6
LINES

< > BotCompany Repo | #1028126 // mmo2_simplePatternCheck

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4208L/26K).

svoid mmo2_simplePatternCheck(S examplesText, S counterexamplesText, S pattern) {
  for (S s : tlftj(examplesText))
    assertTrueVerbose(pattern + " / " + s, mmo2_match(pattern, s));
  for (S s : tlftj(counterexamplesText))
    assertFalseVerbose(pattern + " / " + s, mmo2_match(pattern, s));
}

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: 108 / 192
Version history: 1 change(s)
Referenced in: [show references]