We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I just came across this project and I love it!
The idea to use vscode regexp can potentially save a lot of time while writing complicated queries for rg.
My example use case is querying '^\h*\\begin\{$2[\w\*]*?\}\s*(?:\\label\{([^\}])\}|\[(.*)\])', where $2 is transformed according to
'^\h*\\begin\{$2[\w\*]*?\}\s*(?:\\label\{([^\}])\}|\[(.*)\])'
"periscope.rgQueryParams": [ { "regex": "((?<=(?<![\\w\\#\\@]))@([a-zA-Z]+(?:\\\\*)?)(?=(?:$|\\s)))", "param": "-e '^\\h*\\\\begin\\{$2[\\w\\*]*?\\}\\s*(?:\\\\label\\{([^\\}])\\}|\\[(.*)\\])'" } ]
I clumsily implemented this-- I pass the query as and additional flag -e .... If you're interested I can make a PR and discuss the specifics.
-e ...
The text was updated successfully, but these errors were encountered:
Hey @PiotrSokol
If you think there is value for others then feel free to raise a PR.
I'm always curious to understand how periscope is being used. :) glad you like it 👍
Sorry, something went wrong.
No branches or pull requests
Hi, I just came across this project and I love it!
The idea to use vscode regexp can potentially save a lot of time while writing complicated queries for rg.
My example use case is querying
'^\h*\\begin\{$2[\w\*]*?\}\s*(?:\\label\{([^\}])\}|\[(.*)\])'
, where $2 is transformed according toI clumsily implemented this-- I pass the query as and additional flag
-e ...
.If you're interested I can make a PR and discuss the specifics.
The text was updated successfully, but these errors were encountered: