Subject: bug#23949: 25.0.95; Regression in handling error caused by (string-match-p "." nil)

From: Eli Zaretskii <[email-masked]>
Date: Wed, 13 Jul 2016 18:06:28 +0300

> From: Stefan Monnier <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked],  [email-masked]
> Date: Wed, 13 Jul 2016 09:59:33 -0400
> 
> In the case of string-match-p I think we should get rid of
> inhibit-changing-match-data and implement string-match-p (and
> looking-at-p) some other way.

Why?  The only problem with the current implementation is when
string-match signals an error.  We need to make sure the error is
handled not under the binding of inhibit-changing-match-data.