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

5
LINES

< > BotCompany Repo | #1025117 // regexpFirstGroup_any - make Java regexp Matcher and return first group matched

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

Libraryless. Click here for Pure Java version (2209L/14K).

sS regexpFirstGroup_any(S pat, Iterable<S> inputs) {
  fOr (S input : inputs)
    try S group = regexpFirstGroup(pat, input);
  null;
}

Author comment

Began life as a copy of #1007002

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025117
Snippet name: regexpFirstGroup_any - make Java regexp Matcher and return first group matched
Eternal ID of this version: #1025117/1
Text MD5: 0dd82611a553c81cb56ad8587c5f64fa
Transpilation MD5: a8e337ddacb2a9358db97eba24c90b54
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-05 23:00:02
Source code size: 139 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 191 / 268
Referenced in: [show references]