This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:27serhiy.storchakasetrecipients: + serhiy.storchaka, sjmachin, pitrou, ezio.melotti, mrabarnett
2012-12-02 22:40:27serhiy.storchakasetmessageid: <1354488027.95.0.588317456006.issue11204@psf.upfronthosting.co.za>
2012-12-02 22:40:27serhiy.storchakalinkissue11204 messages
2012-12-02 22:40:27serhiy.storchakacreate