Backport r59862 (issue #712900): make long regexp matches interruptable
by signals.
2 files changed