presentations/highlight-js/test/markup/ruby/regexes.expect.txt

5 lines
272 B
Text

str =~ <span class="hljs-regexp">/^(?:foo)$/</span>
str =~ <span class="hljs-regexp">%r{foo|bar|buz$}</span>
str =~ <span class="hljs-regexp">%r!foo|bar$!</span>
str =~ <span class="hljs-regexp">%r[foo|bar$]</span>
str =~ <span class="hljs-regexp">%r(\(foo|bar\)$)</span>