Added missing imports an modified regex (escaped)