IOPi.py line 156: model = re.match('(.*?)\\s*\\s*(.*)', line)
1502 Views - Created 05/11/2018
I checked this line and found out that is not working.
Correct would be:
model = re.match('(.*?)\\s*:\\s*(.*)', line)!
The difference is the ':' between '\\s*' and '\\s*'.
I checked the behavior with python 3.7 and through the page 'https://regex101.com/r/iB5dI0/7'
It seems to be that the syntax '(.*?)' of 're' needs a singular delemiter - like: 'do it until...'. An unlimited chain seems not to be allowed.
Thank you for spotting the bug in the regex code. I have updated all of the python libraries with the new code so it should be working correctly now.
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.