Skip to content

generators fail when expression contains regex and some options are given #10

@nmichel

Description

@nmichel

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions