Aman Aggarwal
Aman Aggarwal

Reputation: 18479

online tool available to validate regex in firestore?

There are tools available to validate the regex used in javascript / prolong etc but i am writing rules in google-cloud-firestore. I want some tool to check my regex.

please suggest.

Upvotes: 1

Views: 484

Answers (1)

Jason Berryman
Jason Berryman

Reputation: 4908

If you read my original answer. Ignore it.

You can use the matches comparison.

matches

Performs a regular expression match, returns true if the whole string matches the given regular expression. Uses Google RE2 syntax.

The full list of string validation rules available for Cloud Firestore are shown here.

Upvotes: 1

Related Questions