Class Re2jSubjects
java.lang.Object
com.google.common.truth.extensions.re2j.Re2jSubjects
Truth subjects for re2j regular expressions.
Truth natively provides subjects for dealing with java.util.regex based regular
expressions. This class is intended to provide com.google.re2j analogues to those
methods.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSubject forStringsubjects which you can use to assert things aboutPatternregexes. -
Method Summary
Modifier and TypeMethodDescriptionReturns a subject factory forStringsubjects which you can use to assert things aboutPatternregexes.
-
Method Details
-
re2jString
Returns a subject factory forStringsubjects which you can use to assert things aboutPatternregexes.This subject does not replace Truth's built-in
StringSubjectbut instead provides only the methods needed to deal with regular expressions.- See Also:
-