bug#26864: Clarification on obscure regular expressions mentioned in known bugs

2019-12-30 Thread Paul Eggert
On further thought, we shouldn't be encouraging palindromish REs in the manual, so that naive users aren't drawn into this mess. So I installed the attached further patch to the documentation. Of course it would be better to fix the back-reference bugs but this is low priority and I doubt whether

bug#26864: Clarification on obscure regular expressions mentioned in known bugs

2019-12-30 Thread Paul Eggert
On 5/10/17 1:48 AM, Sundeep Agarwal wrote: > my question is whether these regular expression examples come under > 'obscure regular expressions' mentioned in the man page. No, they're bugs in grep's regular expression implementation, which is taken from glibc. I filed a bug report against glibc h

bug#26864: Clarification on obscure regular expressions mentioned in known bugs

2017-05-10 Thread Sundeep Agarwal
Hello, >From the man page, version 'grep (GNU grep) 2.25' Known Bugs Large repetition counts in the {n,m} construct may cause grep to use lots of memory. In addition, certain other obscure regular expressions require exponential time and space, and