Arturo 'Buanzo' Busleiman
12/26/2004 12:56:00 PM
Glenn Parker wrote:
> pkv = Regexp.new(';?\s*(?:Path=([^,]+),?)?\s*(?:([^=]+)=([^;]+))?')
> input.scan(pkv) do |path, key, value|
> puts "path=#{path} key=#{key} value=#{value}"
> end
Whoa! Thank you very much! Now I'll try to understand that regexp, and learn from it. Thanks for
your precious time :)
--
Arturo "Buanzo" Busleiman - www.buanzo.com.ar - GNU/Linux Documentation
President, Open Information System Security Group - Argentina
In the darkest night, If my memory serves me right, I'll never turn back
time, Forgetting you, but not the time (Green Day, Whatsername)