[Bug: 21.4.14] Stack overflow in regexp matcher