Skip to content
This repository was archived by the owner on Oct 23, 2019. It is now read-only.

correction.py to supported regular expressions #352

Open
Violet-Vibes opened this issue Jan 24, 2019 · 1 comment
Open

correction.py to supported regular expressions #352

Violet-Vibes opened this issue Jan 24, 2019 · 1 comment

Comments

@Violet-Vibes
Copy link

would it be possible to have correction.py supported regular expressions? ie, s/.*/something to replace everything in last line

@linuxdaemon
Copy link

This was avoided in the past for a few reasons:

  1. To avoid confusing non-technical users
  2. To avoid possible performance/DoS issues as more complicated regular expressions (though this was never confirmed to be a legitimate issue)

For the first one, maybe a certain flag at the end or a different prefix could be used to separate the two implementations, for the latter I'm not sure. It needs to be load tested and audited though

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants