Has this issue been resolved?
I also had problems with this step.
After more than several failed attempts, I decided to break down my thought process into traceable executions.
The instruction asks for 3 capture groups. So:
const regex = /(number1)(operator)(number2)/;
, where “number1”, “operator”, and “number2” are placeholders for each capture group.
Now, try capturing non-decimal numbers and the operator as instructed:
- Use a character class
\d.
- The operator can either be
* or /.
- Number2 should follow the same pattern of Number1.
const regex = /(\d)([\*\/])(\d)/;
Numbers can be more than one digit. So:
const regex = /(\d+)([\*\/])(\d+)/;
Per instruction, include decimal numbers.
Since decimal numbers are optional captures, modify regex as follows:
const regex = /(\d+(\.\d+)?))([\*\/])(\d+(\.\d+)?))/;
Since there may or may not be whitespace between numbers and operator, modify regex as follows:
const regex = /(\d+(\.\d+)?))\s*([\*\/])\s*(\d+(\.\d+)?))/;
If I submit this answer, I get:

I struggled with understanding what this hint message means.
My submitted answer contains 3 capture groups.
The first capture group does use a character class, namely \d.
So, I do not understand what the tests are looking for.
But I want to go on. So, I try different answers to figure out - practically guessing - what the tests are looking for.
First try:
const regex = /([0-9]+(\.[0-9]+)?)\s*([\*\/])\s*([0-9]+(\.[0-9]+)?/;
Submitting this answer, I get:

Okay, the character class [0-9] is a no-go for this test.
Understandable, since \d is simpler.
Second try: \d* instead of \d+
const regex = /(\d*(\.\d*)?))\s*([\*\/])\s*(\d*(\.\d*)?))/;
Third try: Removing \s* between numbers and operator
const regex = /(\d*(\.\d*)?))([\*\/])(\d*(\.\d*)?))/;
const regex = /(\d+(\.\d+)?))([\*\/])(\d+(\.\d+)?))/;
The second and the third try all get:

I feel helpless at this point, because this hint message is not helpful - not in the slightest.
I looked up “ask for help” in the forum, looked at reported issue and pull request(s) related to this step. There doesn’t seem to be any helpful answer because the issue seems unresolved at this point.
I want to move on instead of waiting for the issue to be resolved.
Is it possible? Any suggestion?