Skip to content

Commit

Permalink
I HATE REGEX CHECKS!!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
BogCreature committed Oct 15, 2023
1 parent d20c355 commit 9bf253e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions check_regex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ standards:
- exactly: [1, "/area text paths", '"/area']
- exactly: [17, "/datum text paths", '"/datum']
- exactly: [4, "/mob text paths", '"/mob']
- exactly: [51, "/obj text paths", '"/obj']
- exactly: [49, "/obj text paths", '"/obj']
- exactly: [0, "/turf text paths", '"/turf']
- exactly: [117, "text2path uses", "text2path"]

Expand All @@ -45,7 +45,12 @@ standards:
- exactly: [0, "incorrect indentations", '^(?: +)(?!\*)']
- exactly: [0, "superflous whitespace", '[ \t]+$']
- exactly: [0, "mixed indentation", '^( +\t+|\t+ +)']
- exactly: [21, 'padding inside parentheses', '\(([\t ]+([^)"\n\\]*)|([^("\n]+)[\t ]+)\)']
- exactly:
[
21,
"padding inside parentheses",
'\(([\t ]+([^)"\n\\]*)|([^("\n]+)[\t ]+)\)',
]

- no_more:
[
Expand Down

0 comments on commit 9bf253e

Please sign in to comment.