Skip to content

Commit

Permalink
fix grammar to allow (|) but not sure how this is useful (fixes #319)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanickadot committed Aug 6, 2024
1 parent 129d535 commit 633dd23
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 76 deletions.
3 changes: 2 additions & 1 deletion include/ctre/pcre.gram
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ S-><content> | epsilon,[push_empty] | pipe,[push_empty],<content>,[make_alternat

content-><string>,<content2>
content_in_capture-><string_in_capture>,<content2> | epsilon,[push_empty]
content_in_capture->pipe,[push_empty],<content>,[make_alternate]
content_in_capture->pipe,[push_empty],<content_or_empty>,[make_alternate]
content_or_empty-><content> | epsilon,[push_empty]

content2->pipe,<content>,[make_alternate] |pipe,[push_empty],[make_alternate] | epsilon

Expand Down
Loading

0 comments on commit 633dd23

Please sign in to comment.