Build(deps): Bump regexp_parser from 2.0.3 to 2.1.1 (PR #12191)

Bumps regexp_parser from 2.0.3 to 2.1.1.


Sourced from regexp_parser's changelog.

[2.1.1] - 2021-02-23 - Janosch Müller


  • fixed NameError when requiring only 'regexp_parser/scanner' in v2.1.0

[2.1.0] - 2021-02-22 - Janosch Müller


  • common ancestor for all scanning/parsing/lexing errors
    • Regexp::Parser::Error can now be rescued as a catch-all
    • the following errors (and their many descendants) now inherit from it:
      • Regexp::Expression::Conditional::TooManyBranches
      • Regexp::Parser::ParserError
      • Regexp::Scanner::ScannerError
      • Regexp::Scanner::ValidationError
      • Regexp::Syntax::SyntaxError
    • it replaces ArgumentError in some rare cases (Regexp::Parser.parse('?'))
    • thanks to sandstrom for the cue


  • fixed scanning of whole-pattern recursion calls \g<0> and \g'0'
    • a regression in v2.0.1 had caused them to be scanned as literals
  • fixed scanning of some backreference and subexpression call edge cases
    • e.g. \k<+1>, \g<x-1>
  • fixed tokenization of some escapes in character sets
    • ., |, {, }, (, ), ^, $, ?, +, *
    • all of these correctly emitted #type :literal and #token :literal if not escaped
    • if escaped, they emitted e.g. #type :escape and #token :group_open for [\(]
    • the escaped versions now correctly emit #type :escape and #token :literal
  • fixed handling of control/metacontrol escapes in character sets
    • e.g. [\cX], [\M-\C-X]
    • they were misread as bunch of individual literals, escapes, and ranges
  • fixed some cases where calling #dup/#clone on expressions led to shared state
  • 5466dba Release v2.1.1
  • 0666832 Require base error where it is needed
  • 010b690 Avoid calling #dir during load time
  • 31767d9 Add js_regex to gouteur testing
  • 3524918 Release v2.1.0
  • 948441a Inherit from a base error class to support catch-all
  • 4bfb565 Add gouteur testing
  • 20aa3ac Fix escape tokenization in sets
  • bce9a6a Fix a few #dup methods and Group::Options#dup,#clone
  • 4151764 Support meta/control escapes within sets
  • 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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually