Regexes

object Regexes extends Regexes
Companion:
class
trait Regexes
class Object
trait Matchable
class Any
Regexes.type

Extensions

Inherited extensions

extension (p: Pattern)
def regexPart: String
Inherited from:
Regexes
extension (r: Regex)
def matches(s: String): Boolean
Inherited from:
Regexes
extension (s: String)
infix def matchesSafely(p: String, enclosing: String): Boolean

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

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

Inherited from:
Regexes
def regexPart: String
Returns:

a regular expression String matching 's' inside another string, possibly multi-string

Inherited from:
Regexes