I've ran into an issue with
Here's the specific line of code causing the issue:
I want to the regular expression to ensure an exact match of the tag name, with the following scenarios in mind:
1. No attributes.
2. Has attributes, on the same line.
3. Has attributes, but on a different line.
Here's a regex101:
Here's what you can do to match #2 and #3:
You must be registered for see links
, which doesn't ensure the tag name is an exact match, which results in it seeing mj-image
being the same as mj-image-variable
, since all it's looking for is <mj-image*
.Here's the specific line of code causing the issue:
You must be registered for see links
I want to the regular expression to ensure an exact match of the tag name, with the following scenarios in mind:
1. No attributes.
2. Has attributes, on the same line.
3. Has attributes, but on a different line.
Here's a regex101:
You must be registered for see links
Here's what you can do to match #2 and #3:
You must be registered for see links