come
8/23/2007 11:57:00 AM
On 23 ao?t, 11:23, Schu <use...@vista-development.net> wrote:
> hi people!
>
> i can't info on that - is there anything comparable to the
> functionality of ereg() or preg_match() of PHP under ruby?
>
> thx in advance
> S
Hi,
Of course :
I don't know PHP but I think match is the closer equivalent of ereg
re.match(string) or string.match(re) => object matchdata
This object matchdata has methods like pre_match and post_match.
Come