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
Matchersfor an overview of the matchers DSL.This class is used in conjunction with an implicit conversion to enable
withGroupandwithGroupsmethods to be invoked onRegexs.