What does this RegExp mean please?
[\w-\.]
I know the \w
stands for word characters and could alternatively be written as:
[A-Za-z0-9_]
I know the \.
means that the point will be treated as an ordinary character.
The only thing I don't really know is the hyphen character. Is this used as a Range Operator here or just the hyphen character in e.g. "fine-tune"?