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

Bump regexp_parser from 1.3.0 to 1.5.0 #141

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps regexp_parser from 1.3.0 to 1.5.0.

Changelog

Sourced from regexp_parser's changelog.

[1.5.0] - 2019-05-14 - Janosch Müller

Added

  • Added #referenced_expression for backrefs, subexp calls and conditionals
    • returns the Group expression that is being referenced via name or number
  • Added Expression#repetitions
    • returns a Range of allowed repetitions (1..1 if there is no quantifier)
    • like #quantity but with a more uniform interface
  • Added Expression#match_length
    • allows to inspect and iterate over String lengths matched by the Expression

Fixed

  • Fixed Expression#clone "direction"
    • it used to dup ivars onto the callee, leaving only the clone referencing the original objects
    • this will affect you if you call #eql?/#equal? on expressions or use them as Hash keys
  • Fixed #clone results for Sequences, e.g. alternations and conditionals
    • the inner #text was cloned onto the Sequence and thus duplicated
    • e.g. Regexp::Parser.parse(/(a|bc)/).clone.to_s # => (aa|bcbc)
  • Fixed inconsistent #to_s output for Sequences
    • it used to return only the "specific" text, e.g. "|" for an alternation
    • now it includes nested expressions as it does for all other Subexpressions
  • Fixed quantification of codepoint lists with more than one entry (\u{62 63 64}+)
    • quantifiers apply only to the last entry, so this token is now split up if quantified

[1.4.0] - 2019-04-02 - Janosch Müller

Added

  • Added support for 19 new unicode properties introduced in Ruby 2.6.0
Commits
  • f653b0f Release v1.5.0
  • 4ca7cec Update README
  • 5c336b7 Fix quantification of codepoint lists
  • df3dfd7 Remove some obsolete ruby version checks
  • 2475fd0 Fix #initialize_clone direction
  • ca2dbfe Add #repetitions, #match_length
  • 42955d4 Fix Sequence#clone by removing #text -> #to_s circle
  • 23d6579 Add #referenced_expression
  • 24cb67d Merge pull request #60 from ammar/migrate_to_rspec
  • d84f342 Migrate to RSpec
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview
Copy link
Contributor Author

Superseded by #144.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/regexp_parser-1.5.0 branch May 23, 2019 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant