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

6 lines
272 B
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
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>