Now that pygrep (#630) is a much more portable alternative, pcre is unnecessary and should be deprecated.
A deprecation warning should be issued when loading a configuration containing language: pcre and should point the consumer in the right direction to correcting it (either by suggesting a pull request, or by indicating they should modify their local configuration).
The pcre language will likely be removed in pre-commit==2.0.0
Now that pygrep (#630) is a much more portable alternative, pcre is unnecessary and should be deprecated.
A deprecation warning should be issued when loading a configuration containing
language: pcreand should point the consumer in the right direction to correcting it (either by suggesting a pull request, or by indicating they should modify theirlocalconfiguration).The
pcrelanguage will likely be removed inpre-commit==2.0.0