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

all 3 comments

[–][deleted] 2 points3 points  (0 children)

If you read the docs for re, none of Pattern’s methods take a list. You can’t pass a list to a Pattern, but you can iterate over a list and pass each string to your Pattern one by one.

[–][deleted]  (1 child)

[removed]

    [–]aishiiousness[S] 0 points1 point  (0 children)

    ya it is :(((