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.
parent
5c17b17c
Please register or sign in to comment