Message176813
| Author |
serhiy.storchaka |
| Recipients |
ezio.melotti, mrabarnett, pitrou, serhiy.storchaka, sjmachin |
| Date |
2012年12月02日.22:40:27 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1354488027.95.0.588317456006.issue11204@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
$ echo 'bbbbbaaa' | grep -o 'b\{1,3\}a'
bbba
$ echo 'bbbbbaaa' | grep -o 'b\{1, 3\}a'
grep: Invalid content of \{\}
$ echo 'bbbbbaaa' | egrep -o 'b{1,3}a'
bbba
$ echo 'bbbbbaaa' | egrep -o 'b{1, 3}a'
$ echo 'bbb{1, 3}aa' | LC_ALL=C egrep -o 'b{1, 3}a'
b{1, 3}a
I.e. grep raises error and egrep chooses silent verbatim meaning. I don't know what any standards say about this. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年12月02日 22:40:27 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, sjmachin, pitrou, ezio.melotti, mrabarnett |
| 2012年12月02日 22:40:27 | serhiy.storchaka | set | messageid: <1354488027.95.0.588317456006.issue11204@psf.upfronthosting.co.za> |
| 2012年12月02日 22:40:27 | serhiy.storchaka | link | issue11204 messages |
| 2012年12月02日 22:40:27 | serhiy.storchaka | create |
|