Re: Sterilizing regexp

From: Date: Tue, 30 Sep 2008 18:07:54 +0000
Subject: Re: Sterilizing regexp
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-281217@lists.php.net to get a copy of this message
Frank Stanovcak wrote: > A while ago I asked a question and got a few answers, so I thought I > would toss this out there as a follow up. I'm going to be using this > to return filtered regexp values for a user interface. > > I haven't had a chance to enter this into my code yet, so if anyone > sees something wrong please hammer away, otherwise I hope it helps > save some one some time. I think I'm missing the purpose - your code looks like you've wrapped a function around preg_match() so you can pass arrays to it as well, but I don't see much sanity anywhere :-) /Per Jessen, Zürich

« previous php.general (#281217) next »