Skip to content

Commit

Permalink
Update prompt_parser.py
Browse files Browse the repository at this point in the history
line 17: added grouped to prompt so that it is properly parsed
  • Loading branch information
Kittensx authored Nov 26, 2024
1 parent ac7187f commit 7ed526c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prompt_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

schedule_parser = lark.Lark(r"""
!start: (prompt | /[][():]/+)*
prompt: (emphasized | scheduled | alternate | plain | WHITESPACE)*
prompt: (emphasized | scheduled | grouped | alternate | plain | WHITESPACE)*
!emphasized: "(" prompt ")"
| "(" prompt ":" prompt ")"
| "[" prompt "]"
Expand Down

0 comments on commit 7ed526c

Please sign in to comment.