Fix: Escape backslash correctly in regular expressions