Added synchronized regexp sanitizer