Libraryless. Click here for Pure Java version (3900L/22K).
sbool regexpMatches(S pat, S s) { ret pat != null && s != null && regexp(pat, s).matches(); } sbool regexpMatches(java.util.regex.Pattern pat, S s) { ret pat != null && s != null && regexp(pat, s).matches(); }
Began life as a copy of #1004307
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1012706 |
Snippet name: | regexpMatches - full match only! |
Eternal ID of this version: | #1012706/7 |
Text MD5: | a6ae3edafe6aace89ffab950cf9a1bbf |
Transpilation MD5: | 4b44fbb92fd96fbbe183f2995e29f268 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-06 16:39:04 |
Source code size: | 220 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 566 / 666 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1012707 - regexpFinds - partial match |