Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Jun 2023 11:16:24 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271906] Aparent performance problem with basic and extended regular expressions
Message-ID:  <bug-271906-227-GT45VPngUG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-271906-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-271906-227@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=3D271906

--- Comment #4 from marius@isgate.is ---

So the in-base regex implementation is badly broken --=20

Additional problems (presumably with the regex lib also) are illustrated wi=
th
the following:

'=C3=BE' is the LATIN1 character THORN (0xfe)

    $ env LC_CTYPE=3Dis_IS.ISO8859-1 grep '=C3=BE'
    grep: trailing backslash (\)

    $ env LC_CTYPE=3Dis_IS.ISO8859-1 sed 's/=C3=BE/th/'
    sed: 1: "s/=C3=BE/th/": RE error: trailing backslash (\)

    $ env LC_CTYPE=3Dis_IS.ISO8859-1 expr "abc=C3=BEdef" : '...=C3=BE...'
    expr: trailing backslash (\)

Any plans to fix this - or revert the change in in-base regex?

--=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-271906-227-GT45VPngUG>