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

11
LINES

< > BotCompany Repo | #1033599 - FreeOfLocalBlockedKeyword

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

Libraryless. Click here for Pure Java version (5492L/31K).

sclass FreeOfLocalBlockedKeyword is IPred<S> {
  RegExp regExp;
  
  *() {
    regExp = cicAnyToRegexp(tlft(loadJavaXSecretTextFile("hidden-keywords.txt")));
  }
  
  public Bool get(S s) {
    ret !regExp.containedIn(s);
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033599
Snippet name: FreeOfLocalBlockedKeyword
Eternal ID of this version: #1033599/4
Text MD5: f8f1aad607c2162b1c01555846bcdd3e
Transpilation MD5: b63cae7525b1f430864c56b49d48c200
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-11-14 21:09:40
Source code size: 237 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 13 / 42
Version history: 3 change(s)
Referenced in: [show references]