From ef8d6794c1e1d5628f42a2b7452b6407df777233 Mon Sep 17 00:00:00 2001 From: cindylugd Date: Sat, 1 Dec 2018 16:12:43 +0800 Subject: [PATCH 1/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..0088abd 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 regx=/^LITERALLY/; + return regx.test(str); +} From 6ae20c68f9162571355064ad35bd8a6a4f35bb33 Mon Sep 17 00:00:00 2001 From: cindylugd Date: Sat, 1 Dec 2018 16:13:01 +0800 Subject: [PATCH 2/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..866e720 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 regx=/^\D[^A-Z]/; + return regx.test(str); +} From 57aabd46ecb7d8c30657512399567f04f73add94 Mon Sep 17 00:00:00 2001 From: cindylugd Date: Sat, 1 Dec 2018 16:13:25 +0800 Subject: [PATCH 3/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..8b431bd 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 regx=/BANANAS$/; + return regx.test(str); +} From 00dfdc91c74eeb06ca46113d0c6c50a87781f07a Mon Sep 17 00:00:00 2001 From: cindylugd Date: Sat, 1 Dec 2018 16:13:45 +0800 Subject: [PATCH 4/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..eb8529a 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 regx=/^(a|\d|u|o)/; + return regx.test(str); +}