delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Matthew Woehlke <mw_triad AT users DOT sourceforge DOT net> |
Subject: | Re: Bash regular expressions |
Date: | Tue, 19 Dec 2006 15:00:26 -0600 |
Lines: | 15 |
Message-ID: | <em9jta$cuh$2@sea.gmane.org> |
References: | <45884F6E DOT 5070701 AT yandex DOT ru> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061025 Thunderbird/1.5.0.8 Mnenhy/0.7.4.0 |
In-Reply-To: | <45884F6E.5070701@yandex.ru> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Boris Toloknov wrote: > It seems that regular expressions [[ str =~ regex ]] do not work in bash. > For example the following expression doesn't match: > [[ abc =~ 'a.*c' ]] && echo It works > while the simple substring matches: > [[ abc =~ 'bc' ]] && echo It works > Is it a bug ? WJFFM. Maybe you should start with: > Problem reports: http://cygwin.com/problems.html -- Matthew This message is non-smoking -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |