Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script1 = abc*
- script2 = *abc
- script3 = *abc*
- script1 = ^abc
- script2 = [abc]$
- script3 = [abc]
- script4 = abcdefg
- script5 = 123abc
- script6 = 123abcdefg
- if script = re.match(script1)
- return True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement