method

reset

ruby latest stable - Class: StringScanner
reset()
public

Reset the scan pointer (index 0) and clear matching data.