/REGEX/ How to use character class appropriately

Hello, how do you go about this one:

In your highPrecedence function, declare a regex variable. Assign it a regular expression that matches a number (including decimal numbers) followed by a * or / operator followed by another number. Each number, and the operator, should be in separate capture groups.

This is my code:

function highPrecedence() {
const regex = /([\d.]+)\s*([*/])\s*([\d.]+)/;

that looks like the regex you need, what else is going on?