delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/08/10:03:50

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Envelope-Sender-Is: helmut DOT dipper AT sicad DOT de (at relayer david.siemens.de)
Message-ID: <3A09691E.795401B8@sicad.de>
Date: Wed, 08 Nov 2000 15:54:22 +0100
From: Helmut Dipper <helmut DOT dipper AT sicad DOT de>
Organization: SICAD Utilities
X-Mailer: Mozilla 4.51 [en] (X11; I; SunOS 5.7 sun4m)
X-Accept-Language: en,de
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: problem with '^' as first char in BRE for expr

I use bash and fileutils from the latest distribution
on Windows-NT 4.0 SP5.

expr 'abc' : '^a\(.\)c$'
delivers:
expr: warning: unportable BRE: `^a\(.\)c$': using `^' as the first
character
of the basic regular expression is not portable; it is being ignored

Question:
I think the character '^' in a BRE is not irrelevant,
why is it ignored?

Regards
Helmut Dipper

-- 
Helmut Dipper			| SICAD Utilities GmbH
phone: +49 89 636 41558	| Otto-Hahn-Ring 6
___fax: +49 89 636 49613 | D-81730 Muenchen

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019