Public bug reported:
Package: grep 2.16-1
Ubuntu 14.04
These two commands run against the attached file testcase.txt produce different
results. First one matches, second one doesn't. They should not give different
results. * should match zero or more items and in this case there is 1 item.
$ cat testcase.txt | egrep 'ppp_connected[^[:alnum:]]'
ppp_status : 'ppp_connected',
$ cat testcase.txt | egrep 'ppp_connected[^[:alnum:]]*'
** Affects: grep (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "testcase.txt"
https://bugs.launchpad.net/bugs/1581278/+attachment/4661666/+files/testcase.txt
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1581278
Title:
* repetition operator wierdness
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1581278/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs