Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle more matching methods in Lint/OutOfRangeRegexpRef #8464

Merged

Commits on Aug 6, 2020

  1. Handle more matching methods in Lint/OutOfRangeRegexpRef

    `when`, `grep`, `gsub`, `gsub!` `sub`, `sub!`, `[]`, `slice`, `slice!`,
    `scan`, `index`, `rindex`, `partition`, `rpartition`, `start_with?`, and
    `end_with?` can all be used to match regexps, so we should update the
    range of valid references when we encounter them.
    eugeneius committed Aug 6, 2020
    Copy the full SHA
    fa1fc0b View commit details
    Browse the repository at this point in the history