We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43709c6 commit cfc0f8cCopy full SHA for cfc0f8c
src/n3parser.js
@@ -209,7 +209,7 @@ var eol = new RegExp("^[ \\t]*(#[^\\n]*)?\\r?\\n", 'g');
209
var eof = new RegExp("^[ \\t]*(#[^\\n]*)?$", 'g');
210
var ws = new RegExp("^[ \\t]*", 'g');
211
var signed_integer = new RegExp("^[-+]?[0-9]+", 'g');
212
-var number_syntax = new RegExp("^([-+]?[0-9]+)(\\.[0-9]+)?(e[-+]?[0-9]+)?", 'g');
+var number_syntax = new RegExp("^([-+]?[0-9]+)(\\.[0-9]+)?([eE][-+]?[0-9]+)?", 'g');
213
var datetime_syntax = new RegExp('^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9](T[0-9][0-9]:[0-9][0-9](:[0-9][0-9](\\.[0-9]*)?)?)?Z?');
214
215
var digitstring = new RegExp("^[0-9]+", 'g');
0 commit comments