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

3
LINES

< > BotCompany Repo | #1033596 - cicAnyToRegexp

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

Libraryless. Click here for Pure Java version (5146L/28K).

static RegExp cicAnyToRegexp(Iterable<S> or S... strings) {
  ret new RegExp(orCombineRegexps(regexpEscapeAll(strings)), true);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033596
Snippet name: cicAnyToRegexp
Eternal ID of this version: #1033596/4
Text MD5: 08d5a7adf60d3cad1ccfb657ac7b44d1
Transpilation MD5: 1d8ac294cd41116291cde318583ac19d
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:00:27
Source code size: 131 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 11 / 40
Version history: 3 change(s)
Referenced in: [show references]