Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1032835 // safeRegexpMatches

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3820L/22K).

sbool safeRegexpMatches(Pattern pat, S s) {
  ret pat.matcher(InterruptibleString(s)).matches();
}

Author comment

Began life as a copy of #1013920

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032835
Snippet name: safeRegexpMatches
Eternal ID of this version: #1032835/1
Text MD5: 1784e1c98cdb5f90cffeaba723617f0a
Transpilation MD5: 9f2212c3a7f8921bbce8e14357e6c741
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:36
Source code size: 100 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 139 / 194
Referenced in: [show references]