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/>

index | next in thread | previous in thread | raw e-mail

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

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

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

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

'þ' is the LATIN1 character THORN (0xfe)

    $ env LC_CTYPE=is_IS.ISO8859-1 grep 'þ'
    grep: trailing backslash (\)

    $ env LC_CTYPE=is_IS.ISO8859-1 sed 's/þ/th/'
    sed: 1: "s/þ/th/": RE error: trailing backslash (\)

    $ env LC_CTYPE=is_IS.ISO8859-1 expr "abcþdef" : '...þ...'
    expr: trailing backslash (\)

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

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271906-227-GT45VPngUG>