[tpm] quicky regex question

Emil Janev ejanev at gmail.com
Wed Sep 22 11:34:29 PDT 2010


Hi Fulko,

I tried this one, and I think it gives the same result:

44.

If it was working for you, was it maybe:

/^((\d*\.){$n})/

This one gives:

00.99.88.77.66.55.44.

Regards,
Emil



> Nevermind... that neuron finally decided to fire!
> The answer is an extra set of 'capture'.  Ie.
>
> /^((\d*\.)){$n}/
>
>
> _______________________________________________
> toronto-pm mailing list
> toronto-pm at pm.org
> http://mail.pm.org/mailman/listinfo/toronto-pm
>
>


-- 
Emil Janev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20100922/f1e8c219/attachment.html>


More information about the toronto-pm mailing list