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: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#16844: closed (Facing some issues while creating one regular
 expression)
Date: Sat, 08 Mar 2014 19:25:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 08 Mar 2014 11:24:24 -0800
with message-id <531B6E68.4030205 <at> cs.ucla.edu>
and subject line Re:  Facing some issues while creating one regular expression
has caused the debbugs.gnu.org bug report #16844,
regarding Facing some issues while creating one regular expression
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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 3 (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 4 (text/html, inline)]
[Message part 5 (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 '*'.


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.