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
This section: ([^>]*)\/{0} is meant to capture the attributes of an opening tag. I think that the \/{0} is redundant. The regex will have been matching anything apart from > in the previous capture group, so when it finishes matching that it will definitely be at a > character. Of course, a > is not /, so \/{0} is not needed - it's certain that there will be no / to match.
I may be wrong about this, however.
The text was updated successfully, but these errors were encountered:
In this bit of regex
This section:
([^>]*)\/{0}
is meant to capture the attributes of an opening tag. I think that the\/{0}
is redundant. The regex will have been matching anything apart from>
in the previous capture group, so when it finishes matching that it will definitely be at a>
character. Of course, a>
is not/
, so\/{0}
is not needed - it's certain that there will be no/
to match.I may be wrong about this, however.
The text was updated successfully, but these errors were encountered: