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
search("core", ".//Call/func/Name[@id='AccountFrozenEmail']", recurse=True, print_matches=True) [('core/services/account.py', 15)]
Instead of printing matches, would it be possible to return the matches as strings?
The text was updated successfully, but these errors were encountered:
Workaround for python 3.4+ using a context manager
https://stackoverflow.com/a/40984270/2966951
Sorry, something went wrong.
This is addressed in my fork which separates out searching/printing - https://github.com/spookylukey/pyastgrep/blob/122343e1cbe370e1d6995cd67f2258eb860623a3/src/pyastgrep/search.py#L84
No branches or pull requests
Instead of printing matches, would it be possible to return the matches as strings?
The text was updated successfully, but these errors were encountered: