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 Touch seeded packages, which is subscribed to grep in Ubuntu. https://bugs.launchpad.net/bugs/1581278 Title: * repetition operator wierdness Status in grep package in Ubuntu: New Bug description: 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:]]*' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1581278/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp