hi all...
ok so i have a file and what i wish to do is read all the lines usilng readline()
then for everyline i need to read and match lines and form groups.
how i need to do this is that say for example... line[0] match move to line[3] and while i have a match here. stop, count and form a group.
so say for example:
1 32 23 26............
1 1 65 26............ so while all list[0] values are same
1 22 55 26............ and all list[3]are same count
2 1 19 1.......
2 2 19 1.......
2 1 30 1.......
i have been reading the regular exp stuff, however i DO NOT KNOW what numbers will be i need to match i suppose... anything i can read? any websites etc that anyone can suggest... would be great