in reply to string format validation

perl -ne'm|name:\w+,version:\d+,date:\d\d/\d\d/\d\d| or warn "$.:Malformed line: $_\n"' thefile