Skip to content

Regex Error #83

@bee-gees

Description

@bee-gees

Hello,

I used iocextract for an old project a while back. I started to look into it more again today and the regex doesn't seem to pick up the URLs anymore. I got this feed back from my initial run (there were other lines but I didn't copy them before I started messing with things in my code):

iocextract.py:822: SyntaxWarning: invalid escape sequence '\W'
email = re.sub("\W[aA][tT]\W", "@", email.lower())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions