RE: Problem with start of line "^" RE and subst

Juan José Evangelista <[email protected]> Tue, 25 Feb 2003 22:18:23 -0300
Newsgroups gmane.comp.jakarta.regexp.user
Message-ID <004101c2dd34$f8bbcb90$0a00000a@juanjoepc>
If you want the string "//" you need to put "////"

Cuando el carro se ha roto mucho os dirán por donde se debía pasar. -
Proverbio Turco

____________________________________ 
Desde Quilmes, Argentina
Juan José Evangelista
www.juanjoe.com 
yahoo messenger: juanjoe33
ICQ: 25094649
 	
MSN: [email protected] 
AIM: juanjoe68
____________________________________
 
 


> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> Sent: Tuesday, February 25, 2003 06:05
> To: [email protected]
> Subject: Problem with start of line "^" RE and subst 
> 
> 
> Hi!
> 
> I have the problem that I receive urls without "http://" 
> part, so I used 
> "^" as match and "http://" as replacement in RE.subst
> 
> No that I call myre.subst("test.me","http://") it comes out as 
> "http://est.me" and the "t" is missing. 
> 
> What's wrong? 
> 
> Harry
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
>