amazon-ion / ion-schema-rust

Rust implementation of Ion Schema
https://amazon-ion.github.io/ion-schema/sandbox
Apache License 2.0
12 stars 6 forks source link

add implementation of `regex` constraint that support more ECMA 262 regex features ISL 2.0 #161

Closed desaikd closed 1 year ago

desaikd commented 1 year ago

Add implementation of regex constraint that support more ECMA 262 regex features as per ISL 2.0.

Grammar:

<REGEX> ::= regex: <STRING>
          | regex: i::<STRING>
          | regex: m::<STRING>
          | regex: i::m::<STRING>

Ion Schema Specification: https://amazon-ion.github.io/ion-schema/docs/isl-2-0/spec#regex

desaikd commented 1 year ago

Completed with #176