Oops, forgot about "-C bsr" in previous patch.

This commit is contained in:
Philip.Hazel 2018-02-19 17:00:45 +00:00
parent af9bcb7f13
commit 553bf8a1dc
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,8 @@ groups altogether. Now it shows those that come before any actual captures as
3. Running "pcre2test -C" always stated "\R matches CR, LF, or CRLF only",
whatever the build configuration was. It now correctly says "\R matches all
Unicode newlines" in the default case when --enable-bsr-anycrlf has not been
specified.
specified. Similarly, running "pcfre2test -C bsr" never produced the result
ANY.
Version 10.31 12-February-2018

View File

@ -7793,7 +7793,7 @@ if (arg != NULL && arg[0] != CHAR_MINUS)
{
case CONF_BSR:
(void)PCRE2_CONFIG(coptlist[i].value, &optval);
printf("%s\n", optval? "ANYCRLF" : "ANY");
printf("%s\n", (optval == PCRE2_BSR_ANYCRLF)? "ANYCRLF" : "ANY");
break;
case CONF_FIX: