Skip to content

Commit 647f8f0

Browse files
committed
TheAlgorithms#3847 remove unused regex
1 parent ea3be79 commit 647f8f0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

strings/swap_case.py

-6
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,6 @@
1111
GITHUB.COM/MAYUR200
1212
1313
"""
14-
import re
15-
16-
# This re.compile() function saves the pattern from 'a' to 'z' and 'A' to 'Z'
17-
# into 'regexp' variable
18-
regexp = re.compile("[^a-zA-Z]+")
19-
2014

2115
def swap_case(sentence):
2216
"""

0 commit comments

Comments
 (0)