code: function glob(str, prefix) {
          var globArr = str.split(',');
          var group = [];
          var s_reg;
          globArr.forEach(function(g) {
              if (g.length > 0) {
                  s_reg = fis.util.glob(g, undefined, {nocase: true}).toString();
                  //replace
                  // '/^' => ''
                  // '$/i' => ''
                  s_reg = s_reg.substr(2, s_reg.length - 5);
                  group.push(s_reg);
              }
          });
          prefix = prefix || '';
          if (prefix) {
              s_reg = fis.util.glob(prefix, undefined, {nocase: true}).toString();
              // '/^' => '', '%/i' => ''
              prefix = s_reg.substr(2, s_reg.length - 5);
          }
          return new RegExp('^'+ prefix + '(' + group.join('|') + ')$', 'i');
      }
docs: support glob: a**,b**,/usr**,/*/*