escaping '[' in regex