From 13941dc75b3bb636681f9caf18f618df05c0549f Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Thu, 14 Nov 2024 08:18:46 -0500 Subject: [PATCH 1/2] use more accurate regex vocabulary --- specs/jsonschema-core.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/jsonschema-core.md b/specs/jsonschema-core.md index 350e45ba..9f238db5 100644 --- a/specs/jsonschema-core.md +++ b/specs/jsonschema-core.md @@ -374,9 +374,9 @@ tokens: - complemented simple character classes (`[^abc]`); - complemented range character classes (`[^a-z]`); - simple quantifiers: `+` (one or more), `*` (zero or more), `?` (zero or one), - and their lazy versions (`+?`, `*?`, `??`); + and their non-greedy versions (`+?`, `*?`, `??`); - range quantifiers: `{x}` (exactly x occurrences), `{x,y}` (at least x, at most - y, occurrences), {x,} (x occurrences or more), and their lazy versions; + y, occurrences), {x,} (x occurrences or more), and their non-greedy versions; - the beginning-of-input (`^`) and end-of-input (`$`) anchors; - simple grouping (using `(` and `)`) and alternation (`|`). From 4cc993f5e2f7b5ccbda872836eca6d2e6e9e5e2c Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Sun, 2 Feb 2025 13:02:16 -0500 Subject: [PATCH 2/2] fix typo --- specs/jsonschema-core.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/jsonschema-core.md b/specs/jsonschema-core.md index 9f238db5..e86c4c9f 100644 --- a/specs/jsonschema-core.md +++ b/specs/jsonschema-core.md @@ -376,7 +376,7 @@ tokens: - simple quantifiers: `+` (one or more), `*` (zero or more), `?` (zero or one), and their non-greedy versions (`+?`, `*?`, `??`); - range quantifiers: `{x}` (exactly x occurrences), `{x,y}` (at least x, at most - y, occurrences), {x,} (x occurrences or more), and their non-greedy versions; + y, occurrences), `{x,}` (x occurrences or more), and their non-greedy versions; - the beginning-of-input (`^`) and end-of-input (`$`) anchors; - simple grouping (using `(` and `)`) and alternation (`|`).