Escape key when building regex