[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    RE: [PHP] Simple preg I think [SOLVED]
From:       "Dave Carrera" <dave () ephgroup ! com>
Date:       2004-05-31 6:02:01
Message-ID: 000801c446d4$cae0fcd0$0301a8c0 () daveslaptop
[Download RAW message or body]

Thanks to everyone who answered my request for help with this.

Yes, as some of you have pointed out, the pattern was correct but my logic
was wrong.

So once again thank you to all that helped.

Dave C  :-)

-----Original Message-----
From: Liu Jihua [mailto:kidylius@163.com] 
Sent: 31 May 2004 01:53
To: Dave Carrera
Subject: Re: [PHP] Simple preg I think


Dave Carrera
	You are right!

	$str	= "asdf./test";
	echo preg_match("/\.\//", $str ,$arr);	//print 1
	print_r($arr);	

======= 2004-05-30 11:55:00 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======

>Hi List,
>
>How do I match an accordance of "./" in a string (without the quotes) ?
>
>I have tried preg_match("/\.\//i", $str);
>
>Which I thought would work , as per the manual, but no joy.
>
>Any help or guidance is appreciated
>
>Thank you in advance
>
>Dave C
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.692 / Virus Database: 453 - Release Date: 28/05/2004
> 
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php

= = = = = = = = = = = = = = = = = = = =
			

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ö 
Àñ£¡
 
				 
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Liu Jihua
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡kidylius@163.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2004-05-31






---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.692 / Virus Database: 453 - Release Date: 28/05/2004
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.692 / Virus Database: 453 - Release Date: 28/05/2004
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic