Reading through Ragel guide, I see examples like this one:

# Match a word followed by a newline. Execute A when
# finishing the word.
main :=* (* lower+ %A *)* . '\n';

Question I have is: why is grouping used here ? Could this be written
simply as

main :=* * lower+ %A  . '\n';

And if not, what would be the difference ?
_______________________________________________
ragel-users mailing list
ragel-users@complang.org
http://www.complang.org/mailman/listinfo/ragel-users

Reply via email to