You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have the post-processing with regex's. There is a somewhat surprising feature with Rust regex' crate that uses $FOO syntax to expand a named capture group. This should be documented so that others don't fall into this trap :)
E.g. if you want to replace /bla/sys/prefix with $ENV{PREFIX} you need to write $$ENV{PREFIX} otherwise it gets replaced as {PREFIX}.
The text was updated successfully, but these errors were encountered:
We have the post-processing with regex's. There is a somewhat surprising feature with Rust regex' crate that uses
$FOO
syntax to expand a named capture group. This should be documented so that others don't fall into this trap :)E.g. if you want to replace
/bla/sys/prefix
with$ENV{PREFIX}
you need to write$$ENV{PREFIX}
otherwise it gets replaced as{PREFIX}
.The text was updated successfully, but these errors were encountered: