$ 0 0 If you are having trouble with the Scan Terminator, try using a scan handler. A(0)[A\\0D] should do the trick.