blob: 5862ccff56fc40ddc45e31c33b3f947013831074 [file] [log] [blame]
split(/a*/ /*lastIndex=0*/ , "a");
["",""]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/a*/ /*lastIndex=0*/ , "aba");
["","b",""]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/a*/ /*lastIndex=0*/ , "bab");
["b","b"]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/a/ /*lastIndex=0*/ , "");
[""]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/a/ /*lastIndex=0*/ , "a");
["",""]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/a/ /*lastIndex=0*/ , "aba");
["","b",""]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/a/ /*lastIndex=0*/ , "bab");
["b","b"]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/b/ /*lastIndex=0*/ , "");
[""]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/b/ /*lastIndex=0*/ , "a");
["a"]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/b/ /*lastIndex=0*/ , "aba");
["a","a"]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/b/ /*lastIndex=0*/ , "bab");
["","a",""]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/(?:)/ /*lastIndex=0*/ , "a");
["a"]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/(?:)/ /*lastIndex=0*/ , "aba");
["a","b","a"]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]
split(/(?:)/ /*lastIndex=0*/ , "bab");
["b","a","b"]
r.lastIndex=0
RegExp.${_,1,...,9}=["","","","","","","","","",""]