'All considered symbols in validator.js?

I use the .isStrongPassword() function from validator.js. By default it checks if the password contains at least one symbol. Unfortunately I can't find a set of all the chars that are considered a symbol by validator.js. Also generally there does not seem to exist a uniform opinion/definition about that. So now I am a little confused. Any help/opinions highly appreciated :)



Solution 1:[1]

By looking in the code for validator.js, found here, this is the regex used for the symbols:

/^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/

So, all of the US standard keyboard characters are used, including a space:

- # ! $ @ % ^ & * ( ) _ + | ~ = ` { } [ ] : " ; ' < > ? , . /

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1