Skip to content

Crash on call regex.match(string) #4

@iDevPro

Description

@iDevPro

Hello,

let myRegex = try Regex("/some/([\\w\\d\\s,]+)/ig")

caused:

error: Execution was interrupted, reason: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0). The process has been returned to the state before expression evaluation.

when call:

myRegex.match("/some/some123 some")

In the Python this regex pattern:

r"/some/([\w\d\s,]+)"

work perfect

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions