matchesSafely a pattern p.
matchesSafely a pattern p. If p cannot be compiled, then it is quoted if the string s is enclosed with characters, they can be excluded before the quotation is done
a regular expression String matching 's' inside another string, possibly multi-string
(Since version ) see corresponding Javadoc for more information.