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

4
LINES

< > BotCompany Repo | #1017010 // regexpFirstMatch - make Java regexp Matcher and return first match

JavaX fragment (include)

static S regexpFirstMatch(S pat, S s) {
  Matcher m = regexpMatcher(pat, s);
  ret m.find() ? m.group() : null;
}

Author comment

Began life as a copy of #1007002

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017010
Snippet name: regexpFirstMatch - make Java regexp Matcher and return first match
Eternal ID of this version: #1017010/1
Text MD5: 9522843620c0e6d1206bc9f04cfab49a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-10 16:27:36
Source code size: 116 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 379 / 410
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)