weboob.tools.value: normalize regexp for consistency
In Value.check_valid method, regexp in validation error message is not consistent with actual matching test: it uses re.match and adds ending anchor. We can "normalize" regexp in objet initialization to be consistent.
Showing
Please register or sign in to comment