From b3e9bdd846463c4e7ae74743ee40ee142a2167c3 Mon Sep 17 00:00:00 2001 From: Daniel Pfister <80419299+0x2a-42@users.noreply.github.com> Date: Wed, 25 Dec 2024 19:13:06 +0100 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3ed1cb5..3e77d53 100644 --- a/README.md +++ b/README.md @@ -369,7 +369,7 @@ Mixing left and right associative operators in the same branch is not allowed. #### Semantic Actions and Predicates Semantic actions can be defined at any point in a regex. -Semantic predicated can be defined at the beginning of an alternation branch, an optional or a repetition. +Semantic predicates can be defined at the beginning of an alternation branch, an optional or a repetition. The index of actions and predicates can be used multiple times in a rule. When the semantic action or predicate is visited in a parse it will execute the rust code of the corresponding associated function in the `PredicatesAndActions` trait implementation of the `Parser` type.