fix inline translation regexp