in reply to How to write regex for special characters without using back slashes??

could quotemeta and or \Q ... \E be what you are looking for?

I have not tested this on the OP given data.

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me