[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38725: Regexp bug

From: Chewbaka Roskov
Subject: bug#38725: Regexp bug
Date: Mon, 23 Dec 2019 23:09:28 +0100


akem@akem-HP:~$ sed --version
sed (GNU sed) 4.4
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jay Fenlason, Tom Lord, Ken Pizzini,
and Paolo Bonzini.
GNU sed home page: <http://www.gnu.org/software/sed/>.
General help using GNU software: <http://www.gnu.org/gethelp/>.
E-mail bug reports to: <address@hidden>.

Regular expression bug:

akem@akem-HP:~$ echo '112233' | sed 's/2*//'  ### DOESN'T WORK
akem@akem-HP:~$ echo '112233' | sed 's/1*//'  ### THIS ONE WORK
akem@akem-HP:~$ echo 'ee112233' | sed 's/1*//'  ### BUT THIS ONE DOES NOT


Best regards.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]