with_scope allows passing variable (strings) that will be converted in regexp if the format is okay (see the spec)