Update instructions.py

This commit is contained in:
Alvarez 2026-02-27 10:23:47 +01:00 committed by GitHub
parent 7ceed9b6d9
commit d762c229e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -479,7 +479,7 @@ class HighlightSectionChecker(Instruction):
Returns:
True if the actual number of highlighted sections in the format of
*highlighed sections* meets the minimum requirement; otherwise False.
*highlighted sections* meets the minimum requirement; otherwise False.
"""
num_highlights = 0
highlights = re.findall(r"\*[^\n\*]*\*", value)