static S findEmailInLine(S s) { Matcher m = Pattern.compile("\\S+@\\S+").matcher(s); ret m.find() ? m.group() : null; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004243 |
Snippet name: | findEmailInLine |
Eternal ID of this version: | #1004243/1 |
Text MD5: | e6d98191771b4b749ea6279f413bff57 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-11 00:27:48 |
Source code size: | 126 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 552 / 556 |
Referenced in: | #1004307 - regexp - make Java regexp Matcher (expression is cached) #1006654 - Standard functions list 2 (LIVE, continuation of #761) |