Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In python 3.12+ this escaping is reported as syntax error. Moving the dash to the end of the regex avoids the need for escaping it. oletools/oleobj.py:537 /rpmbuild/BUILD/oletools-78b2d459a33df378a4f69ffc6c33313509cecfe4/oletools/oleobj.py:537: SyntaxWarning: invalid escape sequence '\-' sane_fname = re.sub(u'[^a-zA-Z0-9.\-_ ]', replacement, basepath)
- Loading branch information