Closed mgood7123 closed 5 years ago
What is the expected behavior here? I don't even think your regex has valid syntax because the ?
character is a special character...
Next time you open an issue you should add a description of exactly what the issue is - what you expected, what you got, and what you think the bug is.
Okay so you want to use a regex lookahead feature. No mpc doesn't support this and probably wont because it is too complicated to support and mpc doesn't have a complete regex engine.
in mpc_re_mode
how are the parens processed, as
mpc_define(Base, mpc_or(4,
mpc_parens(Regex, (mpc_dtor_t)mpc_delete),
mpc_squares(Range, (mpc_dtor_t)mpc_delete),
mpc_apply_to(mpc_escape(), mpcf_re_escape, &mode),
mpc_apply_to(mpc_noneof(")|"), mpcf_re_escape, &mode)
));
is confusing
nvm, it applies the parser Regex to whatever is inbetween the result of parens
i cant figure out how to obtain the text captured by the parser Regex
ughhhhhh this is imposible ;-;