Skip to content

Commit 464409a

Browse files
committed
regex: replace "quote" with code
1 parent 65b250c commit 464409a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

jsonschema-core.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -400,16 +400,16 @@ tokens:
400400

401401
- individual Unicode characters, as defined by the [JSON
402402
specification](#rfc8259);
403-
- simple atoms: "." (any character except line terminator);
404-
- simple character classes ("[abc]"), range character classes ("[a-z]");
405-
- complemented simple character classes ("[^abc]"),
406-
complemented range character classes ("[^a-z]");
407-
- simple quantifiers: "+" (one or more), "*" (zero or more), "?" (zero or one),
408-
and their lazy versions ("+?", "*?", "??");
409-
- range quantifiers: "{x}" (exactly x occurrences), "{x,y}" (at least x, at most
403+
- simple atoms: `.` (any character except line terminator);
404+
- simple character classes (`[abc]`), range character classes (`[a-z]`);
405+
- complemented simple character classes (`[^abc]`),
406+
complemented range character classes (`[^a-z]`);
407+
- simple quantifiers: `+` (one or more), `*` (zero or more), `?` (zero or one),
408+
and their lazy versions (`+?`, `*?`, `??`);
409+
- range quantifiers: `{x}` (exactly x occurrences), `{x,y}` (at least x, at most
410410
y, occurrences), {x,} (x occurrences or more), and their lazy versions;
411-
- the beginning-of-input ("^") and end-of-input ("$") anchors;
412-
- simple grouping ("(" and ")") and alternation ("|").
411+
- the beginning-of-input (`^`) and end-of-input (`$`) anchors;
412+
- simple grouping (`(` and `)`) and alternation (`|`).
413413

414414
Finally, implementations MUST NOT take regular expressions to be anchored,
415415
neither at the beginning nor at the end. This means, for instance, the pattern

0 commit comments

Comments
 (0)