We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af7efa5 + a927169 commit ba5acb9Copy full SHA for ba5acb9
bin/lesson_check.py
@@ -59,12 +59,14 @@
59
# Pattern to match image-only and link-only lines
60
P_LINK_IMAGE_LINE = re.compile(r'''
61
[> #]* # any number of '>', '#', and spaces
62
+ \W{,3} # up to 3 non-word characters
63
!? # ! or nothing
64
\[[^]]+\] # [any text]
65
[([] # ( or [
66
[^])]+ # 1+ characters that are neither ] nor )
67
[])] # ] or )
68
(?:{:[^}]+})? # {:any text} or nothing
69
70
[ ]* # any number of spaces
71
\\?$ # \ or nothing + end of line''', re.VERBOSE)
72
0 commit comments