I realized that we didn't add the information on the severity and error ID from the EPUBCheck report, which might be good to have for searchability. So that is one of the small changes in this PR.
The other one is more severe. The original time parsing code was written in PHP, which is not greedy in their regular expressions. So in this PR, I added the test case we had in PHP and fixed the hour/minute parsing code to handle greedy regular expressions correctly.
Hi @josteinaj
I realized that we didn't add the information on the severity and error ID from the EPUBCheck report, which might be good to have for searchability. So that is one of the small changes in this PR.
The other one is more severe. The original time parsing code was written in PHP, which is not greedy in their regular expressions. So in this PR, I added the test case we had in PHP and fixed the hour/minute parsing code to handle greedy regular expressions correctly.
Best regards Daniel