Skip to content

Commit f4f9718

Browse files
authored
Revert "Update rulesets-commit-regex.md" (#55375)
1 parent 176f965 commit f4f9718

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

data/reusables/repositories/rulesets-commit-regex.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Rulesets support RE2 syntax. For more information, see Google's [syntax guide](h
66

77
By default, regular expressions in metadata restrictions do not consider multiple lines of text. For example, if you have a multiline commit message, the pattern `^ABC` will be a match if the first line of the message starts with `ABC`. To match multiple lines of the message, start your expression with `(?m)`.
88

9-
When using regular expression metacharacter classes that contain a backslash `\` it must be escaped with an additional backslash. For example `task#\\d{1,4}`
10-
119
The negative lookahead assertion, denoted `?!`, is not supported. However, for cases where you need to look for a given string that is not followed by another given string, you can use the positive lookahead assertion, denoted `?`, combined with the "Must not match a given regex pattern" requirement.
1210

1311
> [!NOTE]

0 commit comments

Comments
 (0)