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

8
LINES

< > BotCompany Repo | #1023988 // test_andCombineRegexps (OK)

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

Libraryless. Click here for Pure Java version (3259L/22K).

svoid test_andCombineRegexps() {
  S re = print(andCombineRegexps("cat", "dog"));
  testFunctionValues(curry regexpFind(re),
    "a dog" := false,
    "a cat" := false,
    "a dog and a cat" := true,
    "cat and dog are in the house" := true);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023988
Snippet name: test_andCombineRegexps (OK)
Eternal ID of this version: #1023988/3
Text MD5: b00d8cf255fad9b5a07dab3cb87fb0d0
Transpilation MD5: 67a4ebf848d1a150c387d093fe25c37f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-14 21:20:05
Source code size: 253 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 113 / 172
Version history: 2 change(s)
Referenced in: [show references]