update options regexp

Fixed regexp provided by James.