D
David Nguyen
Hi,
I need a regular expression for a filename :
it must be composed with the following letters :
a to z
A to Z
0 to 9
dash sign -
underscore sign _
then how can I compare a string with it :
mystring =~ /myregex/ #return true or false
does it works like that ?
I need a regular expression for a filename :
it must be composed with the following letters :
a to z
A to Z
0 to 9
dash sign -
underscore sign _
then how can I compare a string with it :
mystring =~ /myregex/ #return true or false
does it works like that ?