code: function rewriteNumberRanges(path) {
    const {node} = path;
  
    node.expressions.forEach((expression, i) => {
      if (isFullNumberRange(expression)) {
        path.getChild(i).replace({
          type: 'Char',
          value: '\\d',
          kind: 'meta',
        });
      }
    });
  }
docs: Rewrites number ranges: [0-9] -> \d