whole_func_string: function preservesInCharClass(value, index, parent) {
    if (value === '^') {
      // Avoid [\^a] turning into [^a]
      return index === 0 && !parent.negative;
    }
    if (value === '-') {
      // Avoid [a\-z] turning into [a-z]
      return index !== 0 && index !== parent.expressions.length - 1;
    }
    return /[\]\\]/.test(value);
  }
func_code_string: function preservesInCharClass(value, index, parent) {
    if (value === '^') {
      // Avoid [\^a] turning into [^a]
      return index === 0 && !parent.negative;
    }
    if (value === '-') {
      // Avoid [a\-z] turning into [a-z]
      return index !== 0 && index !== parent.expressions.length - 1;
    }
    return /[\]\\]/.test(value);
  }
func_documentation_string: \], \\, \^, \-