Javascript regex to validate component and group name characters

I agree with eneroth3 and it makes sense for non-English versions particularly.

If I knew how, I’d extend the regex above for different languages. At the moment, I’m working on a Ruby that for the moment has only an English version, and a partially translated French one.

Do Windows and Mac filenames in Swedish allow accented and special characters? For the most part, I’m concerned (selfishly, I admit) with getting an English language version to work at all!

But I would love to learn how to extend it to cope with non-English differences. I know the language handler in SU can translate displayed text in plugins, but don’t know about regexs!

1 Like