Hexadite/korg — pull request #5 by Hexadite-Omri (2014-09-28 19:03:44+00:00)
Title: Adding a find all function that will return all the matched data (and st...art position) it finds according to the pattern.

For example:
pr = PatternRepo(['./patterns/'])
lg = korg.LineGrokker('%{IP:ip_add}', pr)
print lg.find_all("Lorem 1.1.1.1 ipsum 2.2.2.2 dolor sit 3.3.3.3 amet")
will return [{'position': 3, 'value': '1.1.1.1'}, {'position': 17, 'value': '2.2.2.2'}, {'position': 33, 'value': '3.3.3.3'}]