Skip to content

Should str_extract() have a group argument? #420

Closed

Description

@hadley

So str_extract(x, "pattern", group = 1) would be equivalent to str_match(x, "pattern")[, 2]

Activity

  1. added a commit that references this issue on Jan 21, 2022
    ad431dc
  2. added a commit that references this issue on May 17, 2024
    1c82b9e
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions