Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 594659a

Browse files
authored
Merge pull request #2 from corsonknowles/master
Add rule files for several newly supported character classes
2 parents 3e96dbf + 4b1046b commit 594659a

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

no_word.rule

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
srl: begin with (no word), anything, must end
2+
match: "#"
3+
no match: "19"
4+
no match: "#123 "

nondigit.rule

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
srl: begin with (no digit), any of (letter, digit, uppercase letter) once or more, must end
2+
match: "#22a"
3+
match: "abc"
4+
match: "_A2"
5+
no match: "1"
6+
no match: "1a"
7+
no match: "56"
8+
no match: "8B"

none_of.rule

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
srl: begin with none of abcd, any of (letter, digit, uppercase letter) once or more, must end
2+
match: "Ad22"
3+
match: ">el"
4+
no match: "bring"
5+
no match: "cat"
6+
no match: "d20"

word.rule

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
srl: begin with (word), letter, letter, letter, must end
2+
match: "abc"
3+
no match: " "

0 commit comments

Comments
 (0)