firasdib / Regex101

This repository is currently only used for issue tracking for www.regex101.com
3.2k stars 198 forks source link

Error message is erroneous #2189

Closed mogando668 closed 5 months ago

mogando668 commented 7 months ago

TASK : 4 Retrieve Numbers

Please write both task name and number.

Bug Description : The regex I entered

^0*$|^([1-9][0-9]*, )*[0-9]+$

Received this error message :

Test 15/20: Don't match non-integer values (such as 3.14159) as a single value. That's for a later task!

However, I do not believe my entry would indeed be matching floating point pi.

This is just no-frills EREregex syntax, and I've cross tested viagnu gawk, gnu-grep, bsd-grep, and also perl to affirm my understanding.

Reproduction steps : Task 4, using the full regex above.

Expected Outcome : expected not to be erroring due to matching partial integers within a floating point input.

If there are any test cases you think need to be added, you can write that here as well.

Browser : Safari 16.3 Include browser name and version

OS Include OS name and version

Apple macOS Ventura 13.2.1 on Apple Silicon M1 MAX

Quiz Bug

firasdib commented 5 months ago

Thank you, this will be resolved in the next release.