(scan "[a-z]*" "<test>")
I get:
0
0
#()
#()
(scan "[\xD8-\xF6]*" "<test>")
0
6
#()
#()
while I expect to get nil.
It seems as if the scanner doesn't do anything if the first character is part of the regex in the first example (because if I add a angular bracket to the front it does find it) and in the second it matches everything while the hexcode range is far outside the strings range so it shouldn't find anything. Am I doing something wrong?
Greatings,
Noldus