Closed mingodad closed 2 years ago
Here is the correct grammer.
START <- 'This is ' anyword ' ' MONTH '.'
MONTH <- ('Jan' | 'January' | 'Feb' | 'February' | '...') ![a-zA-Z]
anyword <- !MONTH [a-zA-z]+
Could you add that to the README ?
This is not a problem of Dictionary in particular, since it happens with any literal rules...
Thank you !
But I still think that having an example with ![a-zA-Z]
or !IdChar
on the README would help newcomers and probably less issues will be opened by then (like me).
Yes, the current README is like a feature reference document... I agree that it would be very helpful for new users to have something like a practical user guild.
Probably on the playground, a dropdown of examples with inputs, that can grow as new issues/questions arise. Like here https://go.dev/play/
I'm trying to use the
Dicitionary
functionality but it doesn't seem to work properly, I mean only matching whole words.Grammar:
Input ok:
Input not ok but I expected to be ok:
Output error: