Skip to content

RegexBuilder not working #29

Description

@swif2

Your writings are a wonderful resource for to enhance my Swift skills. Thank you.

I came across a little issue in your recent post titled "Named capture groups in Swift regular expressions". The RegexBuilder version doesn't work properly when I try to print result[hidden]. It crashes, with error message Could not cast value of type 'Swift.Optional<Swift.Substrings>' to 'Swift.Substring'

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