[Bug 232565] Regex implementation should not accept + modifier after {N}
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Oct 23 16:06:42 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232565
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 at FreeBSD.org
Reporter: arichardson at 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 after
the [0-9].
See also https://svnweb.freebsd.org/changeset/base/339635
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list