Re: RegExp Help
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: RegExp Help

From: Donald Arseneau <asnd@triumf.ca>
Date: Sat May 28 2005 - 23:57:33 CEST

Donald Arseneau <asnd@triumf.ca> writes:

> {\n\..*(?=[A-Z]{3}[0-9]{3})}

Sorry, that was supposed to be

  {\n\..*?(?=[A-Z]{3}[0-9]{3})}

for a "non-greedy" match (equivalent to the [^...] pattern).

-- 
Donald Arseneau                          asnd@triumf.ca
Received on Thu Sep 29 14:19:34 2005