We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b04de11 + a80cabd commit 0ef8cc8Copy full SHA for 0ef8cc8
pywhat/regex_identifier.py
@@ -1,4 +1,3 @@
1
-import copy
2
import re
3
from typing import Optional
4
@@ -28,7 +27,7 @@ def check(
28
27
reg["Boundaryless Regex"] if reg in boundaryless else reg["Regex"]
29
)
30
for matched_regex in re.finditer(regex, string, re.MULTILINE):
31
- reg_match = copy.deepcopy(reg)
+ reg_match = dict(reg)
32
matched = self.clean_text(matched_regex.group(0))
33
34
if (
0 commit comments