RegExp: fix error report: offset isn't really used for PCRE