delorie.com/archives/browse.cgi | search |
Date: | Wed, 29 Sep 1999 10:43:24 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Oleg Ossovitskii <avatar AT netcity DOT ru> |
cc: | djgpp AT delorie DOT com |
Subject: | Re: Regexp |
In-Reply-To: | <938279461@p20.f44.n478.z2.FidoNet.ftn> |
Message-ID: | <Pine.SUN.3.91.990929104306.11087X-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, 25 Sep 1999, Oleg Ossovitskii wrote: > If I write regexp "[ZH]R-(16)" that don't match string ZR-16, but if I write > "[ZH]R-\\(16\\)" that matched ZR-16 & HR-16, but I need ZR-16 & > ZR-32! And if I write "[ZH]R-\\(16|32\\)" that don't match nor ZR-16 > nor ZR-32 and nor HR-16 etc. Close. You need to use "[ZH]R-\\(16\\|32\\)", I think.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |