Closed danny3313 closed 2 years ago
The original XMLTagRegex does not match the slash in the closing tag, causing a different color to be shown instead of the color defined in TagBracket style
This can be reproduced using a RegEx tester:
Example XML: <foo>foobar</foo>
<foo>foobar</foo>
Original RegEx: <\?|<|/>|</|>|\?>
Updated RegEx: <\?|</|>|<|/>|\?>
The original XMLTagRegex does not match the slash in the closing tag, causing a different color to be shown instead of the color defined in TagBracket style
This can be reproduced using a RegEx tester:
Example XML:
<foo>foobar</foo>
Original RegEx: <\?|<|/>|</|>|\?>![FastColorTextBox-RegEx example](https://user-images.githubusercontent.com/14042884/136810602-59c6fab3-22be-4fdd-80c5-9cf8293dc216.png)
Updated RegEx: <\?|</|>|<|/>|\?>![FastColorTextBox-RegEx example Improved](https://user-images.githubusercontent.com/14042884/136810659-1c0977ca-f261-407b-95ef-dc6aa107851a.png)