with python and regex I attempt to match repeating/overlapping patterns/blocks like
04/00127-48
U 05062012
A: SAKARK
T_ Par.: dsfsd
in
04/00127-48
U 05062012
A: SAKARK
T_ Par.: dsfsd
04/00168-42
U 05062012
A: SAKARK
T_ Par.: fdfs
04/00168-43
U 05062012
A: SAKARK
T_ Par.: fdfs
I have tried
'(?=(\d+\/.*))'
this seem to work
'((\d+\/.*?)=?\d+\/)
but is there a better approach?
re.DOTALLflag.