Regexed

org.specs2.text.Regexes.Regexed
implicit class Regexed(s: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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

Attributes

def regexPart: String

Attributes

Returns

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