Fix regex to not match :eof by only matching one character strings
Add hook for System.out.println workaround. For stable code, use parent commit. input << char doesn't like :eof.