-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: re-use $...
meta variable in rewrite expression
#251
Comments
|
That would be lovely! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the
$...
expression can capture a number of nodes it would be useful if this could in one way or another be re-used in the re-write expression.Right now the docs say "Spread metavariables are anonymous, so they cannot be bound to a name.", so anything captured there can't really be used.
The workaround I guess would be to use regex patterns.
The text was updated successfully, but these errors were encountered: