You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe the exception message can print out the final text and the part that is supposed to be the 'failing group', then suggest the \g<#> construct? I'll be honest, i didn't immediately get 'group 13' was the error because i was automatic coding.
The text was updated successfully, but these errors were encountered:
i30817
changed the title
Not sure if this could be done better
Capturing group doesn't exist message could suggest the solution when the cause is replacement confusion
Jun 13, 2023
I was being kind of a idiot and was doing:
This fails in both here and re because the 'number' being added changes the first capturing group
the solution is
Maybe the exception message can print out the final text and the part that is supposed to be the 'failing group', then suggest the \g<#> construct? I'll be honest, i didn't immediately get 'group 13' was the error because i was automatic coding.
The text was updated successfully, but these errors were encountered: