Libraryless. Click here for Pure Java version (10781L/59K).
1 | sbool safeRegexpFind(S pat, S s) { |
2 | ret safeRegexpFind(compileRegexp(pat), s); |
3 | } |
4 | |
5 | sbool safeRegexpFind(Pattern pat, S s) { |
6 | ret pat.matcher(InterruptibleString(s)).find(); |
7 | } |
Began life as a copy of #1013918
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013920 |
Snippet name: | safeRegexpFind |
Eternal ID of this version: | #1013920/3 |
Text MD5: | 3d2a41654c8ad9beb588a58016fd34a7 |
Transpilation MD5: | 1cea651759d5ba8a02ff835be88c2e61 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-04-25 19:38:46 |
Source code size: | 181 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 463 / 491 |
Version history: | 2 change(s) |
Referenced in: | [show references] |