repl: don't interpret floating point numbers

Don't interpret floating point numbers, e.g. ".1234", as REPL commands.

Fixes #4268.
diff --git a/test/simple/test-repl.js b/test/simple/test-repl.js
index aeca81c..d03cccc 100644
--- a/test/simple/test-repl.js
+++ b/test/simple/test-repl.js
@@ -119,6 +119,9 @@
     // You can recover with the .break command
     { client: client_unix, send: '.break',
       expect: prompt_unix },
+    // Floating point numbers are not interpreted as REPL commands.
+    { client: client_unix, send: '.1234',
+      expect: '0.1234' },
     // Can parse valid JSON
     { client: client_unix, send: 'JSON.parse(\'{"valid": "json"}\');',
       expect: '{ valid: \'json\' }'},