Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  linksInRef of reflinks script has an unbalanced  regex bracket in line 3:
  
    linksInRef = re.compile(
        # bracketed URLs
        r'(?i)<ref(?P<name>[^>]*)>\s*\[?(?P<url>(?:http|https)://(?:'
        # unbracketed with()
        r'^\[\]\s<>"]+\([^\[\]\s<>"]+[^\[\]\s\.:;\\,<>\?"]+|'
        # ^^^^^^^^^^^ unbalanced bracket here
        # unbracketed without ()
        r'[^\[\]\s<>"]+[^\[\]\s\)\.:;\\,<>\?"]+|[^\[\]\s<>"]+))'
        r'[!?,\s]*\]?\s*</ref>')

TASK DETAIL
  https://phabricator.wikimedia.org/T426607

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to