Fix handling of inlined regexp since we have to double escape reverse-slashes, and consider more cases where inlined regex could be
forgot delete this file