Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 08:03:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 255182] www/hiawatha : regexp error on 13
Message-ID:  <bug-255182-7788-9J7BPhoAiA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255182-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255182-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255182

Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> changed:

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

--- Comment #1 from Fernando Apestegu=C3=ADa <fernape@FreeBSD.org> ---
Small repro:

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

int
main()
{
        regex_t regexp;
        int ret =3D regcomp(&regexp, "\\s*", REG_EXTENDED | REG_ICASE |
REG_NOSUB);
        if ( ret !=3D 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-CURR=
ENT
#11 main-n245984-15221c552b3c with error 5 REG_EESCAPE   `\' applied to
unescapable character.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255182-7788-9J7BPhoAiA>