Libraryless. Click here for Pure Java version (2382L/15K).
1 | svoid test_negateRegexp() { |
2 | embedded bool testIt(S regexp, S s) { |
3 | ret !regexpFind(negateRegexp(regexp), s); |
4 | } |
5 | |
6 | testFunctionValues_twoArgs_flat((IF2<S, S, Bool>) (re, s) -> testIt(re, s), |
7 | "bc", "abcd", true, |
8 | "bc", "xyz", false, |
9 | ); |
10 | } |
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: | #1027475 |
Snippet name: | test_negateRegexp |
Eternal ID of this version: | #1027475/6 |
Text MD5: | a89d3405890b9c4b4af95ffe9042c4a8 |
Transpilation MD5: | 2bc49d45d79bdb27c189af32ef48132a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-22 14:05:34 |
Source code size: | 262 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 182 / 284 |
Version history: | 5 change(s) |
Referenced in: | [show references] |