From a717353ccb1277cbd921bae52f6e274d766cd97e Mon Sep 17 00:00:00 2001 From: vivi Date: Wed, 28 Aug 2019 06:46:56 -0700 Subject: [PATCH] feat/vivi --- lib/anchor_end.js | 2 +- lib/anchor_start.js | 2 +- lib/char_class.js | 2 +- lib/negated_char_class.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/anchor_end.js b/lib/anchor_end.js index 56e8b85..ebe6da0 100644 --- a/lib/anchor_end.js +++ b/lib/anchor_end.js @@ -1,3 +1,3 @@ module.exports = function (str) { - // TOOD + return /BANANAS$/.test(str); } \ No newline at end of file diff --git a/lib/anchor_start.js b/lib/anchor_start.js index 56e8b85..743ef20 100644 --- a/lib/anchor_start.js +++ b/lib/anchor_start.js @@ -1,3 +1,3 @@ module.exports = function (str) { - // TOOD + return /^LITERALLY.*/.test(str); } \ No newline at end of file diff --git a/lib/char_class.js b/lib/char_class.js index a08ee57..60f34e9 100644 --- a/lib/char_class.js +++ b/lib/char_class.js @@ -1,3 +1,3 @@ module.exports = function (str) { - // TODO + return /\b[aoeiu0-9]+/.test(str); } \ No newline at end of file diff --git a/lib/negated_char_class.js b/lib/negated_char_class.js index a08ee57..9fd93dd 100644 --- a/lib/negated_char_class.js +++ b/lib/negated_char_class.js @@ -1,3 +1,3 @@ module.exports = function (str) { - // TODO + return /^\D{1}[^A-Z]{1}/.test(str); } \ No newline at end of file