Fixed the regex again. Thanks for the input @cs278 .
@nickvergessen The check will be executed by validate_data().