From f6bb5a7c8c948a31f396d0554343e1920bf8d7cb Mon Sep 17 00:00:00 2001 From: jinjin2018git <44138712+jinjin2018git@users.noreply.github.com> Date: Thu, 22 Nov 2018 16:46:05 +0800 Subject: [PATCH 1/4] Update anchor_end.js --- lib/anchor_end.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/anchor_end.js b/lib/anchor_end.js index 56e8b85..b80c58d 100644 --- a/lib/anchor_end.js +++ b/lib/anchor_end.js @@ -1,3 +1,5 @@ module.exports = function (str) { // TOOD -} \ No newline at end of file + var regex = /BANANAS$/; + return regex.test(str); +} From 6ed353499c457bd7cd7359fed4bd16ee6530edf3 Mon Sep 17 00:00:00 2001 From: jinjin2018git <44138712+jinjin2018git@users.noreply.github.com> Date: Thu, 22 Nov 2018 16:47:06 +0800 Subject: [PATCH 2/4] Update anchor_start.js --- lib/anchor_start.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/anchor_start.js b/lib/anchor_start.js index 56e8b85..2fa0292 100644 --- a/lib/anchor_start.js +++ b/lib/anchor_start.js @@ -1,3 +1,5 @@ module.exports = function (str) { // TOOD -} \ No newline at end of file + var regex = /^LITERALLY/; + return regex.test(str); +} From 5e21bf54acae6bb6a251179e17de4888f0fee7d0 Mon Sep 17 00:00:00 2001 From: jinjin2018git <44138712+jinjin2018git@users.noreply.github.com> Date: Thu, 22 Nov 2018 16:57:28 +0800 Subject: [PATCH 3/4] Update char_class.js --- lib/char_class.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/char_class.js b/lib/char_class.js index a08ee57..667e33d 100644 --- a/lib/char_class.js +++ b/lib/char_class.js @@ -1,3 +1,5 @@ module.exports = function (str) { // TODO -} \ No newline at end of file + var regex = /^[^bA-Z]/; + return regex.test(str); +} From 4deb07e4ab7d77cf634faf8784509caaa0e980dc Mon Sep 17 00:00:00 2001 From: jinjin2018git <44138712+jinjin2018git@users.noreply.github.com> Date: Thu, 22 Nov 2018 16:58:28 +0800 Subject: [PATCH 4/4] Update negated_char_class.js --- lib/negated_char_class.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/negated_char_class.js b/lib/negated_char_class.js index a08ee57..c8fa10e 100644 --- a/lib/negated_char_class.js +++ b/lib/negated_char_class.js @@ -1,3 +1,5 @@ module.exports = function (str) { // TODO -} \ No newline at end of file + var regex = /^[^0-9][^A-Z]/; + return regex.test(str); +}