[Bug 255182] www/hiawatha : regexp error on 13

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 23 08:03:49 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255182

Fernando Apesteguía <fernape at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |fernape at FreeBSD.org

--- Comment #1 from Fernando Apesteguía <fernape at FreeBSD.org> ---
Small repro:

#include <regex.h>
#include <stdio.h>

int
main()
{
        regex_t regexp;
        int ret = regcomp(&regexp, "\\s*", REG_EXTENDED | REG_ICASE |
REG_NOSUB);
        if ( ret != 0) {
                printf("regexp compilation failed: %d\n", ret);
        }

        return 0;
}

This one works in 12.2 but fails to compile the regexp in FreeBSD 14.0-CURRENT
#11 main-n245984-15221c552b3c with error 5 REG_EESCAPE   `\' applied to
unescapable character.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list