Hi, it passed a long time since i was here and i get back :)
I found some interested piece of code so if anyone can explain me what he do i will be very appreciate.
Just please dont tell me to :rtfm:, i do but it is too complicated.
I found some interested piece of code so if anyone can explain me what he do i will be very appreciate.
Just please dont tell me to :rtfm:, i do but it is too complicated.
Code:
$tmp = StringRegExp(FileRead($file), '(?s)\[(\d+)\].*?\v1=(\V+)', 3) ;~ _ArrayDisplay($tmp, "Results") Redim $matches[UBound($tmp)/2][3] For $i = 0 to UBound($tmp)-1 step 2 $matches[$i/2][0] = $i/2 $matches[$i/2][1] = $tmp[$i] $matches[$i/2][2] = $tmp[$i+1] Next