generators fail when expression contains regex and some options are given
nmichel opened this issue Β· comments
Nicolas commented
Erlang re:compile/2 function doesn't appreciate options it doesn't know about π
option 1 - filter options to keep only those allowed by re:compile/2
option 2 - extend expression grammar to allow passing option in the regex matching expression
e.g. #"catch_me"(op1, op2, op3=value)
options2 is better because it allows different sets of options for each regex matching subpart in an matching expression