GNU bug report logs - #16844
Facing some issues while creating one regular expression

Previous Next

Package: grep;

Reported by: Machindra Dharmadhikari <machindra89 <at> gmail.com>

Date: Sat, 22 Feb 2014 16:07:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Machindra Dharmadhikari <machindra89 <at> gmail.com>
Subject: bug#16844: closed (Re:  Facing some issues while creating one
 regular expression)
Date: Sat, 08 Mar 2014 19:25:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#16844: Facing some issues while creating one regular expression

which was filed against the grep package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 16844 <at> debbugs.gnu.org.

-- 
16844: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16844
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: 16844-done <at> debbugs.gnu.org
Subject: Re:  Facing some issues while creating one regular expression
Date: Sat, 08 Mar 2014 11:24:24 -0800
The regular expression '\*' matches the string '*'.

[Message part 3 (message/rfc822, inline)]
From: Machindra Dharmadhikari <machindra89 <at> gmail.com>
To: bug-grep <at> gnu.org
Subject: Facing some issues while creating one regular expression
Date: Sat, 22 Feb 2014 17:23:38 +0530
[Message part 4 (text/plain, inline)]
Hi Team,

Could you please help me to create one regular expression. I think this (*)
special character has not handled in egrep. because i have tried it many
ways but couldn't get required expression.

Could you please help me in this.

Problem : File contains following lines:
#* hard maxlogins 10
@Student hard maxlogins 10
* hard maxlogins 10
hard maxlogins 10
#* hard maxlogins 1024

I want to find only below line from above file. but * is not handling in
regular expression:
* hard maxlogins 10


10 can be replaced by any value. and hard can be - as well. I want to these
cases as well.

Thanks & Regards,
Machindra Dharmadhikari
[Message part 5 (text/html, inline)]

This bug report was last modified 11 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.