make rop search a regular expression

its a bit slower, but it works
bad indent