maxpmaxp / pdfreader

Python API for PDF documents
MIT License
113 stars 26 forks source link

Regular expressions: review and reduce usage #32

Closed maxpmaxp closed 4 years ago

maxpmaxp commented 4 years ago

Review and reduce usage of regular expressions in parsers.

SanJJ1 commented 4 years ago

Just curious, why would you like to reduce regex?

maxpmaxp commented 4 years ago

@SanJJ1 Thank you for the comment. I reviewed the code and saw that I used re for parsing PDF header only apparently. Reducing this brings no value. Closing the issue.