This method enables syntax such as the following:
This method enables syntax such as the following:
regex should fullyMatch regex ("a(b*)c" withGroup "bb") ^
This method enables syntax such as the following:
This method enables syntax such as the following:
regex should fullyMatch regex ("a(b*)(c*)" withGroups ("bb", "cc")) ^
This class is part of the ScalaTest matchers DSL. Please see the documentation for
Matchers
for an overview of the matchers DSL.This class is used in conjunction with an implicit conversion to enable
withGroup
andwithGroups
methods to be invoked onRegex
s.