nedrysoft / regex101

A cross platform (macOS, Linux & Windows) unofficial "offline" version of the regex101.com website. Uses the users own database (any qt supported backend - sqlite, mysql, postgresql etc) to store expressions.
200 stars 36 forks source link

[quiz] 22. Tokenized List Test 20 fails seemingly incorrectly #11

Closed knorke3 closed 8 months ago

knorke3 commented 8 months ago

Problem

Entering \G(?: *)(?:"((?:\\.|[^"])*)"|([^"](?:[^,\s]| (?= *[^,\s][^,]*(?:,|$)))*))(?:\s*)(?:,|$) into Task 22 results in a fail grafik while the same regex run on the provided example in a unit test succeeds grafik

Software/Settings used:

Expected behavior:

The regex should succeed Test 20 of Task 22 of the quiz if the error message is correct.

Further Information:

During testing, i noticed that removing the \G from the start of the regex causes it to fail test 19 instead of 20 and that both tests have the same error message (the only difference being their formatting)