Skip to content
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit 7766ded

Browse files
committed
No lookahead needed here
h/t @aroben
1 parent d2447f6 commit 7766ded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/javascripts/task_list.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ itemPattern = ///
127127
)
128128
(?! # is not a link
129129
\s* # with optional whitespace
130-
(?=\(.*?\)|\[.*?\]) # because of destination or reference
130+
(?:\(.*?\)|\[.*?\]) # because of destination or reference
131131
)
132132
(?=\s) # is followed by whitespace
133133
///

0 commit comments

Comments
 (0)