示例:

var regexp = /[abc]/i; var s = regexp.toString(); 结果:/[abc]/i