Update textManager.py

This commit is contained in:
chrys 2018-06-29 09:50:05 +02:00 committed by GitHub
parent 9746471dc8
commit c7eefb7d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,7 @@ import re, string
class textManager():
def __init__(self):
# https://regex101.com/
self.regExSingle = re.compile(r'(([^\w\s])\2{5,})')
self.regExDouble = re.compile(r'([^\w\s]{2,}){5,}')
def initialize(self, environment):