@babel/plugin-transform-named-capturing-groups-regex

    In

    1. var re = _wrapRegExp(/(\d{4})-(\d{2})-(\d{2})/, { year: 1, month: 2, day: 3 });
    2. console.log(re.exec("1999-02-29").groups.year);
    1. "plugins": ["@babel/plugin-transform-named-capturing-groups-regex"]
    2. }
    1. plugins: ["@babel/plugin-transform-named-capturing-groups-regex"],
    2. });

    boolean, defaults to

    You can read more about configuring plugin options here