Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions lib/anchor_end.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = function (str) {
// TOOD
const reg=/BANANAS$/;
return reg.test(str);
}
2 changes: 2 additions & 0 deletions lib/anchor_start.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = function (str) {
// TOOD
const pattern=/^LITERALLY/;
return pattern.test(str);
}
3 changes: 3 additions & 0 deletions lib/char_class.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
module.exports = function (str) {
// TODO
// b不行 数字可以 大写不行
var reg=/^[auo14]/;
return reg.test(str);
}
2 changes: 2 additions & 0 deletions lib/negated_char_class.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module.exports = function (str) {
// TODO
const reg=/^[^0-9][^A-Z]/;
return reg.test(str);
}