We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent bec582a commit 88147d0Copy full SHA for 88147d0
src/compiler/crystal/tools/doc/markdown_doc_renderer.cr
@@ -46,9 +46,9 @@ class Crystal::Doc::MarkdownDocRenderer < Markdown::HTMLRenderer
46
47
# Check Type#method(...) or Type or #method(...)
48
text = text.gsub /\b
49
- ((?:\:\:)?[A-Z]\w+(?:\:\:[A-Z]\w+)?(?:\#|\.)(?:\w|\<|\=|\>|\+|\-|\*|\/|\[|\]|\&|\||\?|\!|\^|\~)+(?:\?|\!)?(?:\(.+?\))?)
+ ((?:\:\:)?[A-Z]\w+(?:\:\:[A-Z]\w+)*(?:\#|\.)(?:\w|\<|\=|\>|\+|\-|\*|\/|\[|\]|\&|\||\?|\!|\^|\~)+(?:\?|\!)?(?:\(.+?\))?)
50
|
51
- ((?:\:\:)?[A-Z]\w+(?:\:\:[A-Z]\w+)?)
+ ((?:\:\:)?[A-Z]\w+(?:\:\:[A-Z]\w+)*)
52
53
((?:\#|\.)(?:\w|\<|\=|\>|\+|\-|\*|\/|\[|\]|\&|\||\?|\!|\^|\~)+(?:\?|\!)?(?:\(.+?\))?)
54
/x do |match_text, match|
0 commit comments