Re: Is there a faster way to escape special characters in a regex?

From: Date: Tue, 12 Mar 2002 14:33:37 +0000
Subject: Re: Is there a faster way to escape special characters in a regex?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-88202@lists.php.net to get a copy of this message
On Tuesday 12 March 2002 22:30, Andrey Hristov wrote: > Yes they are identical. The rule is that the first and the last(excluding > modificators) symbol must be identical so > > |abc| > > ~abc~ > /abc/ > %abc%(not sure for that) should be ok. > are equivalent. The docs uses // syntax because it is the most popular. The delimiter could be anything as long as it's not alphanumeric or a backslash. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* I think we're in trouble. -- Han Solo */

« previous php.general (#88202) next »