On Wed, Oct 1, 2008 at 2:53 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
> Frank Stanovcak wrote:
>
>> I've got to pass about 9 or 10 calls to it, some of which will be
>> arrays, and I have to do it from several different places. Felt this
>> was a bit more elegant than hard coding the pregmatches u
At 8:53 AM +0200 10/1/08, Per Jessen wrote:
Code elegance is usually in the eye of the beholder, but personally I
would have stuck to a set of hardcoded preg_matches().
/Per Jessen, Zürich
I agree, however with this caveat:
Code elegance is in the eye of the beholder. It
is usually painful a
Frank Stanovcak wrote:
> I've got to pass about 9 or 10 calls to it, some of which will be
> arrays, and I have to do it from several different places. Felt this
> was a bit more elegant than hard coding the pregmatches unless there
> is an easier way.
Code elegance is usually in the eye of the
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 s
I've got to pass about 9 or 10 calls to it, some of which will be arrays,
and I have to do it from several different places. Felt this was a bit more
elegant than hard coding the pregmatches unless there is an easier way.
"Per Jessen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -Original Message-
> From: Frank Stanovcak [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 30, 2008 12:45 PM
> To: php-general@lists.php.net
> Subject: [PHP] Sterilizing regexp
>
> A while ago I asked a question and got a few answers, so I thought I
> would
> toss this out there as
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
>
7 matches
Mail list logo