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).

1  
svoid test_andCombineRegexps() {
2  
  S re = print(andCombineRegexps("cat", "dog"));
3  
  testFunctionValues(curry regexpFind(re),
4  
    "a dog" := false,
5  
    "a cat" := false,
6  
    "a dog and a cat" := true,
7  
    "cat and dog are in the house" := true);
8  
}

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: 177 / 259
Version history: 2 change(s)
Referenced in: [show references]