Skip to content

Commit

Permalink
Update Content.Tests/DMProject/Tests/Regex/regex_L_brackets.dm
Browse files Browse the repository at this point in the history
Co-authored-by: wixoa <wixoag@gmail.com>
  • Loading branch information
ike709 and wixoaGit authored Oct 20, 2024
1 parent a23f307 commit cdc7a7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Tests/DMProject/Tests/Regex/regex_L_brackets.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

/proc/RunTest()
var/static/regex/repeated_consonant_regex = regex(@"\b([^aeiou\L])\1", "gi")
var/words = "hey ggggurl"
ASSERT(repeated_consonant_regex.Find(words) == 5)
var/words = "hey... ggggurl"
ASSERT(repeated_consonant_regex.Find(words) == 8)

0 comments on commit cdc7a7c

Please sign in to comment.