From 32bb6844e3bc480847b4c2cd289e90d347f65a84 Mon Sep 17 00:00:00 2001 From: hutn <32947142+hutn@users.noreply.github.com> Date: Sun, 25 Nov 2018 11:19:43 +0800 Subject: [PATCH 1/3] Update meta.js --- lib/meta.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/meta.js b/lib/meta.js index a08ee57..42beda8 100644 --- a/lib/meta.js +++ b/lib/meta.js @@ -1,3 +1,4 @@ module.exports = function (str) { // TODO -} \ No newline at end of file + return /\.$/g.test(str) +} From 91315000b6f56ca0bea2dfb65533d6be7b72215f Mon Sep 17 00:00:00 2001 From: hutn <32947142+hutn@users.noreply.github.com> Date: Sun, 25 Nov 2018 11:20:06 +0800 Subject: [PATCH 2/3] Update quantifier.js --- lib/quantifier.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/quantifier.js b/lib/quantifier.js index a08ee57..7e6e426 100644 --- a/lib/quantifier.js +++ b/lib/quantifier.js @@ -1,3 +1,4 @@ module.exports = function (str) { // TODO -} \ No newline at end of file + return /^\d+\.jpe?g$/g.test(str) +} From bb617d49d6dc144ad44fa61462761d5008939e41 Mon Sep 17 00:00:00 2001 From: hutn <32947142+hutn@users.noreply.github.com> Date: Sun, 25 Nov 2018 11:20:29 +0800 Subject: [PATCH 3/3] Update split.js --- lib/split.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/split.js b/lib/split.js index a08ee57..7d832bf 100644 --- a/lib/split.js +++ b/lib/split.js @@ -1,3 +1,4 @@ module.exports = function (str) { // TODO -} \ No newline at end of file + return str.split(/\s*,\s*/); +}