diff --git a/plugins/correction.py b/plugins/correction.py index 9cf8345..67a5a09 100644 --- a/plugins/correction.py +++ b/plugins/correction.py @@ -2,7 +2,7 @@ from util import hook import re -CORRECTION_RE = re.compile(r'^(s|S)/.*/.*/\S*$') +CORRECTION_RE = r'^(s|S)/.*/.*/\S*$' @hook.regex(CORRECTION_RE)