Native match semantics differ: Android (Regex.matches()) requires the pattern
to match the entire value, while iOS (NSRegularExpression.firstMatch) accepts a
match anywhere in the value. Anchor patterns (e.g. ^valid$) behave identically
on both platforms. An unanchored pattern such as valid accepts invalid-value
on iOS but rejects it on Android.
Server-provided validation rule attached to a validated field collector.
Remarks
The bridge maps the server regex to
regex. Use DaVinciClient.validate to check a collector's current value on demand — it returns DaVinciFieldValidationError results directly.Native match semantics differ: Android (
Regex.matches()) requires the pattern to match the entire value, while iOS (NSRegularExpression.firstMatch) accepts a match anywhere in the value. Anchor patterns (e.g.^valid$) behave identically on both platforms. An unanchored pattern such asvalidacceptsinvalid-valueon iOS but rejects it on Android.