Libraryless. Click here for Pure Java version (2557L/16K).
static Map<S, java.util.regex.Pattern> compileMultiLineRegexp_cache = syncMRUCache(10); static java.util.regex.Pattern compileMultiLineRegexp(S pat) { java.util.regex.Pattern p = compileMultiLineRegexp_cache.get(pat); if (p == null) compileMultiLineRegexp_cache.put(pat, p = java.util.regex.Pattern.compile(pat)); ret p; }
Began life as a copy of #1013715
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028284 |
| Snippet name: | compileMultiLineRegexp - compile regexp with MULTILINE flag |
| Eternal ID of this version: | #1028284/1 |
| Text MD5: | 486de9fe65902b7731bc9bc3b29dd3ba |
| Transpilation MD5: | 9dd5c5f461eaf91ba37549fd4aa596eb |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-07 17:55:18 |
| Source code size: | 340 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 453 / 561 |
| Referenced in: | [show references] |