File: regex.expect.txt

package info (click to toggle)
highlight.js 10.7.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,332 kB
  • sloc: javascript: 41,059; makefile: 157; python: 29; sh: 20
file content (5 lines) | stat: -rw-r--r-- 454 bytes parent folder | download
1
2
3
4
5
<span class="hljs-comment">// examples that have proven problematic in the past</span>
<span class="hljs-string">`Bad <span class="hljs-subst">${foo / <span class="hljs-number">1000</span>}</span>`</span>
foo = <span class="hljs-number">2</span> / <span class="hljs-number">2</span> + <span class="hljs-number">2</span> / <span class="hljs-number">2</span>;
foo = <span class="hljs-regexp">/ 2 + 2 /</span>;
b = a++ / <span class="hljs-number">2</span>;