add regex and tokernizer, scanner