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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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