Re: Regular Expression to search for double occurence of a pattern
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: Regular Expression to search for double occurence of a pattern

From: suchenwi <richard.suchenwirth-bauersachs@siemens.com>
Date: Fri Oct 28 2005 - 22:06:27 CEST

Another "pure regexp" solution:

% regexp {(name.*){2}} foo,name,grill,name,bar
1
Received on Mon Nov 21 00:36:49 2005