2 ms·
Sure, and that's exactly what re2c does too. It lets you do a match on multiple regexes: regex1 { code that executes if regex1 matches } regex2 { code that
by jules 8y ago
Sure, and that's exactly what re2c does too. It lets you do a match on multiple regexes:
regex1 { code that executes if regex1 matches }
regex2 { code that executes if regex2 matches }
regex3 { code that executes if regex3 matches }
- ori_b 8y agoYes, compiled into source code, which doesn't let you change the set of regexes at runtime.