Groups | Search | Server Info | Keyboard shortcuts | Login | Register


Groups > gnu.utils.bug > #2223

Bug of grep -E

From "iPack" <2741547153@qq.com>
Newsgroups gnu.utils.bug
Subject Bug of grep -E
Date 2017-12-06 23:02 +0800
Message-ID <mailman.5224.1512573244.27995.bug-gnu-utils@gnu.org> (permalink)

Show all headers | View raw


[urain39@urain39-pc ~]$ cat test
https://konachan.com/image/a4ff5caad2fa35faa2271df9badacd35/Konachan.com%20-%20255941%20blush%20brown_eyes%20crying%20fate_kaleid_liner_prisma_illya%20fate_%28series%29%20japanese_clothes%20kimono%20long_hair%20miyu_edelfelt%20purple_hair%20tagme_%28artist%29%20tears.jpg

[urain39@urain39-pc ~]$ cat test | grep -Eo '[0-9a-f]{32}/[0-9A-Za-z%_\.\-]+'
a4ff5caad2fa35faa2271df9badacd35/Konachan.com%20-%20255941%20blush%20brown_eyes%20crying%20fate_kaleid_liner_prisma_illya%20fate_%28series%29%20japanese_clothes%20kimono%20long_hair%20miyu_edelfelt%20purple_hair%20tagme_%28artist%29%20tears.jpg

[urain39@urain39-pc ~]$ cat test | grep -Eo '[0-9a-f]{32}/[0-9A-Za-z\-%_\.]+'
a4ff5caad2fa35faa2271df9badacd35/Konachan.com%20

It is bug ? or just my syntax error ?

Back to gnu.utils.bug | Previous | Next | Find similar


Thread

Bug of grep -E "iPack" <2741547153@qq.com> - 2017-12-06 23:02 +0800

csiph-web