Ok, changing the regex to:
Code:
date_time_re = r'([0-2]?[0-9])[.:]([0-5][0-9])(?::([0-5][0-9])(?:\.([0-9]+))?)?\s*([AP]\.?M|Uhr)?\s*(?:[A-Z]{3}?([+-][0-2]?[0-9](?::[0-5][0-9])?))?'
That should fix the timestamp matching for German. From schnesim last debug log, I thing that will fix the errors " Unable to parse entries from 'My Clippings.txt'". I shouldn't break the other languages. At least no more than they are now.
And looking at the log file, the grouping of errors isn't obvious. There is some indentation, but the above isn't indented properly. The following are how they should be grouped:
Code:
DEBUG: 156.7 title==Kulturgeschichte der Neuzeit (German Edition)
DEBUG: 156.7 Found book_id=-16
DEBUG: 156.7 Unable to parse entries from 'My Clippings.txt'
I'll try and post a beta with the regex tonight. And a more obvious grouping of the messages.