function reg(str) {
    var s = str.match(/abc/);
//如果正则表达式含有 变量应该怎么加? 比如 :/abc + var1 + / 我知道这样不行。如果是"/abc/"直接返回null了。
     
    return s;
}