Regular Expression String Matching Algorithm Examples Python Programming