[ERPNextv5] AttributeError: 'NoneType' object has no attribute 'group'

Hello Schilgod,

I have run the bench update command, it showing the same error.
We have read about the error it lead us to “Python + Regex”, are we on right track?

Please suggest what we can do to resolve this kind of errors.

We have refer below references try to resolve the issue, but nothing help us out.

Thank You.