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
It looks like character sets that include [ confuse the grouping. In the above regex, the only square brackets that define a character class sets are as follows (the rest are escaped or are in the class themselves):
\[(?P<txt>[^[]*)\]\((?P<uri>[^)]*)
^ ^ ^ ^
The text was updated successfully, but these errors were encountered:
Example: https://lgtm.com/projects/g/edemo/PDEngine/snapshot/0aef4231561da169109752d6fdb020f259db5f97/files/tools/getGithubIssues?sort=name&dir=ASC&mode=heatmap#x8b87d5afc0b67d28:1
Reported here: https://discuss.lgtm.com/t/false-positive-python-regexp/1967
It looks like character sets that include
[
confuse the grouping. In the above regex, the only square brackets that define a character class sets are as follows (the rest are escaped or are in the class themselves):The text was updated successfully, but these errors were encountered: