diff --git a/lib/meta.js b/lib/meta.js index a08ee57..65b83e9 100644 --- a/lib/meta.js +++ b/lib/meta.js @@ -1,3 +1,3 @@ module.exports = function (str) { - // TODO + return /\.$/.test(str) } \ No newline at end of file diff --git a/lib/quantifier.js b/lib/quantifier.js index a08ee57..152d5a0 100644 --- a/lib/quantifier.js +++ b/lib/quantifier.js @@ -1,3 +1,3 @@ module.exports = function (str) { - // TODO + return /\d+\.jp(eg|g)$/.test(str) } \ No newline at end of file diff --git a/lib/split.js b/lib/split.js index a08ee57..9588c04 100644 --- a/lib/split.js +++ b/lib/split.js @@ -1,3 +1,3 @@ module.exports = function (str) { - // TODO + return str.split(/\s*,\s*/) } \ No newline at end of file