sS assertRegexp(S regexp, S s) { if (!regexpMatches(regexp, s)) fail("Regexp doesn't match: " + regexp + " on " + quote(s)); ret s; }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020844 |
Snippet name: | assertRegexp - assert string matches a regexp |
Eternal ID of this version: | #1020844/1 |
Text MD5: | 5b666427ad24ae55bdd44f7e85ce1eb2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-04 00:20:08 |
Source code size: | 145 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 331 / 384 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |