A la NSCharacterSet or a character class. Single parser representing a set of intervals and producing individual strings. For example [a-zA-Z0-9_] might be:
%["a"..."z", "A"..."Z", "0"..."9", x]
where x is some reasonable way of representing "_" as an interval.
A la
NSCharacterSet
or a character class. Single parser representing a set of intervals and producing individual strings. For example[a-zA-Z0-9_]
might be:where
x
is some reasonable way of representing"_"
as an interval.