With regular expressions, like this /\w/, can I compare the type of line a, q. Is there any idiomatic way to generate all strings that match some regular expression in JS?
Do not think of endless cases. I just want to briefly describe a few sets of possible characters.
something meaningful instead
var s = ' !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~'
source
share