From 0cf4440d9e540b69482396aef15f5bf09d54f2a3 Mon Sep 17 00:00:00 2001 From: hutn <32947142+hutn@users.noreply.github.com> Date: Sun, 25 Nov 2018 11:14:34 +0800 Subject: [PATCH 1/4] Update anchor_end.js --- lib/anchor_end.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/anchor_end.js b/lib/anchor_end.js index 56e8b85..e196e7b 100644 --- a/lib/anchor_end.js +++ b/lib/anchor_end.js @@ -1,3 +1,4 @@ module.exports = function (str) { // TOOD -} \ No newline at end of file + return /BANANAS$/g.test(str) +} From 99f1416706e92be5c2f221a2d7dd77a149dd43a3 Mon Sep 17 00:00:00 2001 From: hutn <32947142+hutn@users.noreply.github.com> Date: Sun, 25 Nov 2018 11:15:25 +0800 Subject: [PATCH 2/4] Update anchor_start.js --- lib/anchor_start.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/anchor_start.js b/lib/anchor_start.js index 56e8b85..d02e899 100644 --- a/lib/anchor_start.js +++ b/lib/anchor_start.js @@ -1,3 +1,4 @@ module.exports = function (str) { // TOOD -} \ No newline at end of file + return /^LITERALLY/g.test(str) +} From eb5035d4536b3d67927676f5d45d1ced34a4d2ab Mon Sep 17 00:00:00 2001 From: hutn <32947142+hutn@users.noreply.github.com> Date: Sun, 25 Nov 2018 11:15:53 +0800 Subject: [PATCH 3/4] Update char_class.js --- lib/char_class.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/char_class.js b/lib/char_class.js index a08ee57..5368881 100644 --- a/lib/char_class.js +++ b/lib/char_class.js @@ -1,3 +1,4 @@ module.exports = function (str) { // TODO -} \ No newline at end of file + return /^[a1u4o]/g.test(str) +} From df490db633c243051f224917d8bceb76ec82ba1c Mon Sep 17 00:00:00 2001 From: hutn <32947142+hutn@users.noreply.github.com> Date: Sun, 25 Nov 2018 11:16:40 +0800 Subject: [PATCH 4/4] Update negated_char_class.js --- lib/negated_char_class.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/negated_char_class.js b/lib/negated_char_class.js index a08ee57..ddcb9ae 100644 --- a/lib/negated_char_class.js +++ b/lib/negated_char_class.js @@ -1,3 +1,4 @@ module.exports = function (str) { // TODO -} \ No newline at end of file + return /^\D[^A-Z]/g.test(str) +}