diff options
| author | Mica White <botahamec@outlook.com> | 2025-12-07 14:22:10 -0500 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2025-12-07 14:22:10 -0500 |
| commit | 91fdd47a80156b942187c734c3473ede4e089c02 (patch) | |
| tree | ed5f0669e9da431a0bcecda705302c3737fb76f0 /grammar.txt | |
Diffstat (limited to 'grammar.txt')
| -rw-r--r-- | grammar.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/grammar.txt b/grammar.txt new file mode 100644 index 0000000..f2a7827 --- /dev/null +++ b/grammar.txt @@ -0,0 +1,6 @@ +regex := alternate (PIPE alternate)* +alternate := node* +node := csetnode | grouping +csetnode := TILDE? (CHARSET | union) STAR? +union := LEFT_BRACKET CHARSET* RIGHT_BRACKET +grouping := LEFT_PAREN regex RIGHT_PAREN |
