escape brackets in regex python

Solutions on MaxInterview for escape brackets in regex python by the best coders in the world