TODO break this out into different pattern types for example, FormalInlineMacro, ShortInlineMacro (no target) and other patterns
# File lib/asciidoctor/extensions.rb, line 429 def initialize(name, document, opts = {}) super @regexp = nil end
# File lib/asciidoctor/extensions.rb, line 434 def regexp if @options[:short_form] @regexp ||= %r(\\?#{@name}:\[((?:\\\]|[^\]])*?)\]) else @regexp ||= %r(\\?#{@name}:(\S+?)\[((?:\\\]|[^\]])*?)\]) end end