code: function safeRegex (re) {
    var arguments$1 = arguments;
  
    var src = re.source;
    var opt = re.global ? 'g' : '';
  
    if (re.ignoreCase) { opt += 'i'; }
    if (re.multiline)  { opt += 'm'; }
  
    for (var i = 1; i < arguments.length; i++) {
      src = src.replace('@', '\\' + arguments$1[i]);
    }
  
    return new RegExp(src, opt)
  }
docs: Compiler for riot custom tags
  @version v3.2.3
   istanbul ignore next