updated.
use n option for regexp which contains \xff.