Blame view

bower_components/prism/tests/languages/javascript/regex_feature.test 323 Bytes
eb240478   Luigi Serra   public room cards...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  /foo bar/

  /foo/gimyu,

  /[\[\]]{2,4}(?:foo)*/;

  

  ----------------------------------------------------

  

  [

  	["regex", "/foo bar/"],

  	["regex", "/foo/gimyu"], ["punctuation", ","],

  	["regex", "/[\\[\\]]{2,4}(?:foo)*/"], ["punctuation", ";"]

  ]

  

  ----------------------------------------------------

  

  Checks for regex.