Create a new Scanner.
Scanner(String doc, [int pos = 0]) { document = doc; position = clampPos(pos); }