new RegexValue() Represents a regular expression type in Firestore documents. Methods isEqual() Returns true if the two regex values have the same pattern and options, returns false otherwise.