프로그래밍/Python

[정규표현식] Escape 문자

1q 2015. 10. 13. 15:06

Escape Character

-> .*+?|()[]{}\


Escape all special regex characters (.*+?|()[]{}) from a string. 

Useful when dynamically building a Regular Expression object based on input text 

that could hold regex characters.