We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62918d6 commit d295606Copy full SHA for d295606
src/string_utils.js
@@ -31,7 +31,7 @@ function stringToTrimmedArray(str) {
31
* @returns A-Za-z
32
*/
33
function safe(str) {
34
- s = str.replace(/[^A-Za-z]/g, "");
+ s = str.replace(/[^A-Za-z0-9]/g, "");
35
return s;
36
}
37
0 commit comments