1 | static Matcher regexp(S pat, S s) {
|
2 | ret regexp(compileRegexp(pat), unnull(s)); |
3 | } |
4 | |
5 | static Matcher regexp(java.util.regex.Pattern pat, S s) {
|
6 | ret pat.matcher(unnull(s)); |
7 | } |
8 | |
9 | static java.util.regex.Pattern regexp(S pat) {
|
10 | ret compileRegexp(pat); |
11 | } |
Began life as a copy of #1004243
download show line numbers debug dex old transpilations
Travelled to 18 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, ekrmjmnbrukm, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1004307 |
| Snippet name: | regexp - make Java regexp Matcher (expression is cached) |
| Eternal ID of this version: | #1004307/8 |
| Text MD5: | 9b22252fcd0ec42f4c22733af959708c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-11-06 22:25:29 |
| Source code size: | 259 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1182 / 1246 |
| Version history: | 7 change(s) |
| Referenced in: | [show references] |