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
$ repren --from '#include <a.h>' --to '#include <b.h>' . error: found no parse patterns
Same with --literal:
--literal
$ repren --literal --from '#include <a.h>' --to '#include <b.h>' . error: found no parse patterns
This is because it interprets the # as a comment character (in function parse_patterns()).
#
parse_patterns()
It would be nice if this comment logic did not apply when patterns are supplied directly via --from --to, and/or when --literal is given.
--from
--to
The text was updated successfully, but these errors were encountered:
Yeah, agreed. Feel free to submit a PR (with a test showing it working).
Sorry, something went wrong.
No branches or pull requests
Same with
--literal
:This is because it interprets the
#
as a comment character (in functionparse_patterns()
).It would be nice if this comment logic did not apply when patterns are supplied directly via
--from
--to
, and/or when--literal
is given.The text was updated successfully, but these errors were encountered: