From unknown Tue Jun 17 20:06:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16844 <16844@debbugs.gnu.org> To: bug#16844 <16844@debbugs.gnu.org> Subject: Status: Facing some issues while creating one regular expression Reply-To: bug#16844 <16844@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:06:13 +0000 retitle 16844 Facing some issues while creating one regular expression reassign 16844 grep submitter 16844 Machindra Dharmadhikari severity 16844 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 22 11:06:42 2014 Received: (at submit) by debbugs.gnu.org; 22 Feb 2014 16:06:42 +0000 Received: from localhost ([127.0.0.1]:35839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHF6A-0000dF-9u for submit@debbugs.gnu.org; Sat, 22 Feb 2014 11:06:42 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48193) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHB9Q-0000vI-Cv for submit@debbugs.gnu.org; Sat, 22 Feb 2014 06:53:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHB9K-0007y4-3Q for submit@debbugs.gnu.org; Sat, 22 Feb 2014 06:53:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHB9J-0007xx-Vt for submit@debbugs.gnu.org; Sat, 22 Feb 2014 06:53:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHB9J-00050B-2l for bug-grep@gnu.org; Sat, 22 Feb 2014 06:53:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHB9I-0007xe-4w for bug-grep@gnu.org; Sat, 22 Feb 2014 06:53:41 -0500 Received: from mail-ea0-x242.google.com ([2a00:1450:4013:c01::242]:54134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHB9H-0007xW-TQ for bug-grep@gnu.org; Sat, 22 Feb 2014 06:53:40 -0500 Received: by mail-ea0-f194.google.com with SMTP id o10so1101737eaj.9 for ; Sat, 22 Feb 2014 03:53:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1B0XRzmCGEh/bdtvFk5nbcm42GEZRWA0Y+0KEuUfRVY=; b=oRN1vT4iP7c9+5E9NZflvP0A9iMXI8YLC2BXvS1Y8okfG9/j8QHVgi3U3U5Q55rjbu 6CcSNW5cVzlZ0Up6AIRNJHRFnAvhK4yCWIC8xE/dhJaZ4l8Y3o274xO3QpJjUh6PrsFs x9gxGM1bSMEe3c4GvC9k2JQrmf1d6/LwudXybVWgP+S73rTLtzCACqs9/Q2Fx63y/QTo 4HxOXMHKKuXszFZcmZ1+ugCsNW8daLjdRJNC8ktoLc4RVz5y2994sPical4CP25bDj6a tbzp5gxUFWZ3C6XnFFapGT/RFYS4XT1rb0X15U0sbPmuMuX2SXrlx1O2riOmlXrfxZIP zDMQ== MIME-Version: 1.0 X-Received: by 10.15.65.68 with SMTP id p44mr13748424eex.63.1393070018421; Sat, 22 Feb 2014 03:53:38 -0800 (PST) Received: by 10.14.105.130 with HTTP; Sat, 22 Feb 2014 03:53:38 -0800 (PST) Date: Sat, 22 Feb 2014 17:23:38 +0530 Message-ID: Subject: Facing some issues while creating one regular expression From: Machindra Dharmadhikari To: bug-grep@gnu.org Content-Type: multipart/alternative; boundary=001a11c3f37298698e04f2fd638a X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 22 Feb 2014 11:06:37 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) --001a11c3f37298698e04f2fd638a Content-Type: text/plain; charset=ISO-8859-1 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 --001a11c3f37298698e04f2fd638a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Team,

Could you please= help me to create one regular expression. I think this (*) special charact= er has not handled in egrep. because i have tried it many ways but couldn&#= 39;t get required expression.

Could you please help me in this.

Problem : Fi= le contains following lines:
#* hard maxlogins 10
@Student hard maxlo= gins 10
* hard maxlogins 10
hard maxlogins 10
#* hard maxlogins 10= 24

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


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

Thanks & Regards,
Machindra Dharmadhikari

<= /div> --001a11c3f37298698e04f2fd638a-- From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 08 14:24:27 2014 Received: (at 16844-done) by debbugs.gnu.org; 8 Mar 2014 19:24:28 +0000 Received: from localhost ([127.0.0.1]:57003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMMrD-0007dD-O2 for submit@debbugs.gnu.org; Sat, 08 Mar 2014 14:24:27 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:41674) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WMMrB-0007d5-N9 for 16844-done@debbugs.gnu.org; Sat, 08 Mar 2014 14:24:26 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 55D8E39E8013 for <16844-done@debbugs.gnu.org>; Sat, 8 Mar 2014 11:24:25 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0N6JCo-ETqsK for <16844-done@debbugs.gnu.org>; Sat, 8 Mar 2014 11:24:25 -0800 (PST) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 0794939E8008 for <16844-done@debbugs.gnu.org>; Sat, 8 Mar 2014 11:24:25 -0800 (PST) Message-ID: <531B6E68.4030205@cs.ucla.edu> Date: Sat, 08 Mar 2014 11:24:24 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: 16844-done@debbugs.gnu.org Subject: Re: Facing some issues while creating one regular expression Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 16844-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) The regular expression '\*' matches the string '*'. From unknown Tue Jun 17 20:06:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 06 Apr 2014 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator