Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 442 Bytes

ragel-machine-notation.md

File metadata and controls

19 lines (17 loc) · 442 Bytes

Ragel State Machine operators

As used in the regular expressions cited in various shaper-engine guides.

a* = zero or more copies of a
b+ = one or more copies of b
c? = optional instance of c
d{n} = exactly n copies of d
d{,n} = zero to n copies of d
d{n,} = n or more copies of d
d{n,m} = n to m copies of d
!e = not e
^f = character-level not f
g.h = concatenation of g and h
i|j = i or j
( ) = grouping of expression elements