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

3
LINES

< > BotCompany Repo | #1027717 // firstInt_regexp

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

Libraryless. Click here for Pure Java version (2620L/17K).

static int firstInt_regexp(S s) {
  ret parseIntOr0(regexpExtract("\\d+", s));
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1027717
Snippet name: firstInt_regexp
Eternal ID of this version: #1027717/1
Text MD5: 2f5d7d21c090cabd85caae5505eaf8e5
Transpilation MD5: 4271c56531b93bc1c1f7094ac5883317
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-05 00:14:45
Source code size: 82 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 119 / 181
Referenced in: [show references]