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

7
LINES

< > BotCompany Repo | #1013875 // regexpMatcher

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

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

static Matcher regexpMatcher(S pat, S s) {
  ret compileRegexp(pat).matcher(unnull(s));
}

static Matcher regexpMatcher(java.util.regex.Pattern pat, S s) {
  ret pat.matcher(unnull(s));
}

Author comment

Began life as a copy of #1013715

download  show line numbers  debug dex  old transpilations   

Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1013875
Snippet name: regexpMatcher
Eternal ID of this version: #1013875/6
Text MD5: 530751a26c635dcb6e8c26a8e4c33a6f
Transpilation MD5: 952ad58e901b82fcd218cb592632c349
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-02-24 19:30:42
Source code size: 193 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 362 / 459
Version history: 5 change(s)
Referenced in: [show references]