結果 : create regex pattern from string python