Skip to content

Commit d92d178

Browse files
Update bot/exts/info/codeblock/_parsing.py
Update regex comment Co-authored-by: Joe Banks <joe@jb3.dev>
1 parent eb4a021 commit d92d178

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bot/exts/info/codeblock/_parsing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
_RE_CODE_BLOCK = re.compile(
3737
fr"""
3838
(?:^| # the ticks need to start at the front of a line to be recognized
39-
\s) # or need to have a preceeding whitespace (to avoid detection of words like I'll).
39+
\s) # or need to have a preceding whitespace (to avoid detection of words like I'll).
4040
(?P<ticks>
4141
(?P<tick>[{''.join(_TICKS)}]) # Put all ticks into a character class within a group.
4242
\2* # Match previous group up to N more times to ensure the same char.

0 commit comments

Comments
 (0)