diff --git a/package.json b/package.json index e54a573..22938e2 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A PDF to Markdown Converter", "main": "main.js", "scripts": { - "watch": "webpack -d --watch", + "watch": "webpack --mode development --watch", "build": "webpack", "start": "webpack serve", "lint": "eslint src --ext .js --ext .jsx --cache", diff --git a/src/javascript/stringFunctions.jsx b/src/javascript/stringFunctions.jsx index 7833348..84d5ec2 100644 --- a/src/javascript/stringFunctions.jsx +++ b/src/javascript/stringFunctions.jsx @@ -106,7 +106,7 @@ export function isListItem(string) { } export function isNumberedListItem(string) { - return /^[\s]*[\d]*[\.][\s].*$/g.test(string); + return /^[\s]*[\d]*[.][\s].*$/g.test(string); } export function wordMatch(string1, string2) {