From eb8e92c56d0c1eb212742511ff945fe390ec94ae Mon Sep 17 00:00:00 2001 From: Johannes Zillmann Date: Mon, 12 Jul 2021 06:37:09 -0600 Subject: [PATCH] Fix build --- package.json | 2 +- src/javascript/stringFunctions.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {