Differences from Rubys StringScanner

  • Changing the position invalidates the current match.