Open rofl0r opened 4 years ago
with 6.10, [-0-9] or [0-9-] cause a parse error, however with latest git the following expression causes ragel to go into infinite loop:
[-0-9]
[0-9-]
main := [ \t] +( ( ( ( ( ( [0-9] {1,3} >A $E ) [.] >A $E ) {3} [0-9] {1,3} >A $E )( [/] [0-9] + >A $E ) {0,1} >A $E )|(((( [0-9a-f:] {2,39} >A $E ) >A $E )|(( [0-9a-f:] {0,29} [:] ( ( ( [0-9] {1,3} >A $E ) [.] >A $E ) {3} [0-9] {1,3} >A $E ) >A $E ) >A $E ) >A $E )( [/] [0-9] + >A $E ) {0,1} >A $E ) >A $E )|( [a-z0-9._-] + >A $E ) >A $E ) [ \t\n] * ;
Thanks, will have to fix that.
with 6.10,
[-0-9]
or[0-9-]
cause a parse error, however with latest git the following expression causes ragel to go into infinite loop: