![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: RegExp Help
From: Donald Arseneau <asnd@triumf.ca>
Date: Sat May 28 2005 - 06:03:21 CEST
"wxforecaster" <Evan.Bookbinder@noaa.gov> writes:
> I need the expression to begin with a new line character and then a
Do you want the match to return
> I've tried things like {(\n\.)[^[A-Z][A-Z][A-Z][0-9][0-9][0-9]]+} but
Your nested [[]] make no sense. It looks like you were trying to make
It looks like you want option b)
{\n\..*(?=[A-Z]{3}[0-9]{3})}
-- Donald Arseneau asnd@triumf.caReceived on Thu Sep 29 14:19:33 2005 |