[Bug 130504] [libc] Serious bug in regular expression library (regex) affected sed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 23 20:32:59 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=130504
Pedro F. Giffuni <pfg at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|In Discussion |Issue Resolved
CC| |pfg at FreeBSD.org
Resolution|--- |Unable to Reproduce
--- Comment #9 from Pedro F. Giffuni <pfg at FreeBSD.org> ---
Cannot reproduce:
$ uname -a
FreeBSD kakumen 10.0-STABLE FreeBSD 10.0-STABLE #4 r267707: Sat Jun 21 19:40:06
COT 2014 pfg at kakumen:/usr/obj/usr/src/sys/GENERIC amd64
$ echo "ab" | sed -E "s/(()|.)(b)/[&]/"
[ab]
$ echo "ab" | sed -E "s/(.|())(b)/[&]/"
[ab]
$ echo XababaYababaZ | sed -E
's/((X)(aba|b|ab)(aba|b|ab)(Y)(aba|b|ab)*(Z))/[\1] =>
[\2][\3][\4][\5][\6][\7]/'
[XababaYababaZ] => [X][ab][aba][Y][b][Z]
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list