--from does not accept pattern starting with #
Open
bug
- Dominant language
- Python
- Stars
- 374
- Forks
- 39
- Avg merge
- 3m
- Merged PRs (30d)
- 1
Description
```
$ repren --from '#include ' --to '#include ' .
error: found no parse patterns
```
Same with `--literal`:
```
$ repren --literal --from '#include ' --to '#include ' .
error: found no parse patterns
```
##
This is because it interprets the `#` as a comment character (in function `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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.