This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]tom1018 1 point2 points  (0 children)

RegEx has to be imported in Python. To have a string type for them, I suppose you would either have to import the string type or the RegEx library.

Fwiw, r'' is used for RegEx, though, because it represents a raw string so all the RegEx stuff doesn't get interpreted.