RE: regexp for validating DOS 8.3 filename

2002-02-12 Thread Jason Larson
> I'm sure this is simple but I'm getting more and more confused: Don't feel bad - I stay that way! :) > I want to validate input so that it is either: >a valid dos filename (we still use it) >up to 12 alphanumeric characters (inc spaces) >nothing (in which case 'none' would be enter

regexp for validating DOS 8.3 filename

2002-02-12 Thread jpf
I'm sure this is simple but I'm getting more and more confused: I want to validate input so that it is either: a valid dos filename (we still use it) up to 12 alphanumeric characters (inc spaces) nothing (in which case 'none' would be entered by default Here's my snippet: #!/usr/bin/perl