GNOME Bugzilla – Bug 677578
error in PCRE error code conversion
Last modified: 2012-07-01 12:01:09 UTC
In gregex.c:translate_compile_error(), 100 is first added to errcode and then there's a switch on the errcode. However, several case: labels were using the unshifted PCRE err codes instead of the shifted ones, which means that these cases were never hit.
Created attachment 215769 [details] [review] regex: Fix PCRE error code conversion Use the shifted error codes for comparisions.
Review of attachment 215769 [details] [review]: Ugh, nice catch
Pushed to master.