Skip to content

Commit 13f7285

Browse files
committed
fix filter parsing
1 parent a97cf14 commit 13f7285

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/stringReader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const NUMBER_PATTERN = /[-+]?(?:[0-9]+[.]?|[0-9]*[.][0-9]+)(?:e[-+]?[0-9]+)?/i;
1+
const NUMBER_PATTERN = /^[-+]?(?:[0-9]+[.]?|[0-9]*[.][0-9]+)(?:e[-+]?[0-9]+)?/i;
22

33
export default class StringReader {
44
constructor(string) {

0 commit comments

Comments
 (0)