public final class Re2jSubjects extends Object
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.
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Re2jSubjects.Re2jStringSubject
Subject for  
String subjects which you can use to assert things about Pattern regexes. | 
| Modifier and Type | Method and Description | 
|---|---|
static SubjectFactory<Re2jSubjects.Re2jStringSubject,String> | 
re2jString()
Returns a subject factory for  
String subjects which you can use to assert things about
 Pattern regexes. | 
public static SubjectFactory<Re2jSubjects.Re2jStringSubject,String> re2jString()
String subjects which you can use to assert things about
 Pattern regexes.
 This subject does not replace Truth's built-in StringSubject
 but instead provides only the methods needed to deal with regular expressions.
StringSubjectCopyright © 2017. All rights reserved.