Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2018 16:06:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 232565] Regex implementation should not accept + modifier after {N}
Message-ID:  <bug-232565-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 232565
           Summary: Regex implementation should not accept + modifier
                    after {N}
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: arichardson@FreeBSD.org

The macOS regex library rejects a regex like
"SHM_[A-Z]+[[:space:]]+[0-9]{6}+" since there is an additional + character
after the {N} group.

I believe this should not be accepted since there is already a quantifer af=
ter
the [0-9].

See also https://svnweb.freebsd.org/changeset/base/339635

--=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-232565-227>