Closed jasongilman closed 7 years ago
I changed the regular expression to the following
(?:(?<=[^\\])(;).*$\\n?)|(?:^(;).*$\\n?)
It's doing a look behind to see if the previous character isn't a \ or it's accepting semicolons that are at the beginning of the line.
This shows the difference after the patch.
I changed the regular expression to the following
It's doing a look behind to see if the previous character isn't a \ or it's accepting semicolons that are at the beginning of the line.
This shows the difference after the patch.