[ragel-users] How to do substring match in ragel?

RU ragel-user at jgoettgens.de
Tue Oct 15 17:54:13 UTC 2013


Obviously, you need to read the documentation. Then there is the example directory. I would 
recommend to start with the simple ones and augment them with additional actions, just to see 
the effect and to learn when they are called. You must really know what an "entering", 
"finishing", "all transition", or "leaving" action does and when these actions happen.

At some point you must decide whether you want a state machine or a scanner for your project. 
The state machine does not do something like a longest match. You will find out soon what makes 
sense in which situation.

_______________________________________________
ragel-users mailing list
ragel-users at complang.org
http://www.complang.org/mailman/listinfo/ragel-users



More information about the ragel-users mailing list