1 2 3 4
var re = new RegExp("abc") print(re) var match = re.exec("xxxabc") print(match.length, match.index, match[0])