Looks like a bug in the regexp engine. (gdb) x/i $lr 0xffffb704c890 <QV4::RegExp::match(QString const&, int, unsigned int*)+4064>: mov w24, w0