[Bug 1003631] New: Long regular expression back-reference number wraps to negative value and causes a segmantion fault