# File lib/asciidoctor/parser.rb, line 1199 def self.catalog_callouts(text, document) found = false if text.include? '<' text.scan(CalloutQuickScanRx) { # alias match for Ruby 1.8.7 compat m = $~ if m[0].chr != '\\' document.callouts.register(m[2]) end # we have to mark as found even if it's escaped so it can be unescaped found = true } end found end