The similar question and the author's website give me solutions like this:
Identifier "identifier"
= !ReservedWord [A-Za-z_]+
ReservedWord
= "test"
/ "abc"
This solution can't parse an identifier like this "test_var".
In this example, the grammar !ReservedWord will exclusive all variables starting with "test" or "abc".
Thanks in advance.