i am currently trying to do a regex on python that should match multiline.
([0-9]{2}\.[0-9]{2}\.[0-9]{4}\s[0-9]{2}:[0-9]{2}:[0-9]{2}).*?\r\n-{1,}\sFG\s{3,}?4
is my regular expression, this is my python call
re.findall("([0-9]{2}\.[0-9]{2}\.[0-9]{4}\s[0-9]{2}:[0-9]{2}:[0-9]{2}).*?\r\n-{1,}\sFG\s{3,}?4.*?", content, flags=re.M)
However when I use the Regex for example in Notepad++ it provides me with the proper matches whereas in python it does not match anything at all (here is an example string that is matched in npp but not in python)
19.04.2016 01:59:18 ASDF
---- FG 3
--------------- ASDF
19.04.2016 01:59:21 ASDF
---- FG 4
--------------- ASDF
19.04.2016 01:59:22 ASDF
---- FG 4
--------------- ASDF
I am also sure that there in fact is a \r\n since npp provides me with matches.
Since I am using the multiline flag I have absolutely no idea why my regex won't work.