Update textManager.py
This commit is contained in:
parent
9746471dc8
commit
c7eefb7d5e
@ -9,6 +9,7 @@ import re, string
|
|||||||
|
|
||||||
class textManager():
|
class textManager():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
# https://regex101.com/
|
||||||
self.regExSingle = re.compile(r'(([^\w\s])\2{5,})')
|
self.regExSingle = re.compile(r'(([^\w\s])\2{5,})')
|
||||||
self.regExDouble = re.compile(r'([^\w\s]{2,}){5,}')
|
self.regExDouble = re.compile(r'([^\w\s]{2,}){5,}')
|
||||||
def initialize(self, environment):
|
def initialize(self, environment):
|
||||||
|
Loading…
Reference in New Issue
Block a user