Diff of the two buildlogs: -- --- b1/build.log 2025-01-21 08:33:49.651772224 +0000 +++ b2/build.log 2025-01-21 08:35:54.330213508 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Jan 20 20:31:05 -12 2025 -I: pbuilder-time-stamp: 1737448265 +I: Current time: Tue Feb 24 04:56:52 +14 2026 +I: pbuilder-time-stamp: 1771858612 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying 0002-fix-RuboCop-ValidationError.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3915829/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/78765/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Feb 23 14:56 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/78765/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/78765/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='f07317aa406e480a812e6fc25d312b67' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='3915829' - PS1='# ' - PS2='> ' + INVOCATION_ID=b910bc58eedb47d19cefff51d661ef83 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=78765 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0fcAEuqB/pbuilderrc_RDI7 --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0fcAEuqB/b1 --logfile b1/build.log ruby-rubocop-performance_1.7.1-2.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.0fcAEuqB/pbuilderrc_Gp3E --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.0fcAEuqB/b2 --logfile b2/build.log ruby-rubocop-performance_1.7.1-2.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3915829/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/78765/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -272,7 +304,7 @@ Get: 156 http://deb.debian.org/debian trixie/main arm64 ruby-rspec-expectations all 3.13.0c0e0m0s1-2 [90.2 kB] Get: 157 http://deb.debian.org/debian trixie/main arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 158 http://deb.debian.org/debian trixie/main arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] -Fetched 55.8 MB in 0s (123 MB/s) +Fetched 55.8 MB in 1s (39.8 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.12-minimal:arm64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19970 files and directories currently installed.) @@ -799,8 +831,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Jan 21 08:31:51 UTC 2025. -Universal Time is now: Tue Jan 21 08:31:51 UTC 2025. +Local time is now: Mon Feb 23 14:57:17 UTC 2026. +Universal Time is now: Mon Feb 23 14:57:17 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -941,7 +973,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-rubocop-performance-1.7.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-rubocop-performance_1.7.1-2_source.changes +I: user script /srv/workspace/pbuilder/78765/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/78765/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-rubocop-performance-1.7.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-rubocop-performance_1.7.1-2_source.changes dpkg-buildpackage: info: source package ruby-rubocop-performance dpkg-buildpackage: info: source version 1.7.1-2 dpkg-buildpackage: info: source distribution unstable @@ -978,7 +1014,7 @@ │ ruby-rubocop-performance: Installing files and building extensions for ruby3.1│ └──────────────────────────────────────────────────────────────────────────────┘ -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250120-3927843-l7te99/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20260224-86650-7vswxb/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash WARNING: open-ended dependency on rubocop (>= 0.82.0) is not recommended if rubocop is semantically versioned, use: @@ -990,7 +1026,7 @@ Name: rubocop-performance Version: 1.7.1 File: rubocop-performance-1.7.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rubocop-performance/usr/share/rubygems-integration/all /tmp/d20250120-3927843-l7te99/rubocop-performance-1.7.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-rubocop-performance/usr/share/rubygems-integration/all /tmp/d20260224-86650-7vswxb/rubocop-performance-1.7.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/ruby-rubocop-performance/usr/share/rubygems-integration/all/gems/rubocop-performance-1.7.1/config/default.yml /build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/ruby-rubocop-performance/usr/share/rubygems-integration/all/gems/rubocop-performance-1.7.1/docs/antora.yml @@ -1080,7918 +1116,9316 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/ruby-rubocop-performance/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -Randomized with seed 8054 +Randomized with seed 39424 -RuboCop::Cop::Performance::RedundantStringChars - registers an offense and corrects when using `str.chars.size` - registers an offense and corrects when using `str.chars.drop(2)` - registers an offense and corrects when using `str.chars.first(2)` - registers an offense and corrects when using `str.chars.take(2)` - registers an offense and corrects when using `str.chars[0..2]` - registers an offense and corrects when using `str.chars.last(2)` - registers an offense and corrects when using `str.chars.last` - registers an offense and corrects when using `str.chars.empty?` - does not register an offense when using `str.chars.max` - registers an offense and corrects when using `str.chars.length` - registers an offense and corrects when using `str.chars.slice(0..2)` - registers an offense and corrects when using `str.chars.first` +RuboCop::Cop::Performance::StringReplacement + registers an offense when using gsub! to find and replace a single character + registers an offense when using gsub to find and replace a single character + accepts methods other than gsub + registers an offense when the pattern has non deterministic regex as a string + registers an offense when using escape characters in the replacement + registers an offense for gsub! when deleting one characters + registers an offense when using escape characters in the pattern + auto-correct + corrects to tr + corrects when the pattern contains a new line character + corrects when the replacement contains escape backslash + corrects when the pattern uses Regexp.compile + corrects when replacing to a double quote + corrects when the replacement contains a new line character + corrects when the pattern is a regex literal + corrects when the pattern is a regex literal using %r + corrects when the length of the pattern and replacement are one + corrects when the pattern contains double backslash + corrects when the pattern uses Regexp.new + corrects when replacing to a single quote + corrects to delete + corrects when there are no brackets + corrects when a regexp contains escapes + corrects when the pattern is a regex literal + corrects when deleting an escape character + corrects when the pattern uses Regexp.new + corrects when deleting a single character + corrects when the pattern uses Regexp.compile + non deterministic regex + allows regex containing a | + allows regex containing a . + allows regex constructor containing regex with interpolations + allows regex containing escaped () + allows regex containing a + + allows regex containing a * + allows regex containing a ? + allows regex literal containing interpolations + allows regex containing a $ + allows regex containing () + allows regex containing {} + allows regex containing [] + allows regex constructor containing a string with interpolations + allows regex containing a backslash + allows regex containing a ^ + behaves like accepts + accepts calls to gsub when the length of the pattern is shorter than the length of the replacement + accepts calls to gsub when the length of the pattern is longer than the length of the replacement + non deterministic parameters + accepts a pattern with string interpolation + accepts the second param being a variable + accepts a replacement with string interpolation + allows regex with options + allows empty string pattern + allows empty regex pattern from string + accepts gsub when the length of the pattern is greater than 1 + allows empty regex literal pattern + accepts gsub with a block + accepts the both params being a variables + accepts the first param being a variable + accepts gsub with only one param + allows regex literals with options + allows empty regex pattern from regex + deterministic regex + regex literal + registers an offense when replacing _ with a literal + registers an offense when deleting _ + registers an offense when replacing 1 with a literal + registers an offense when deleting ` + registers an offense when replacing 3 with a literal + registers an offense when replacing c with a literal + registers an offense when replacing " with a literal + registers an offense when using space + registers an offense when replacing < with a literal + registers an offense when replacing - with a literal + registers an offense when replacing = with a literal + registers an offense when replacing ! with a literal + registers an offense when replacing \r with a literal + registers an offense when replacing % with a literal + registers an offense when replacing ~ with a literal +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + registers an offense when deleting \y + registers an offense when replacing ` with a literal + registers an offense when deleting a + registers an offense when replacing ; with a literal + registers an offense when deleting : + registers an offense when deleting - + registers an offense when replacing b with a literal + registers an offense when replacing a with a literal + registers an offense when deleting b + registers an offense when replacing : with a literal + registers an offense when replacing & with a literal + registers an offense when escape characters in regex + registers an offense when replacing \x65 with a literal + registers an offense when replacing 2 with a literal + registers an offense when replacing \u1234 with a literal + registers an offense when deleting 2 + registers an offense when replacing # with a literal + registers an offense when deleting ~ + registers an offense when deleting " + registers an offense when using %r notation + registers an offense when deleting > + registers an offense when deleting < + registers an offense when replacing ' with a literal + registers an offense when deleting ; + registers an offense when deleting = + registers an offense when deleting ! + registers an offense when deleting 1 + registers an offense when replacing , with a literal + registers an offense when deleting \u1234 + registers an offense when deleting & +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + registers an offense when replacing \y with a literal + allows deterministic regex when the length of the pattern and the length of the replacement do not match + registers an offense when deleting , + registers an offense when deleting ' + registers an offense when deleting # + registers an offense when replacing > with a literal + registers an offense when deleting \x65 + registers an offense when deleting \r + registers an offense when replacing \\ with a literal + registers an offense when deleting 3 + registers an offense when deleting % + registers an offense when deleting c + registers an offense when deleting \\ + regex constructor + registers an offense when only using word characters + registers an offense when using compile + registers an offense when regex is built from regex + behaves like accepts + accepts calls to gsub when the length of the pattern is shorter than the length of the replacement + accepts calls to gsub when the length of the pattern is longer than the length of the replacement + non deterministic parameters + accepts the second param being a variable + allows regex literals with options + allows empty regex pattern from string + allows empty string pattern + allows empty regex pattern from regex + accepts the first param being a variable + accepts a pattern with string interpolation + allows empty regex literal pattern + accepts gsub with only one param + accepts gsub when the length of the pattern is greater than 1 + accepts a replacement with string interpolation + accepts gsub with a block + accepts the both params being a variables + allows regex with options -RuboCop::Cop::Performance::Size - does not register an offense when calling count on an object other than an array or a hash - does not register an offense when calling count as a stand alone method - on hash - does not register an offense when calling count with a block - does not register an offense when calling another method - corrects count to size on to_h - registers an offense when calling count on to_h - corrects count to size on Hash() - does not register an offense when calling count with a to_proc block - does not register an offense when calling size - registers an offense when calling count - registers an offense when calling count on Hash() - corrects count to size - does not register an offense when calling count with an argument - registers an offense when calling count on Hash[] - corrects count to size on Hash[] - on array - registers an offense when calling count on to_a - registers an offense when calling count - does not register an offense when calling count with a block - does not register an offense when calling count with an argument - corrects count to size on Array() - does not register an offense when calling size - corrects count to size - does not register an offense when calling another method - registers an offense when calling count on Array[] - corrects count to size on to_a - does not register an offense when calling count with a to_proc block - registers an offense when calling count on Array() - corrects count to size on Array[] +RuboCop::Cop::Performance::RangeInclude + formats the error message correctly for (a..b).member? 1 + autocorrects (a...b).member? without parens + autocorrects (a...b).member? with parens + formats the error message correctly for (a..b).include? 1 + autocorrects (a..b).member? without parens + autocorrects (a..b).include? with parens + autocorrects (a...b).include? with parens + autocorrects (a...b).include? without parens + autocorrects (a..b).member? with parens + autocorrects (a..b).include? without parens -RuboCop::Cop::Performance::RedundantBlockCall - accepts an optional block that is overridden - autocorrects block.call without arguments - autocorrects multiple occurrences of block.call with arguments - autocorrects block.call with empty parentheses - autocorrects block.call with arguments - autocorrects even when block arg has a different name - accepts another block arg in at least one occurrence of block.call - accepts an optional block that is defaulted - formats the error message for func.call(1) correctly - accepts another block being passed as the only arg - accepts another block being passed along with other args - accepts an empty method body - autocorrects when the result of the call is used in a scope that requires parentheses - autocorrects using parentheses when block.call uses parentheses - accepts a block that is not `call`ed +RuboCop::Cop::Performance::AncestorsInclude + registers an offense and corrects when using `ancestors.include?` + does not register an offense when using `<=` + registers an offense and corrects when using `ancestors.include?` without receiver -RuboCop::Cop::Performance::CompareWithBlock - autocorrects array.max { |x, y| x.foo <=> y.foo } - autocorrects array.max { |a, b| a[:foo] <=> b[:foo] } - autocorrects array.sort { |a, b| a['foo'] <=> b['foo'] } - registers an offense for min with ['foo'] - highlights compare method - autocorrects array.min { |x, y| x.foo <=> y.foo } - autocorrects array.min { |a, b| a[:foo] <=> b[:foo] } - accepts min_by - autocorrects array.min { |a, b| a[1] <=> b[1] } - accepts sort_by - formats the error message correctly for array.sort { |a, b| a[:foo] <=> b[:foo] } - highlights compare method - registers an offense for max - autocorrects array.sort { |a, b| a.foo <=> b.foo } - autocorrects array.max { |a, b| a['foo'] <=> b['foo'] } - formats the error message correctly for array.min { |a, b| a.foo <=> b.foo } - autocorrects array.sort { |x, y| x.foo <=> y.foo } - autocorrects array.sort do |a, b| a.foo <=> b.foo end - registers an offense for min with [:foo] - autocorrects array.sort { |a, b| a[1] <=> b[1] } - registers an offense for min - autocorrects array.max do |a, b| a.foo <=> b.foo end - registers an offense for sort with [:foo] - autocorrects array.min { |a, b| a['foo'] <=> b['foo'] } - registers an offense for min with [1] - accepts valid max usage - autocorrects array.sort { |a, b| a[:foo] <=> b[:foo] } - autocorrects array.min do |a, b| a.foo <=> b.foo end - autocorrects array.max { |a, b| a[1] <=> b[1] } - autocorrects array.max { |a, b| a.bar <=> b.bar } - autocorrects array.min { |a, b| a.foo <=> b.foo } - registers an offense for sort with [1] - formats the error message correctly for array.max { |a, b| a.foo <=> b.foo } - accepts max_by - registers an offense for max with ['foo'] - registers an offense for sort - formats the error message correctly for array.min { |a, b| a[:foo] <=> b[:foo] } - autocorrects array.max { |a, b| a.foo <=> b.foo } - registers an offense for max with [:foo] - autocorrects array.sort { |a, b| a.bar <=> b.bar } - accepts valid min usage - formats the error message correctly for array.sort { |a, b| a.foo <=> b.foo } - highlights compare method - accepts valid sort usage - registers an offense for sort with ['foo'] - registers an offense for max with [1] - autocorrects array.min { |a, b| a.bar <=> b.bar } - formats the error message correctly for array.max { |a, b| a[:foo] <=> b[:foo] } +RuboCop::Cop::Performance::EndWith + when `SafeMultiline: false` + autocorrects /\a\z/.match str + doesn't register an error for str.match /\D\z/ + doesn't register an error for str.match /\H\z/ + doesn't register an error for /^\z/.match? str + autocorrects /\t\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects str.match /\j\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects /\m\z/.match str + doesn't register an error for /\b\z/ =~ str + autocorrects str =~ /\f\z/ + autocorrects str.match /\n\z/ + autocorrects /\t\z/ =~ str + doesn't register an error for str.match? /\A\z/ + autocorrects /\t\z/.match str + formats the error message correctly for str =~ /abc\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects str.match? /\i\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects str.match /\l\z/ + doesn't register an error for /\W\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects /\i\z/.match str + doesn't register an error for str.match /\b\z/ + doesn't register an error for /\S\z/ =~ str + doesn't register an error for /\W\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects /\q\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects /\m\z/ =~ str + doesn't register an error for /\Z\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects str.match? /\l\z/ + doesn't register an error for /\R\z/.match str + autocorrects str =~ /\^\z/ + doesn't register an error for str =~ /\W\z/ + autocorrects str =~ /\$\z/ + doesn't register an error for str =~ /\z\z/ + doesn't register an error for str =~ /\S\z/ + doesn't register an error for str =~ /\w\z/ + doesn't register an error for str.match? /\z\z/ + doesn't register an error for str.match? /\D\z/ + autocorrects str.match? /\^\z/ + doesn't register an error for str.match /\S\z/ + autocorrects str.match /\r\z/ + autocorrects /\f\z/.match? str + doesn't register an error for /\G\z/.match str + autocorrects /abc\z/.match str + autocorrects str =~ /\v\z/ + doesn't register an error for /^\z/ =~ str + doesn't register an error for str =~ /\D\z/ + autocorrects /\e\z/.match? str + doesn't register an error for /\w\z/.match str + doesn't register an error for /\S\z/.match str + doesn't register an error for /\R\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects str.match? /\q\z/ + doesn't register an error for /|\z/.match str + doesn't register an error for str.match? /\S\z/ + doesn't register an error for str =~ /\G\z/ + doesn't register an error for /\b\z/.match str + doesn't register an error for str.match? /\S\z/ + doesn't register an error for /\d\z/ =~ str + autocorrects str.match /\.\z/ + autocorrects str =~ /\|\z/ + doesn't register an error for /\d\z/.match? str + autocorrects str.match? /abc$/ + doesn't register an error for /\s\z/.match? str + doesn't register an error for /\S\z/ =~ str + autocorrects /\v\z/.match? str + autocorrects str.match? /\e\z/ + autocorrects str.match? /abc\z/ + doesn't register an error for str.match? /\b\z/ + doesn't register an error for /\D\z/.match? str + autocorrects str =~ /\t\z/ + autocorrects /\v\z/ =~ str + autocorrects str =~ /\t\z/ + doesn't register an error for /$\z/.match? str + doesn't register an error for /\W\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects str.match /\q\z/ + doesn't register an error for /\X\z/ =~ str + formats the error message correctly for /abc\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects /\y\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects /\y\z/.match str + doesn't register an error for str.match /\X\z/ + doesn't register an error for /\z\z/ =~ str + doesn't register an error for str.match /$\z/ + doesn't register an error for str =~ /\B\z/ + autocorrects /\\\z/.match str + doesn't register an error for /\H\z/.match str + autocorrects /\a\z/ =~ str + formats the error message correctly for /abc\z/ =~ str + autocorrects str.match /\$\z/ + doesn't register an error for str.match /.\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects /\q\z/.match? str + autocorrects /\^\z/.match? str + doesn't register an error for str =~ /\d\z/ + autocorrects str.match? /\r\z/ + autocorrects /\a\z/.match? str + doesn't register an error for str =~ /\A\z/ + autocorrects str.match /\a\z/ + doesn't register an error for /\X\z/.match? str + doesn't register an error for /\S\z/.match? str + autocorrects str.match /abc\z/ + doesn't register an error for str =~ /|\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects /\j\z/.match? str + doesn't register an error for str.match /^\z/ + doesn't register an error for /\X\z/.match str + autocorrects str.match? /\t\z/ + autocorrects /\e\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects /\i\z/ =~ str + doesn't register an error for /\b\z/.match? str + autocorrects /\e\z/.match str + autocorrects /abc$/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects str =~ /\y\z/ + doesn't register an error for str.match /\Z\z/ + doesn't register an error for str.match? /$\z/ + doesn't register an error for /\d\z/.match str + doesn't register an error for str =~ /\H\z/ + autocorrects str =~ /\r\z/ + doesn't register an error for /.\z/.match str + autocorrects /\f\z/.match str + autocorrects /\.\z/ =~ str + allows match without a receiver + doesn't register an error for str.match /\d\z/ + doesn't register an error for str.match? /\Z\z/ + formats the error message correctly for str.match /abc\z/ + doesn't register an error for str.match /\S\z/ + autocorrects /\o\z/.match? str + doesn't register an error for str.match /\s\z/ + autocorrects /\r\z/.match str + autocorrects str =~ /\\\z/ + doesn't register an error for str.match? /\W\z/ + doesn't register an error for str.match? /\H\z/ + doesn't register an error for str.match? /.\z/ + autocorrects str.match? /\t\z/ + doesn't register an error for str.match? /^\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects str.match /\m\z/ + doesn't register an error for str =~ /\h\z/ + doesn't register an error for str.match /\W\z/ + doesn't register an error for /\S\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects str.match? /\y\z/ + doesn't register an error for /\B\z/.match str + autocorrects str.match? /\n\z/ + doesn't register an error for /|\z/ =~ str + doesn't register an error for str =~ /\b\z/ + doesn't register an error for /\S\z/.match? str + doesn't register an error for str.match /\R\z/ + autocorrects /\r\z/ =~ str + autocorrects str.match? /\a\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects /\j\z/ =~ str + formats the error message correctly for str.match? /abc\z/ + autocorrects /\n\z/ =~ str + autocorrects /\|\z/ =~ str + autocorrects /\$\z/.match str + autocorrects /\.\z/.match? str + autocorrects /\^\z/ =~ str + doesn't register an error for /\B\z/ =~ str + doesn't register an error for /\G\z/ =~ str + autocorrects /abc$/.match str + autocorrects str.match? /\f\z/ + autocorrects /\f\z/ =~ str + autocorrects str.match /\v\z/ + autocorrects /\$\z/.match? str + doesn't register an error for str =~ /$\z/ + doesn't register an error for /\Z\z/.match? str + doesn't register an error for str.match? /\d\z/ + autocorrects str.match? /\$\z/ + doesn't register an error for /\B\z/.match? str + autocorrects /\|\z/.match str + autocorrects str.match /\e\z/ + doesn't register an error for /\h\z/ =~ str + autocorrects str =~ /\o\z/ + doesn't register an error for /.\z/.match? str + doesn't register an error for str =~ /\R\z/ + autocorrects /\\\z/.match? str + doesn't register an error for /.\z/ =~ str + autocorrects /abc\z/.match? str + doesn't register an error for /\h\z/.match? str + autocorrects str.match /\t\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects str.match /\i\z/ + doesn't register an error for /|\z/.match? str + autocorrects /\o\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects /\y\z/.match? str + doesn't register an error for /\w\z/.match? str + autocorrects /\t\z/.match str + autocorrects /\n\z/.match str + autocorrects str =~ /abc\z/ + autocorrects str.match? /\.\z/ + autocorrects /\r\z/.match? str + doesn't register an error for str.match /\A\z/ + doesn't register an error for str.match? /\w\z/ + doesn't register an error for /\z\z/.match? str + doesn't register an error for /\s\z/.match str + autocorrects str =~ /\e\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects str =~ /\j\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects /\i\z/.match? str + autocorrects /\t\z/.match? str + autocorrects /\|\z/.match? str + autocorrects /\n\z/.match? str + autocorrects str.match /\|\z/ + autocorrects str.match? /\o\z/ + doesn't register an error for /\A\z/.match str + autocorrects str =~ /\n\z/ + doesn't register an error for str.match /\z\z/ + doesn't register an error for /\R\z/ =~ str + autocorrects /\^\z/.match str + doesn't register an error for /\s\z/ =~ str + autocorrects str.match /abc$/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects /\j\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects /\l\z/.match str + doesn't register an error for /\h\z/.match str + doesn't register an error for /\D\z/.match str + autocorrects str =~ /\a\z/ + doesn't register an error for /\H\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects str.match? /\j\z/ + autocorrects str.match? /\\\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects str.match? /\m\z/ + doesn't register an error for /\H\z/ =~ str + autocorrects str.match /\t\z/ + autocorrects /\$\z/ =~ str + autocorrects str.match? /\|\z/ + doesn't register an error for str =~ /\s\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects str.match /\y\z/ + autocorrects /\v\z/.match str + doesn't register an error for /\G\z/.match? str + autocorrects /\o\z/.match str + doesn't register an error for str.match /\h\z/ + autocorrects /\.\z/.match str + autocorrects str.match /\f\z/ + doesn't register an error for str.match /\G\z/ + autocorrects /abc\z/ =~ str + doesn't register an error for str =~ /^\z/ + autocorrects str =~ /abc$/ + autocorrects /abc$/ =~ str + doesn't register an error for /\w\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects str =~ /\m\z/ + formats the error message correctly for /abc\z/.match? str + autocorrects str =~ /\.\z/ + doesn't register an error for str.match? /\G\z/ + doesn't register an error for str =~ /\X\z/ + autocorrects /\t\z/ =~ str + autocorrects str.match /\\\z/ + doesn't register an error for /\A\z/ =~ str + doesn't register an error for str.match? /\R\z/ + doesn't register an error for str =~ /\S\z/ + doesn't register an error for /\D\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects str =~ /\i\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects /\m\z/.match? str + doesn't register an error for /\Z\z/ =~ str + doesn't register an error for str.match? /\X\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects /\l\z/.match? str + doesn't register an error for str.match /\w\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects str =~ /\l\z/ + doesn't register an error for str.match? /\h\z/ + doesn't register an error for str =~ /.\z/ + doesn't register an error for str.match? /\s\z/ + autocorrects str.match /\o\z/ + autocorrects /\\\z/ =~ str + doesn't register an error for /^\z/.match str + doesn't register an error for str =~ /\Z\z/ + autocorrects str.match /\^\z/ + doesn't register an error for str.match? /|\z/ + doesn't register an error for /$\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects /\l\z/ =~ str + doesn't register an error for str.match? /\B\z/ + doesn't register an error for /\A\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects /\q\z/ =~ str + doesn't register an error for /$\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects str =~ /\q\z/ + autocorrects str.match? /\v\z/ + doesn't register an error for str.match /|\z/ + doesn't register an error for str.match /\B\z/ + doesn't register an error for /\z\z/.match str + when `SafeMultiline: true` + does not register an offense using `$` as ending pattern -RuboCop::Cop::Performance::Count - allows usage of count on an array - allows usage of size on an array - allows usage of another method with size - allows usage of methods called on size - allows usage of size called on an assigned variable - allows usage of count on an interstitial method with blocks called on select - allows usage of count on an interstitial method called on select - behaves like selectors - allows usage of reject without getting the size - registers an offense for using array.reject...count - registers an offense for using hash.reject...length - registers an offense for reject(&:something).count when called as an instance method on its own class - registers an offense for using array.reject...size - registers an offense for reject with params instead of a block - registers an offense for using hash.reject...count - registers an offense for reject(&:something).count - registers an offense for using array.reject...length - allows usage of reject...count with a block on a hash - registers an offense for using hash.reject...size - allows usage of reject...count with a block on an array - bang methods - allows usage of reject!...length - allows usage of reject!...size - allows usage of reject!...count - behaves like selectors - registers an offense for using hash.select...length - registers an offense for using array.select...count - registers an offense for using hash.select...size - registers an offense for using hash.select...count - registers an offense for using array.select...size - registers an offense for select(&:something).count - allows usage of select...count with a block on a hash - registers an offense for select with params instead of a block - allows usage of select...count with a block on an array - registers an offense for using array.select...length - registers an offense for select(&:something).count when called as an instance method on its own class - allows usage of select without getting the size - bang methods - allows usage of select!...length - allows usage of select!...size - allows usage of select!...count - properly parses non related code - will not raise an error for RakeTask.new - will not raise an error for Bundler.setup - ActiveRecord select - allows usage of select with multiple strings - allows usage of select with a string - allows usage of select with a symbol - allows usage of select with multiple symbols - autocorrect - will not correct - reject...size when select has parameters - reject...length - reject...count - reject...size - select...count when count has a block - will correct - select..count without a block to count - select...size when select has parameters - select..length to count - select..size to count +RuboCop::Cop::Performance::BigDecimalWithNumericArgument + does not register an offense when using `BigDecimal` with string + registers an offense and corrects when using `BigDecimal` with float + does not register an offense when using `BigDecimal` with float and precision + does not register an offense when using `BigDecimal` with float, precision, and a keyword argument + does not register an offense when using `BigDecimal` with float and non-literal precision + registers an offense and corrects when using `BigDecimal` with integer -RuboCop::Cop::Performance::ReverseFirst - registers an offense and corrects when using `#reverse.first` - registers an offense and corrects when using `#reverse.first(5)` - does not register an offense when `#reverse` is not followed by `#first` +RuboCop::Cop::Performance::ReverseEach + registers an offense for a multi-line reverse.each + registers an offense when each is called on reverse on a variable + registers an offense when each is called on reverse + registers an offense when each is called on reverse on a method call + does not register an offense when each is used without reverse + does not register an offense when reverse is used without each + autocorrect + corrects reverse.each to reverse_each on a method call + corrects reverse.each to reverse_each + corrects a multi-line reverse_each + corrects reverse.each to reverse_each on a variable -RuboCop::Cop::Performance::RangeInclude - autocorrects (a...b).include? with parens - autocorrects (a..b).member? with parens - autocorrects (a..b).include? with parens - autocorrects (a...b).member? with parens - autocorrects (a..b).include? without parens - autocorrects (a...b).include? without parens - autocorrects (a..b).member? without parens - formats the error message correctly for (a..b).member? 1 - autocorrects (a...b).member? without parens - formats the error message correctly for (a..b).include? 1 +RuboCop::Cop::Performance::Caller + accepts `caller_locations` without argument and method chain + registers an offense when :[] is called on caller with 2 + registers an offense when :first is called on caller with 1 + registers an offense when :[] is called on caller with 1 + registers an offense when :first is called on caller + accepts `caller` with arguments + registers an offense when :[] is called on caller + accepts `caller` without argument and method chain + registers an offense when :first is called on caller with 2 + registers an offense when :[] is called on caller_locations also + registers an offense when :first is called on caller_locations also -RuboCop::Cop::Performance::DeleteSuffix - TargetRubyVersion >= 2.5 - does not register an offense when using `delete_suffix!` - does not register an offense when using `delete_suffix` - when using `$` as ending pattern - when `SafeMultiline: true` - does not register an offense and corrects when using `sub` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `gsub` - when `SafeMultiline: false` - registers an offense and corrects when using `sub!` - registers an offense and corrects when using `gsub` - registers an offense and corrects when using `gsub!` - registers an offense and corrects when using `sub` - with starting pattern `\A` and ending pattern `\z` - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `sub` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `gsub` - when using a non-blank string as replacement string - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `gsub` - does not register an offense and corrects when using `sub` - when using non-ending pattern - does not register an offense when using `sub!` - does not register an offense when using `gsub!` - does not register an offense when using `gsub` - does not register an offense when using `sub` - when using `\z` as ending pattern - registers an offense and corrects when `gsub(/suffixz/, '')` - registers an offense and corrects when `sub!(/suffixz/, '')` - registers an offense and corrects when `gsub!(/suffixz/, '')` - registers an offense and corrects when `sub(/suffixz/, '')` - TargetRubyVersion <= 2.4 - does not register an offense when using `sub(/suffixz/, '')` - does not register an offense when using `gsub!(/suffixz/, '')` - does not register an offense when using `sub!(/suffixz/, '')` - does not register an offense when using `gsub(/suffixz/, '')` +RuboCop::Cop::Performance::UnfreezeString + registers an offense for a heredoc with `.dup` + registers an offense for an empty string with `.dup` + registers an offense for a string that contains a stringinterpolation with `.dup` + registers an offense for `String.new` with an empty string + registers an offense for `String.new` + registers an offense for a string with `.dup` + accepts a string with unary plus operator + registers an offense for `String.new` with a string + accepts `String.new` with capacity option + accepts an empty string with unary plus operator -RuboCop::Cop::Performance::UriDefaultParser - autocorrects `::URI::DEFAULT_PARSER` - registers an offense when using `URI::Parser.new` - registers an offense when using `::URI::Parser.new` - autocorrects `URI::DEFAULT_PARSER` +RuboCop::Cop::Performance::Casecmp + behaves like selectors + autocorrects string with parens and funny spacing eql? str.downcase + doesn't report an offense for obj.method == str.downcase + autocorrects str.downcase != with parens around arg + autocorrects str.downcase.eql? with parens and funny spacing + formats the error message correctly for obj.downcase == str.downcase + autocorrects == str.downcase + formats the error message correctly for str.downcase == + autocorrects obj.downcase eql? str.downcase + autocorrects str.downcase.eql? with parens + doesn't report an offense for str.downcase == obj.method + doesn't report an offense for str.downcase == variable + autocorrects string.eql? str.downcase without parens + autocorrects string with parens == str.downcase + doesn't report an offense for variable == str.downcase + autocorrects str.downcase == with parens around arg + autocorrects string.eql? str.downcase with parens + autocorrects str.downcase.eql? without parens + autocorrects string != str.downcase + autocorrects str.downcase == + formats the error message correctly for == str.downcase + autocorrects obj.downcase == str.downcase + autocorrects str.downcase != + behaves like selectors + formats the error message correctly for == str.upcase + autocorrects str.upcase == + autocorrects string with parens and funny spacing eql? str.upcase + autocorrects string.eql? str.upcase without parens + autocorrects string.eql? str.upcase with parens + autocorrects str.upcase != + autocorrects obj.upcase == str.upcase + doesn't report an offense for str.upcase == variable + autocorrects obj.upcase eql? str.upcase + doesn't report an offense for obj.method == str.upcase + autocorrects == str.upcase + doesn't report an offense for variable == str.upcase + formats the error message correctly for str.upcase == + autocorrects str.upcase == with parens around arg + doesn't report an offense for str.upcase == obj.method + autocorrects string != str.upcase + formats the error message correctly for obj.upcase == str.upcase + autocorrects str.upcase.eql? with parens + autocorrects str.upcase.eql? without parens + autocorrects string with parens == str.upcase + autocorrects str.upcase.eql? with parens and funny spacing + autocorrects str.upcase != with parens around arg RuboCop::Cop::Performance::SortReverse - does not register an offense when sorting in direct order - registers an offense and corrects when sorting in reverse order - does not register an offense when sorting in reverse order by some property does not register an offense when using `sort.reverse` + does not register an offense when sorting in reverse order by some property + registers an offense and corrects when sorting in reverse order + does not register an offense when sorting in direct order -RuboCop::Cop::Performance::BindCall - TargetRubyVersion >= 2.7 - registers an offense when using `bind(obj).()` - does not register an offense when using `bind_call(obj, args, ...)` - registers an offense when using `bind(obj).call(args, ...)` - registers an offense when the argument of `bind` method is a string - registers an offense when a argument of `call` method is a string - TargetRubyVersion <= 2.6 - does not register an offense when using `bind(obj).call(args, ...)` +RuboCop::Cop::Performance::RedundantMerge + does not register an offense when using an empty hash argument + doesn't register an error when return value is used + autocorrects hash.merge!(a: 1) + formats the error message correctly for hash.merge!(a: 1) + autocorrects hash.merge!("abc" => "value") + when receiver is a local variable + autocorrects hash.merge!(a: 1, b: 2) + when there is a modifier unless, and more than 1 pair + autocorrects it to an unless block + when original code was indented + maintains proper indentation + when code is indented, and there is more than 1 pair + indents the autocorrected code properly + when any argument is a double splat + does not register an offense when the only argument is adouble splat + does not register an offense when there are multiple arguments and at least one is a double splat + when there is a modifier while, and more than 1 pair + autocorrects it to an while block + when original code was indented + maintains proper indentation + when MaxKeyValuePairs is set to nil + does not raise `TypeError` + when receiver is implicit + doesn't autocorrect + when receiver is a method call + doesn't autocorrect hash.merge!(a: 1, b: 2) + with MaxKeyValuePairs of 1 + doesn't register errors for multi-value hash merges + when there is a modifier until, and more than 1 pair + autocorrects it to an until block + when original code was indented + maintains proper indentation + when internal to each_with_object + does not register an offense when merge! is being assigned inside each_with_object + autocorrects when the receiver is the object being built when merge! is the last statement + autocorrects merge! called on any method on the object built by each_with_object + autocorrects when the receiver is the object being built + autocorrects when the receiver is the object being built when merge! is not the last statement + autocorrects when receiver uses element reference to the object built by each_with_object + autocorrects when receiver uses multiple element references to the object built by each_with_object + when there is a modifier if, and more than 1 pair + autocorrects it to an if block + when original code was indented + maintains proper indentation + +RuboCop::Cop::Performance::FlatMap + configured to only warn when flattening one level + behaves like flatten_with_params_disabled + does not register an offense when calling map...flatten! + behaves like map_and_collect + corrects collect(&:foo).flatten! to flat_map + registers an offense when calling collect(&foo).flatten!(1) + does not register an offense when calling collect!...flatten! + does not register an offense when calling collect...flatten! with a number greater than 1 + corrects collect..flatten!(1) to flat_map + corrects collect(&foo).flatten! to flat_map + registers an offense when calling collect(&:foo).flatten!(1) + registers an offense when calling collect...flatten!(1) + behaves like flatten_with_params_disabled + does not register an offense when calling map...flatten + behaves like map_and_collect + does not register an offense when calling map...flatten with a number greater than 1 + corrects map(&:foo).flatten to flat_map + does not register an offense when calling map!...flatten + registers an offense when calling map...flatten(1) + registers an offense when calling map(&foo).flatten(1) + registers an offense when calling map(&:foo).flatten(1) + corrects map..flatten(1) to flat_map + corrects map(&foo).flatten to flat_map + behaves like flatten_with_params_disabled + does not register an offense when calling collect...flatten + behaves like map_and_collect + does not register an offense when calling map...flatten! with a number greater than 1 + corrects map(&:foo).flatten! to flat_map + registers an offense when calling map(&foo).flatten!(1) + does not register an offense when calling map!...flatten! + corrects map..flatten!(1) to flat_map + registers an offense when calling map(&:foo).flatten!(1) + registers an offense when calling map...flatten!(1) + corrects map(&foo).flatten! to flat_map + behaves like flatten_with_params_disabled + does not register an offense when calling collect...flatten! + behaves like map_and_collect + corrects collect(&:foo).flatten to flat_map + registers an offense when calling collect(&:foo).flatten(1) + corrects collect..flatten(1) to flat_map + registers an offense when calling collect(&foo).flatten(1) + corrects collect(&foo).flatten to flat_map + registers an offense when calling collect...flatten(1) + does not register an offense when calling collect...flatten with a number greater than 1 + does not register an offense when calling collect!...flatten + configured to warn when flatten is not called with parameters + behaves like flatten_with_params_enabled + will not correct map..flatten to flat_map + registers an offense when calling map...flatten + behaves like map_and_collect + registers an offense when calling collect(&foo).flatten!(1) + corrects collect(&:foo).flatten! to flat_map + registers an offense when calling collect(&:foo).flatten!(1) + does not register an offense when calling collect...flatten! with a number greater than 1 + registers an offense when calling collect...flatten!(1) + corrects collect..flatten!(1) to flat_map + corrects collect(&foo).flatten! to flat_map + does not register an offense when calling collect!...flatten! + behaves like flatten_with_params_enabled + will not correct collect..flatten! to flat_map + registers an offense when calling collect...flatten! + behaves like flatten_with_params_enabled + registers an offense when calling map...flatten! + will not correct map..flatten! to flat_map + behaves like map_and_collect + does not register an offense when calling map...flatten with a number greater than 1 + corrects map(&:foo).flatten to flat_map + registers an offense when calling map...flatten(1) + corrects map..flatten(1) to flat_map + does not register an offense when calling map!...flatten + registers an offense when calling map(&:foo).flatten(1) + corrects map(&foo).flatten to flat_map + registers an offense when calling map(&foo).flatten(1) + behaves like map_and_collect + does not register an offense when calling map...flatten! with a number greater than 1 + does not register an offense when calling map!...flatten! + registers an offense when calling map...flatten!(1) + corrects map(&foo).flatten! to flat_map + registers an offense when calling map(&:foo).flatten!(1) + corrects map..flatten!(1) to flat_map + corrects map(&:foo).flatten! to flat_map + registers an offense when calling map(&foo).flatten!(1) + behaves like map_and_collect + registers an offense when calling collect(&foo).flatten(1) + corrects collect(&:foo).flatten to flat_map + does not register an offense when calling collect...flatten with a number greater than 1 + registers an offense when calling collect...flatten(1) + corrects collect(&foo).flatten to flat_map + corrects collect..flatten(1) to flat_map + registers an offense when calling collect(&:foo).flatten(1) + does not register an offense when calling collect!...flatten + behaves like flatten_with_params_enabled + will not correct collect..flatten to flat_map + registers an offense when calling collect...flatten + +RuboCop::Cop::Performance::CaseWhenSplat + allows splat expansion on an array literal + allows multiple splat conditions on variables at the end + registers an offense for case when with a splat in the first condition + registers an offense for a splat on a variable that proceeds a splat on an array literal as the last condition + registers an offense for multiple splat conditions at the beginning + registers an offense for splat condition that do not appear at the end + registers an offense when splat is part of the condition + registers an offense for case when with a splat without an else + allows case when without splat + registers an offense for multiple out of order splat conditions + registers an offense for splat conditions in when then + allows splat on a variable in the last when condition + allows splat expansion on array literal as the last condition + registers an offense for a single when with splat expansion followed by another value + autocorrect + corrects an array followed by splat in the same condition + corrects a splat followed by array in the same condition + corrects a splat as part of the condition + moves multiple splat condition to the end of the when conditions + corrects a when with splat expansion followed by another value when there are multiple whens + corrects a single when with splat expansion followed by another value + corrects splat on a variable and leaves an array literal alone + corrects splat condition when using when then + moves a single splat condition to the end of the when conditions + corrects a when with multiple out of order splat expansions followed by other values when there are multiple whens + corrects nested case when statements + moves multiple out of order splat condition to the end of the when conditions RuboCop::Cop::Performance::InefficientHashSearch - when config enforces short hash methods + when config enforces long hash methods behaves like correct behavior - registers an offense when an existing hash receives `keys.include?` - finds no offense when a `keys` array variable receives `include?` - registers an offense when a hash literal receives `values.include?` registers an offense when a hash variable receives `values.include?` + registers an offense when a hash literal receives `values.include?` does not register an offense when `keys` method defined by itself and `include?` method are method chaining - registers an offense when a hash literal receives `keys.include?` + finds no offense when a `keys` array variable receives `include?` + registers an offense when an existing hash receives `keys.include?` finds no offense when a `values` array variable receives `include?` + registers an offense when a hash literal receives `keys.include?` autocorrect when using `keys.include?` corrects when hash is not a literal - corrects to `key?` or `has_key?` gracefully handles whitespace + corrects to `key?` or `has_key?` when using `values.include?` + corrects to `value?` or `has_value?` gracefully handles whitespace corrects when hash is not a literal - corrects to `value?` or `has_value?` when config specifies long hash methods but is not enabled behaves like correct behavior - finds no offense when a `values` array variable receives `include?` registers an offense when a hash variable receives `values.include?` - registers an offense when a hash literal receives `keys.include?` - registers an offense when an existing hash receives `keys.include?` finds no offense when a `keys` array variable receives `include?` - does not register an offense when `keys` method defined by itself and `include?` method are method chaining registers an offense when a hash literal receives `values.include?` + finds no offense when a `values` array variable receives `include?` + registers an offense when an existing hash receives `keys.include?` + does not register an offense when `keys` method defined by itself and `include?` method are method chaining + registers an offense when a hash literal receives `keys.include?` autocorrect when using `keys.include?` - gracefully handles whitespace corrects to `key?` or `has_key?` + gracefully handles whitespace corrects when hash is not a literal when using `values.include?` - gracefully handles whitespace corrects to `value?` or `has_value?` corrects when hash is not a literal - when config is empty + gracefully handles whitespace + when config enforces short hash methods behaves like correct behavior - finds no offense when a `keys` array variable receives `include?` registers an offense when an existing hash receives `keys.include?` registers an offense when a hash literal receives `keys.include?` - registers an offense when a hash literal receives `values.include?` - finds no offense when a `values` array variable receives `include?` registers an offense when a hash variable receives `values.include?` + finds no offense when a `keys` array variable receives `include?` does not register an offense when `keys` method defined by itself and `include?` method are method chaining + registers an offense when a hash literal receives `values.include?` + finds no offense when a `values` array variable receives `include?` autocorrect when using `values.include?` - corrects to `value?` or `has_value?` corrects when hash is not a literal + corrects to `value?` or `has_value?` gracefully handles whitespace when using `keys.include?` corrects to `key?` or `has_key?` - gracefully handles whitespace corrects when hash is not a literal - when config enforces long hash methods + gracefully handles whitespace + when config is empty behaves like correct behavior - does not register an offense when `keys` method defined by itself and `include?` method are method chaining - registers an offense when a hash literal receives `keys.include?` registers an offense when a hash literal receives `values.include?` finds no offense when a `values` array variable receives `include?` - registers an offense when a hash variable receives `values.include?` + registers an offense when a hash literal receives `keys.include?` registers an offense when an existing hash receives `keys.include?` finds no offense when a `keys` array variable receives `include?` + does not register an offense when `keys` method defined by itself and `include?` method are method chaining + registers an offense when a hash variable receives `values.include?` autocorrect - when using `keys.include?` + when using `values.include?` gracefully handles whitespace + corrects to `value?` or `has_value?` corrects when hash is not a literal + when using `keys.include?` + gracefully handles whitespace corrects to `key?` or `has_key?` - when using `values.include?` corrects when hash is not a literal - gracefully handles whitespace - corrects to `value?` or `has_value?` -RuboCop::Cop::Performance::UnfreezeString - registers an offense for a heredoc with `.dup` - accepts an empty string with unary plus operator - registers an offense for an empty string with `.dup` - registers an offense for a string that contains a stringinterpolation with `.dup` - registers an offense for `String.new` with an empty string - registers an offense for `String.new` with a string - registers an offense for a string with `.dup` - accepts a string with unary plus operator - accepts `String.new` with capacity option - registers an offense for `String.new` +RuboCop::Cop::Performance::DoubleStartEndWith + IncludeActiveSupportAliases: false + two #start_with? calls + with the same receiver + one of the parameters of the second call is not pure + doesn't register an offense + all parameters of the second call are pure + registers an offense + corrects to a single start_with? + with different receivers + doesn't register an offense + two #end_with? calls + with different receivers + doesn't register an offense + with the same receiver + one of the parameters of the second call is not pure + doesn't register an offense + all parameters of the second call are pure + corrects to a single end_with? + registers an offense + two #starts_with? calls + doesn't register an offense + a .start_with? and .end_with? call with the same receiver + doesn't register an offense + two #ends_with? calls + doesn't register an offense + IncludeActiveSupportAliases: true + two #end_with? calls + with the same receiver + all parameters of the second call are pure + corrects to a single end_with? + registers an offense + two #start_with? calls + with the same receiver + all parameters of the second call are pure + corrects to a single start_with? + registers an offense + two #starts_with? calls + with the same receiver + all parameters of the second call are pure + corrects to a single starts_with? + registers an offense + one of the parameters of the second call is not pure + doesn't register an offense + with different receivers + doesn't register an offense + two #ends_with? calls + with different receivers + doesn't register an offense + with the same receiver + all parameters of the second call are pure + registers an offense + corrects to a single ends_with? + one of the parameters of the second call is not pure + doesn't register an offense -RuboCop::Cop::Performance::Detect - registers an offense when first is called on multiline select - doesn't register an offense when last(n) is called on select - does not register an offense when find_all is used without first or last - registers an offense when last is called on multiline find_all - registers an offense when first is called on find_all - does not register an offense when find_all is calledon lazy enumerable - doesn't register an offense when last(n) is called on find_all - doesn't register an offense when first(n) is called on find_all - registers an offense when first is called on select - does not register an offense when find_all is calledwithout block or args - does not register an offense when select is calledwith args but without ampersand syntax - registers an offense when last is called on select short syntax - registers an offense when first is called on select short syntax - does not register an offense when select is calledon lazy enumerable - registers an offense when first is called on find_all short syntax - registers an offense when last is called on select - does not register an offense when find_all is calledwith args but without ampersand syntax - registers an offense when last is called on multiline select - registers an offense when find_all is calledon `lazy` without receiver - registers an offense when select is calledon `lazy` without receiver - registers an offense when first is called on multiline find_all - doesn't register an offense when first(n) is called on select - does not register an offense when select is used without first or last - registers an offense when last is called on find_all short syntax - does not register an offense when detect is used - does not register an offense when select is calledwithout block or args - registers an offense when last is called on find_all - autocorrect - behaves like detect_autocorrect - with detect - corrects multiline select to detect with 'first' on the last line (short syntax) - corrects select.last to reverse.detect (short syntax) - corrects find_all.last to reverse.detect (with block) - corrects multiline select to detect with 'first' on the last line - corrects find_all.first to detect (with block) - corrects find_all.first to detect (short syntax) - corrects select.first to detect (multiline) - corrects find_all.last to reverse.detect (multiline) - corrects select.last to reverse.detect (with block) - corrects select.last to reverse.detect (multiline) - corrects multiline find_all to detect with 'first' on the last line - corrects find_all.first to detect (multiline) - corrects select.first to detect (with block) - corrects select.first to detect (short syntax) - corrects multiline find_all to detect with 'first' on the last line (short syntax) - corrects find_all.last to reverse.detect (short syntax) - behaves like detect_autocorrect - with find - corrects multiline find_all to find with 'first' on the last line (short syntax) - corrects multiline select to find with 'first' on the last line (short syntax) - corrects select.first to find (short syntax) - corrects find_all.first to find (with block) - corrects select.last to reverse.find (with block) - corrects select.last to reverse.find (short syntax) - corrects find_all.last to reverse.find (short syntax) - corrects select.first to find (with block) - corrects multiline find_all to find with 'first' on the last line - corrects find_all.first to find (short syntax) - corrects select.last to reverse.find (multiline) - corrects find_all.first to find (multiline) - corrects find_all.last to reverse.find (multiline) - corrects find_all.last to reverse.find (with block) - corrects multiline select to find with 'first' on the last line - corrects select.first to find (multiline) +RuboCop::Cop::Performance::CompareWithBlock + autocorrects array.max { |a, b| a.bar <=> b.bar } + autocorrects array.min { |a, b| a[:foo] <=> b[:foo] } + formats the error message correctly for array.max { |a, b| a[:foo] <=> b[:foo] } + registers an offense for min + autocorrects array.sort do |a, b| a.foo <=> b.foo end + accepts min_by + autocorrects array.max { |a, b| a.foo <=> b.foo } + formats the error message correctly for array.min { |a, b| a[:foo] <=> b[:foo] } + autocorrects array.max { |x, y| x.foo <=> y.foo } + registers an offense for min with [1] + registers an offense for sort with ['foo'] + autocorrects array.min { |a, b| a.foo <=> b.foo } + autocorrects array.sort { |a, b| a[1] <=> b[1] } + autocorrects array.sort { |a, b| a.bar <=> b.bar } + formats the error message correctly for array.min { |a, b| a.foo <=> b.foo } + registers an offense for max with [:foo] + autocorrects array.max { |a, b| a['foo'] <=> b['foo'] } + accepts valid max usage + autocorrects array.sort { |a, b| a['foo'] <=> b['foo'] } + autocorrects array.min { |x, y| x.foo <=> y.foo } + highlights compare method + formats the error message correctly for array.sort { |a, b| a[:foo] <=> b[:foo] } + accepts max_by + autocorrects array.max do |a, b| a.foo <=> b.foo end + formats the error message correctly for array.sort { |a, b| a.foo <=> b.foo } + autocorrects array.min { |a, b| a['foo'] <=> b['foo'] } + accepts valid min usage + autocorrects array.sort { |a, b| a.foo <=> b.foo } + registers an offense for sort with [1] + autocorrects array.min do |a, b| a.foo <=> b.foo end + registers an offense for min with [:foo] + accepts sort_by + highlights compare method + autocorrects array.min { |a, b| a[1] <=> b[1] } + formats the error message correctly for array.max { |a, b| a.foo <=> b.foo } + registers an offense for min with ['foo'] + accepts valid sort usage + registers an offense for sort with [:foo] + registers an offense for max with [1] + registers an offense for sort + registers an offense for max + highlights compare method + autocorrects array.sort { |x, y| x.foo <=> y.foo } + autocorrects array.max { |a, b| a[:foo] <=> b[:foo] } + autocorrects array.sort { |a, b| a[:foo] <=> b[:foo] } + autocorrects array.min { |a, b| a.bar <=> b.bar } + registers an offense for max with ['foo'] + autocorrects array.max { |a, b| a[1] <=> b[1] } -RuboCop::Cop::Performance::IoReadlines - registers an offense when using `IO.readlines` followed by Enumerable method - does not register an offense when using `.readlines` and not followed by Enumerable method - registers an offense and corrects when using `#readlines` on an instance followed by `#each` method - does not register an offense when using `#readlines` on an instance and not followed by Enumerable method - registers an offense and corrects when using `#readlines` on an instance followed by Enumerable method - registers an offense when using `File.readlines` followed by Enumerable method - registers an offense when using `IO.readlines` followed by `#each` method +RuboCop::Cop::Performance::BindCall + TargetRubyVersion >= 2.7 + registers an offense when using `bind(obj).call(args, ...)` + does not register an offense when using `bind_call(obj, args, ...)` + registers an offense when the argument of `bind` method is a string + registers an offense when using `bind(obj).()` + registers an offense when a argument of `call` method is a string + TargetRubyVersion <= 2.6 + does not register an offense when using `bind(obj).call(args, ...)` -RuboCop::Cop::Performance::RedundantSortBlock - does not register an offense when sorting in direct order by some property - registers an offense and corrects when sorting in direct order - does not register an offense when using `sort` - does not register an offense when sorting in reverse order +RuboCop::Cop::Performance::UriDefaultParser + registers an offense when using `URI::Parser.new` + registers an offense when using `::URI::Parser.new` + autocorrects `URI::DEFAULT_PARSER` + autocorrects `::URI::DEFAULT_PARSER` -RuboCop::Cop::Performance::ReverseEach - registers an offense when each is called on reverse - registers an offense for a multi-line reverse.each - registers an offense when each is called on reverse on a method call - does not register an offense when each is used without reverse - does not register an offense when reverse is used without each - registers an offense when each is called on reverse on a variable - autocorrect - corrects reverse.each to reverse_each on a variable - corrects a multi-line reverse_each - corrects reverse.each to reverse_each on a method call - corrects reverse.each to reverse_each +RuboCop::Cop::Performance::ReverseFirst + registers an offense and corrects when using `#reverse.first` + registers an offense and corrects when using `#reverse.first(5)` + does not register an offense when `#reverse` is not followed by `#first` + +RuboCop::Cop::Performance::StringInclude + autocorrects str =~ /\*/ + autocorrects /abc/.match? str + autocorrects str =~ /\o/ + doesn't register an error for str.match? /\A/ + doesn't register an error for /\A/.match? str + autocorrects /\e =~ str/ + doesn't register an error for /prefix$/.match? str + doesn't register an error for /\w/ =~ str + autocorrects str.match /\./ + doesn't register an error for str =~ /prefix?/ + autocorrects /\$/.match? str + doesn't register an error for str =~ /\G/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects str.match /\l/ + doesn't register an error for /prefix*/.match str + doesn't register an error for /\z/.match str + doesn't register an error for str.match? /\X/ + autocorrects /\*/.match? str + doesn't register an error for str =~ /\z/ + doesn't register an error for str.match /\W/ + doesn't register an error for /prefix^/.match? str + doesn't register an error for /\b/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects str.match /\m/ + doesn't register an error for str.match? /\D/ + doesn't register an error for str =~ /\X/ + autocorrects /\$/ =~ str + autocorrects /\^/.match? str + formats the error message correctly for str.match /abc/ + doesn't register an error for /\h/.match? str + autocorrects /\*/.match str + formats the error message correctly for str.match? /abc/ + doesn't register an error for str.match? /\S/ + doesn't register an error for str.match /\A/ + doesn't register an error for str.match /\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects /\l.match str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects /\q.match str/ + autocorrects /\r.match? str/ + doesn't register an error for /\S/.match? str + doesn't register an error for str =~ /\S/ + autocorrects /\o.match str/ + doesn't register an error for str =~ /prefix^/ + doesn't register an error for /\X/ =~ str + doesn't register an error for /\s/ =~ str + doesn't register an error for str.match /\w/ + autocorrects /\./.match str + autocorrects /\e.match str/ + doesn't register an error for str.match? /\s/ + autocorrects str =~ /\^/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects /\j =~ str/ + autocorrects str =~ /\$/ + doesn't register an error for str.match? /\R/ + doesn't register an error for str.match? /prefix$/ + autocorrects str.match? /\|/ + doesn't register an error for str.match /prefix$/ + autocorrects str =~ /\./ + doesn't register an error for str.match? /\h/ + doesn't register an error for /\s/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects str.match? /\i/ + autocorrects /\./.match? str + autocorrects /\e.match? str/ + autocorrects /\r =~ str/ + doesn't register an error for str =~ /\R/ + autocorrects /abc/ =~ str + doesn't register an error for str.match /\G/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects str =~ /\m/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects str.match /\q/ + autocorrects str.match? /\$/ + doesn't register an error for /\Z/.match str + autocorrects str.match /\f/ + doesn't register an error for /prefix./.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects str =~ /\j/ + doesn't register an error for str =~ /\S/ + autocorrects str.match /\$/ + doesn't register an error for /\d/ =~ str + autocorrects /\\/ =~ str + autocorrects str =~ /\?/ + doesn't register an error for str =~ /\h/ + doesn't register an error for /\w/.match str + autocorrects str.match? /\?/ + doesn't register an error for str.match /\Z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects /\m =~ str/ + autocorrects /\^/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects /\j.match str/ + doesn't register an error for /\G/.match str + doesn't register an error for /prefix|/.match? str + doesn't register an error for str =~ /\b/ + autocorrects str.match? /\t/ + doesn't register an error for /prefix^/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects /\l =~ str/ + autocorrects str.match /\v/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects /\y.match? str/ + autocorrects str.match? /\*/ + doesn't register an error for /\z/ =~ str + doesn't register an error for /\W/.match str + autocorrects /abc/.match str + autocorrects /\v.match str/ + doesn't register an error for /\S/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects str.match? /\m/ + doesn't register an error for /prefix|/.match str + autocorrects /\\/.match str + doesn't register an error for str.match /\b/ + autocorrects str.match? /\v/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects /\m.match str/ + autocorrects /\?/ =~ str + doesn't register an error for str.match? /prefix*/ + doesn't register an error for str.match? /\H/ + doesn't register an error for /\s/.match? str + autocorrects /\*/ =~ str + doesn't register an error for str =~ /\H/ + autocorrects /\o =~ str/ + doesn't register an error for /\w/.match? str + doesn't register an error for /prefix*/.match? str + autocorrects /\r.match str/ + autocorrects str.match /\?/ + doesn't register an error for /\d/.match? str + doesn't register an error for str.match /\d/ + doesn't register an error for /prefix?/.match? str + doesn't register an error for str =~ /\D/ + autocorrects str.match? /\r/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects str.match? /\l/ + autocorrects str.match /\r/ + formats the error message correctly for /abc/.match? str + autocorrects str.match /\t/ + autocorrects str =~ /\v/ + doesn't register an error for /prefix?/.match str + doesn't register an error for /\W/ =~ str + autocorrects /\?/.match? str + doesn't register an error for str =~ /\s/ + doesn't register an error for /\Z/ =~ str + doesn't register an error for str =~ /\W/ + autocorrects str.match? /\o/ + doesn't register an error for str.match? /\G/ + doesn't register an error for /\S/ =~ str + doesn't register an error for /\h/ =~ str + doesn't register an error for str.match /\S/ + autocorrects /\t.match? str/ + autocorrects str =~ /\t/ + doesn't register an error for str =~ /prefix$/ + doesn't register an error for /\D/ =~ str + doesn't register an error for str.match /\B/ + autocorrects /\a =~ str/ + doesn't register an error for str.match? /prefix./ + doesn't register an error for /\Z/.match? str + autocorrects str.match /\\/ + doesn't register an error for /\A/.match str + doesn't register an error for /\G/.match? str + autocorrects /\?/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects str.match /\i/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects str =~ /\l/ + doesn't register an error for /\H/.match? str + autocorrects str.match /\e/ + doesn't register an error for str.match? /\Z/ + autocorrects /\o.match? str/ + autocorrects /\^/.match str + doesn't register an error for str =~ /\Z/ + doesn't register an error for str =~ /\w/ + doesn't register an error for /\R/.match? str + doesn't register an error for /\d/.match str + autocorrects str.match? /\\/ + doesn't register an error for str.match? /\d/ + autocorrects str =~ /\r/ + doesn't register an error for str.match /\h/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects /\l.match? str/ + autocorrects /\$/.match str + doesn't register an error for /\R/.match str + doesn't register an error for /\G/ =~ str + autocorrects str.match /\a/ + formats the error message correctly for str =~ /abc/ + allows match without a receiver + doesn't register an error for str.match /prefix*/ + doesn't register an error for /\H/.match str + autocorrects /\a.match str/ + autocorrects str.match /\*/ + doesn't register an error for str.match /prefix./ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects str.match /\j/ + autocorrects str.match? /\./ + autocorrects str.match? /\a/ + doesn't register an error for str.match? /prefix?/ + doesn't register an error for /\H/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects str.match? /\y/ + doesn't register an error for /\B/.match str + doesn't register an error for str.match /prefix?/ + doesn't register an error for str.match? /\b/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects str.match? /\j/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects str.match /\y/ + autocorrects /\./ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects /\y.match str/ + doesn't register an error for str =~ /prefix*/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects str =~ /\y/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects /\q.match? str/ + doesn't register an error for /\B/ =~ str + doesn't register an error for /prefix$/ =~ str + formats the error message correctly for /abc/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects str =~ /\q/ + doesn't register an error for /\X/.match str + doesn't register an error for str.match /\X/ + autocorrects /\v.match? str/ + doesn't register an error for /prefix./ =~ str + doesn't register an error for /\z/.match? str + doesn't register an error for /prefix|/ =~ str + doesn't register an error for str.match /\R/ + autocorrects str =~ /\|/ + doesn't register an error for /\h/.match str + doesn't register an error for /\R/ =~ str + autocorrects /\|/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects /\m.match? str/ + doesn't register an error for /prefix*/ =~ str + formats the error message correctly for /abc/ =~ str + doesn't register an error for str.match /\s/ + doesn't register an error for /\b/.match str + autocorrects str =~ /\e/ + autocorrects /\t.match str/ + doesn't register an error for str.match? /\B/ + autocorrects /\|/.match? str + autocorrects str =~ /\a/ + autocorrects str.match /\o/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects /\i.match? str/ + autocorrects str.match /\^/ + autocorrects /\f =~ str/ + doesn't register an error for /prefix$/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects /\y =~ str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects /\i.match str/ + doesn't register an error for str =~ /prefix./ + doesn't register an error for str =~ /prefix|/ + doesn't register an error for /\S/.match? str + doesn't register an error for /\S/.match str + autocorrects str =~ /\\/ + doesn't register an error for /\A/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects /\i =~ str/ + autocorrects str.match /abc/ + autocorrects str =~ /\f/ + autocorrects /\\/.match? str + autocorrects /\t =~ str/ + doesn't register an error for /\X/.match? str + doesn't register an error for str.match /prefix^/ + doesn't register an error for str.match /prefix|/ + doesn't register an error for str.match /\S/ + doesn't register an error for /\D/.match str + doesn't register an error for str =~ /\A/ + autocorrects str.match? /abc/ + doesn't register an error for str.match? /\w/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects /\j.match? str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects str.match? /\q/ + doesn't register an error for str =~ /\d/ + autocorrects /\a.match? str/ + allows argument of `match?` is not a string literal + doesn't register an error for str.match /\D/ + autocorrects str.match? /\f/ + autocorrects str.match? /\^/ + doesn't register an error for str =~ /\B/ + doesn't register an error for str.match? /prefix^/ + doesn't register an error for /prefix?/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects str =~ /\i/ + autocorrects str.match /\|/ + doesn't register an error for /\S/ =~ str + doesn't register an error for str.match? /\z/ + doesn't register an error for str.match? /\S/ + autocorrects str.match? /\e/ + doesn't register an error for /prefix^/ =~ str + autocorrects /\v =~ str/ + autocorrects /\|/ =~ str + doesn't register an error for /prefix./.match? str + autocorrects /\f.match? str/ + doesn't register an error for /\D/.match? str + doesn't register an error for str.match /\H/ + doesn't register an error for /\W/.match? str + autocorrects str =~ /abc/ + doesn't register an error for /\B/.match? str + autocorrects /\f.match str/ + doesn't register an error for /\b/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects /\q =~ str/ + doesn't register an error for str.match? /prefix|/ + doesn't register an error for str.match? /\W/ RuboCop::Cop::Performance::RegexpMatch - accepts =~ with assignment accepts match without arguments + registers an offense when a regexp used independently with a regexp used in `if` are mixed + accepts =~ with assignment accepts String#match? method call accepts match without explicit regexp/str/sym use accepts Regexp#match? method call - registers an offense when a regexp used independently with a regexp used in `if` are mixed - behaves like all legacy match methods - corrects matching by =~` in class method, `$~` is in other method - accepts matching by =~` in guard condition with $& is used in the line after that - registers an offense for matching by =~` in method definition - corrects matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with Regexp.last_match(1) before if - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in guard condition with $2 is used in the line after that - accepts matching by =~` in method with $~ before unless - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $2 - corrects matching by =~` in method before `$MATCH` - corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in method with $' - corrects matching by =~` in method, `$&` is in other method - corrects matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $MATCH in block - accepts matching by =~` in method with $& in block - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $1 - corrects matching by =~` in class, `$1` is in method - accepts matching by =~` in method with $~ - corrects matching by =~` in class method, `$1` is in other method - accepts matching by =~` in a class method with $' - corrects matching by =~`, $~ reference is overrided - corrects matching by =~` in if guard condition with $~ is used in another method - accepts matching by =~` in method with $MATCH before if - corrects matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in if guard condition with $100 is used in another method - accepts matching by =~` in method with Regexp.last_match(1) before unless - registers an offense for matching by =~` in class, `$'` is in method - accepts matching by =~` in method with Regexp.last_match before unless - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in module, `$'` is in method - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~`, $100 reference is overrided - corrects matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in class, `$2` is in method - accepts matching by =~` in method with $2 in block - corrects matching by =~` in module, `$`` is in method - corrects matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~` in method before `$MATCH` - corrects matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in unless condition - corrects matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~`, $2 reference is overrided - corrects matching by =~` in method before `$100` - accepts matching by =~` in method with $` - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by =~`, $& reference is overrided - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $` before if - registers an offense for matching by =~`, $MATCH reference is overrided - accepts matching by =~` in a class method with Regexp.last_match(1) - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~` in class, `$&` is in method - accepts matching by =~` in method with $100 - corrects matching by =~`, $' reference is overrided - corrects matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~`, $2 reference is overrided - accepts matching by =~` in method with $100 before if - corrects matching by =~` in unless condition - registers an offense for matching by =~` in if guard condition with $2 is used in another method - accepts matching by =~` in method with $' in block - accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in a class method with $` - registers an offense for matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~` in class, `$`` is in method - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in case condition - accepts matching by =~` in guard condition with $' is used in the line after that - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in class method, `$1` is in other method - accepts matching by =~` in a class method with $100 - corrects matching by =~` in if condition - corrects matching by =~` in unless condition - registers an offense for matching by =~` in if condition - corrects matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $2 before unless - corrects matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in elsif condition - registers an offense for matching by =~`, $100 reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in method with Regexp.last_match before if - registers an offense for matching by =~` in method, `$2` is in other method - accepts matching by =~` in method with $' before if - corrects matching by =~` in if condition - registers an offense for matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in case condition - accepts matching by =~` in a class method with $& - registers an offense for matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in a class method with $MATCH - corrects matching by =~`, $MATCH reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) in block - registers an offense for matching by =~` in method before `$100` - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in unless condition - corrects matching by =~` in ternary operator - corrects matching by =~`, $` reference is overrided - registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in method, `$100` is in other method - accepts matching by =~` in method with Regexp.last_match in block - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in class method, `Regexp.last_match` is in other method - accepts matching by =~` in guard condition with $` is used in the line after that - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in method before `$`` - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in module, `$`` is in method - accepts matching by =~` in a class method with $1 - corrects matching by =~` in method before `$&` - registers an offense for matching by =~` in module, `$1` is in method - accepts matching by =~` in method with $~ in block - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in method definition - registers an offense for matching by =~` in class, `$&` is in method - registers an offense for matching by =~`, $1 reference is overrided - corrects matching by =~` in class method, `$100` is in other method - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in method before `$2` - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in method, `$1` is in other method - corrects matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in class method, `$`` is in other method - corrects matching by =~` in method before `$`` - accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in method with $& before if - accepts matching by =~` in method with $2 before if - corrects matching by =~` in method, `$2` is in other method - registers an offense for matching by =~` in method before `$'` - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in method, `$&` is in other method - accepts matching by =~` in method with $` in block - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in ternary operator - accepts matching by =~` in guard condition with $1 is used in the line after that - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in method with $~ before if - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in method before `$1` - accepts matching by =~` in a class method with $~ - corrects matching by =~` in method before `$2` - accepts matching by =~` in method with $` before unless - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~` in class method, `$&` is in other method - accepts matching by =~` in guard condition with $100 is used in the line after that - accepts matching by =~` in method with $' before unless - registers an offense for matching by =~` in method before `$~` - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in module, `$&` is in method - corrects matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in class, `$2` is in method - corrects matching by =~`, $& reference is overrided - accepts matching by =~` in method with $& - accepts matching by =~` in method with $1 before unless - corrects matching by =~` in method, `$100` is in other method - corrects matching by =~` in class, `$'` is in method - registers an offense for matching by =~`, $' reference is overrided - registers an offense for matching by =~` in class, `$MATCH` is in method - accepts matching by =~` in a class method with $2 - accepts matching by =~` in method with $MATCH - corrects matching by =~` in module, `$2` is in method - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in method before `$1` - corrects matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in method with $1 before if - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~` in method before `$&` - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by =~` in method with $1 in block - corrects matching by =~` in module, `$MATCH` is in method - corrects matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in a class method with Regexp.last_match - registers an offense for matching by =~` in method, `$`` is in other method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in elsif condition - registers an offense for matching by =~`, $` reference is overrided behaves like all legacy match methods - accepts matching by =~` in method with $100 - accepts matching by =~` in method with $` - registers an offense for matching by =~` in method before `$MATCH` - corrects matching by =~` in class method, `$100` is in other method - accepts matching by =~` in method with $~ before unless - accepts matching by =~` in method with $& before if - corrects matching by =~` in class, `$2` is in method - corrects matching by =~` in class method, `$1` is in other method - corrects matching by =~` in method, `$~` is in other method - registers an offense for matching by =~`, $' reference is overrided - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in method definition - corrects matching by =~` in method, `$&` is in other method - corrects matching by =~` in class, `$'` is in method - corrects matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in method, `$2` is in other method - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in method before `$100` - accepts matching by =~` in method with $& in block - registers an offense for matching by =~` in if condition - corrects matching by =~` in if condition - registers an offense for matching by =~` in module, `$2` is in method - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in module, `$MATCH` is in method - corrects matching by =~` in class method, `$`` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $MATCH before if - accepts matching by =~` in method with $1 before if - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in method before `$`` - registers an offense for matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in class method, `$'` is in other method - corrects matching by =~`, $1 reference is overrided - corrects matching by =~`, $' reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) before unless - corrects matching by =~` in class method, `$2` is in other method - accepts matching by =~` in method with Regexp.last_match(1) before if - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in module, `$100` is in method - accepts matching by =~` in method with Regexp.last_match before if - corrects matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in guard condition with $100 is used in the line after that - corrects matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in method before `$2` - registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~` in method before `$1` - corrects matching by =~` in elsif condition - corrects matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in method before `$~` - registers an offense for matching by =~` in module, `$~` is in method - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in class method, `$&` is in other method - accepts matching by =~` in method with $MATCH - accepts matching by =~` in method with $2 in block - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in a class method with $' - registers an offense for matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in class, `$&` is in method - accepts matching by =~` in method with $2 before if - registers an offense for matching by =~` in class, `$'` is in method - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in guard condition with $' is used in the line after that - corrects matching by =~` in method before `$100` - accepts matching by =~` in method with $1 - corrects matching by =~` in method before `$2` - corrects matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in module, `$'` is in method - corrects matching by =~`, $` reference is overrided - accepts matching by =~` in method with $~ in block - registers an offense for matching by =~` in method before `$&` - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in if condition - accepts matching by =~` in method with $` before unless - registers an offense for matching by =~` in module, `$1` is in method - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - accepts matching by =~` in guard condition with $MATCH is used in the line after that - accepts matching by =~` in method with $2 before unless - corrects matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in class method, `$~` is in other method - corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $MATCH before unless - corrects matching by =~` in method, `$MATCH` is in other method - corrects matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in unless condition - accepts matching by =~` in method with $& before unless - accepts matching by =~` in method with $' before if - accepts matching by =~` in method with Regexp.last_match before unless - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $1 in block - registers an offense for matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in module, `$~` is in method - corrects matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in a class method with $1 - registers an offense for matching by =~` in module, `$&` is in method - corrects matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in method before `$1` - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $` in block - corrects matching by =~` in unless condition - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in method before `$'` - accepts matching by =~` in method with Regexp.last_match in block - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~`, $2 reference is overrided - accepts matching by =~` in method with $~ before if - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in guard condition with $& is used in the line after that - registers an offense for matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in a class method with Regexp.last_match(1) - registers an offense for matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with Regexp.last_match(1) in block - accepts matching by =~` in method with $100 in block - corrects matching by =~` in class, `$100` is in method - accepts matching by =~` in method with $' in block - corrects matching by =~` in module, `$2` is in method - corrects matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in module, `$1` is in method - registers an offense for matching by =~`, $~ reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) - corrects matching by =~` in unless condition - accepts matching by =~` in method with $2 - corrects matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in method before `$`` - registers an offense for matching by =~` in method, `$100` is in other method - accepts matching by =~` in guard condition with $2 is used in the line after that - corrects matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $& - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in elsif condition - registers an offense for matching by =~`, $MATCH reference is overrided - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in method, `$2` is in other method - corrects matching by =~` in case condition - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $~ - corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~`, $1 reference is overrided - accepts matching by =~` in method with $1 before unless - corrects matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in a class method with $` - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with $100 before if - accepts matching by =~` in a class method with Regexp.last_match - accepts matching by =~` in method with $' - accepts matching by =~` in a class method with $& - registers an offense for matching by =~` in method, `$`` is in other method - accepts matching by =~` in method with $' before unless - accepts matching by =~` in method with $MATCH in block - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in guard condition with $~ is used in the line after that - accepts matching by =~` in a class method with $100 - accepts matching by =~` in guard condition with $` is used in the line after that - corrects matching by =~`, $2 reference is overrided - corrects matching by =~`, $& reference is overrided - accepts matching by =~` in a class method with $MATCH - accepts matching by =~` in method with $` before if - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~`, $& reference is overrided - registers an offense for matching by =~` in ternary operator - registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~`, $MATCH reference is overrided - corrects matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in if guard condition with $2 is used in another method - accepts matching by =~` in a class method with $2 - corrects matching by =~` in method, `$'` is in other method - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by =~` in module, `$100` is in method - corrects matching by =~` in ternary operator - registers an offense for matching by =~` in class, `$2` is in method - corrects matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in method before `$&` - corrects matching by =~` in method definition - accepts matching by =~` in method with $100 before unless - corrects matching by =~`, $~ reference is overrided - corrects matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in if condition - corrects matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in class method, `$1` is in other method - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in case condition - behaves like all legacy match methods - accepts matching by !~` in method with $& - registers an offense for matching by !~` in method before `$~` - registers an offense for matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in class, `$&` is in method + corrects matching by !~` in if condition + accepts matching by !~` in a class method with $& + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in method before `$'` + registers an offense for matching by !~` in class method, `$'` is in other method + corrects matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~`, $' reference is overrided + accepts matching by !~` in method with $100 before if + corrects matching by !~` in method before `$`` registers an offense for matching by !~` in method, `$'` is in other method - accepts matching by !~` in method with $' in block - corrects matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in module, `$~` is in method - corrects matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in method with $' before if - registers an offense for matching by !~`, $2 reference is overrided - accepts matching by !~` in a class method with $2 - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in method, `$~` is in other method + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in elsif condition + accepts matching by !~` in method with $MATCH in block + accepts matching by !~` in a class method with $' + registers an offense for matching by !~`, $MATCH reference is overrided + accepts matching by !~` in method with $` before if + corrects matching by !~` in method before `$1` + accepts matching by !~` in a class method with Regexp.last_match registers an offense for matching by !~` in class, `$MATCH` is in method + corrects matching by !~` in unless condition + accepts matching by !~` in guard condition with $~ is used in the line after that + accepts matching by !~` in method with $2 in block + accepts matching by !~` in method with $2 registers an offense for matching by !~` in method before `$&` + corrects matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + accepts matching by !~` in method with $2 before unless + accepts matching by !~` in method with $1 before if + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by !~` in method before `$~` + corrects matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~` in method before `$MATCH` + accepts matching by !~` in method with $1 in block + corrects matching by !~` in class method, `$100` is in other method + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in module, `$2` is in method + accepts matching by !~` in method with Regexp.last_match before if + accepts matching by !~` in a class method with $MATCH + corrects matching by !~` in if guard condition with $& is used in another method + accepts matching by !~` in method with $~ before unless + registers an offense for matching by !~` in class, `$&` is in method + corrects matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in module, `$'` is in method accepts matching by !~` in a class method with $100 + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in class, `$2` is in method + accepts matching by !~` in guard condition with $` is used in the line after that + corrects matching by !~`, $2 reference is overrided + corrects matching by !~` in method before `$&` + corrects matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in class, `$100` is in method + corrects matching by !~` in module, `$'` is in method + corrects matching by !~` in if condition + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with $1 before unless + accepts matching by !~` in method with $' before if + corrects matching by !~` in method before `$'` + corrects matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in module, `$~` is in method + corrects matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with $& + registers an offense for matching by !~` in elsif condition + registers an offense for matching by !~` in method before `$MATCH` + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in method, `$100` is in other method + accepts matching by !~` in method with Regexp.last_match(1) in block + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by !~` in method definition - registers an offense for matching by !~` in class, `$~` is in method - corrects matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in a class method with $MATCH + accepts matching by !~` in method with $' before unless + corrects matching by !~` in if guard condition with $' is used in another method + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in case condition + corrects matching by !~` in if guard condition with $MATCH is used in another method + accepts matching by !~` in method with $100 before unless + accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in method, `Regexp.last_match` is in other method corrects matching by !~` in class, `$~` is in method - corrects matching by !~` in method before `$~` - corrects matching by !~` in method before `$'` + corrects matching by !~`, $MATCH reference is overrided + accepts matching by !~` in method with $' in block + registers an offense for matching by !~` in case condition + registers an offense for matching by !~` in class, `$1` is in method + accepts matching by !~` in method with $1 + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in method, `$2` is in other method + corrects matching by !~` in if guard condition with $` is used in another method + accepts matching by !~` in method with $& before unless + accepts matching by !~` in method with Regexp.last_match(1) before unless + accepts matching by !~` in method with $MATCH before if + accepts matching by !~` in method with $~ corrects matching by !~` in method, `$'` is in other method - corrects matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in method before `$`` corrects matching by !~`, $' reference is overrided - corrects matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with $MATCH before unless - registers an offense for matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in if guard condition with $& is used in another method - accepts matching by !~` in method with $` before if - accepts matching by !~` in method with $' - corrects matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - accepts matching by !~` in method with $& before if - registers an offense for matching by !~` in unless condition - corrects matching by !~`, $100 reference is overrided + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in module, `$100` is in method corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in method before `$`` - corrects matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in case condition - accepts matching by !~` in method with $2 - accepts matching by !~` in a class method with $& - corrects matching by !~` in module, `$1` is in method - corrects matching by !~` in unless condition - accepts matching by !~` in guard condition with $' is used in the line after that - registers an offense for matching by !~` in class, `$'` is in method + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in module, `$`` is in method + corrects matching by !~` in module, `$`` is in method + accepts matching by !~` in method with Regexp.last_match(1) + registers an offense for matching by !~` in class method, `$MATCH` is in other method corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in module, `$1` is in method + corrects matching by !~` in class, `$&` is in method corrects matching by !~` in class method, `$`` is in other method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by !~` in method with Regexp.last_match(1) - registers an offense for matching by !~` in class method, `$'` is in other method - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in class method, `$&` is in other method - accepts matching by !~` in method with $~ - corrects matching by !~` in module, `$~` is in method - corrects matching by !~` in method before `$1` + registers an offense for matching by !~` in method, `$&` is in other method + registers an offense for matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $~ before if + registers an offense for matching by !~` in ternary operator + corrects matching by !~` in if guard condition with $100 is used in another method + accepts matching by !~` in method with $` before unless + corrects matching by !~`, $1 reference is overrided + corrects matching by !~` in ternary operator + registers an offense for matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in module, `Regexp.last_match(1)` is in method registers an offense for matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in guard condition with $2 is used in the line after that - accepts matching by !~` in method with $2 in block - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in method with $100 + registers an offense for matching by !~` in class method, `$2` is in other method + accepts matching by !~` in method with $100 in block + corrects matching by !~` in unless condition + registers an offense for matching by !~` in unless condition corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in guard condition with $& is used in the line after that - corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $2 before if + accepts matching by !~` in method with $100 + corrects matching by !~` in method before `$~` + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in a class method with $2 + corrects matching by !~` in class method, `$&` is in other method + corrects matching by !~` in method, `$~` is in other method + registers an offense for matching by !~` in class method, `$1` is in other method + corrects matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in method, `$100` is in other method + registers an offense for matching by !~`, $2 reference is overrided + corrects matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in if guard condition with $& is used in another method + accepts matching by !~` in method with $` + accepts matching by !~` in guard condition with $1 is used in the line after that accepts matching by !~` in method with $` in block - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in module, `$&` is in method - accepts matching by !~` in method with $100 in block - corrects matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $& before unless - accepts matching by !~` in method with $~ in block - accepts matching by !~` in method with $100 before unless - accepts matching by !~` in method with $MATCH in block - accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in guard condition with $2 is used in the line after that + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in method, `$~` is in other method corrects matching by !~` in module, `$&` is in method - corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~` in method, `$1` is in other method + accepts matching by !~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by !~` in class method, `$~` is in other method + registers an offense for matching by !~`, $` reference is overrided + accepts matching by !~` in method with $~ in block + accepts matching by !~` in method with Regexp.last_match before unless + accepts matching by !~` in method with $MATCH registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with $~ before unless - registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in class, `$1` is in method - accepts matching by !~` in method with $100 before if - registers an offense for matching by !~` in class, `$2` is in method - accepts matching by !~` in method with Regexp.last_match(1) before unless - corrects matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in method before `$1` + registers an offense for matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in class method, `$1` is in other method + accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in method definition + registers an offense for matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with $' corrects matching by !~` in class, `$1` is in method - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with Regexp.last_match in block + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in method with Regexp.last_match(1) before if corrects matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~`, $~ reference is overrided + accepts matching by !~` in method with $MATCH before unless + registers an offense for matching by !~` in method before `$100` + corrects matching by !~` in class, `$2` is in method + registers an offense for matching by !~` in method before `$1` + corrects matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in class, `$`` is in method + corrects matching by !~`, $& reference is overrided + registers an offense for matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in module, `$2` is in method + accepts matching by !~` in guard condition with $& is used in the line after that + registers an offense for matching by !~` in class, `$`` is in method + corrects matching by !~` in class method, `$~` is in other method + accepts matching by !~` in a class method with $1 + corrects matching by !~` in module, `$~` is in method + corrects matching by !~` in method before `$2` registers an offense for matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~`, $1 reference is overrided + accepts matching by !~` in guard condition with $100 is used in the line after that + accepts matching by !~` in a class method with $` + registers an offense for matching by !~` in method, `$2` is in other method + corrects matching by !~` in method before `$100` + registers an offense for matching by !~`, $& reference is overrided + registers an offense for matching by !~` in method before `$2` corrects matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in method, `$MATCH` is in other method + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + accepts matching by !~` in method with $& in block + corrects matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in class method, `$2` is in other method + accepts matching by !~` in method with $& before if + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + behaves like all legacy match methods + accepts matching by !~` in method with Regexp.last_match(1) before if + accepts matching by !~` in method with $100 + corrects matching by !~` in module, `$100` is in method + accepts matching by !~` in method with $` in block + registers an offense for matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in class, `$'` is in method + registers an offense for matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in class, `$`` is in method registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + accepts matching by !~` in guard condition with $MATCH is used in the line after that + accepts matching by !~` in method with $2 in block + corrects matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in class method, `$&` is in other method + corrects matching by !~`, $1 reference is overrided + accepts matching by !~` in method with $' before if + registers an offense for matching by !~` in method before `$~` + corrects matching by !~` in method before `$~` + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in ternary operator + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in a class method with $2 accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by !~` in method with Regexp.last_match before if - accepts matching by !~` in method with $2 before if - accepts matching by !~` in method with $1 in block - registers an offense for matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~`, $` reference is overrided - corrects matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in class, `$100` is in method - accepts matching by !~` in method with $~ before if + corrects matching by !~` in case condition + accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in guard condition with $2 is used in the line after that + corrects matching by !~` in class, `$MATCH` is in method + corrects matching by !~` in method before `$1` + registers an offense for matching by !~` in class, `$2` is in method + accepts matching by !~` in method with $MATCH before if registers an offense for matching by !~` in module, `$1` is in method - corrects matching by !~` in method before `$100` - accepts matching by !~` in a class method with $~ - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in method before `$2` - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in module, `$'` is in method - accepts matching by !~` in guard condition with $100 is used in the line after that - registers an offense for matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~` in method before `$MATCH` + corrects matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in method, `$1` is in other method + corrects matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~`, $' reference is overrided + registers an offense for matching by !~` in method, `$'` is in other method + registers an offense for matching by !~`, $1 reference is overrided + accepts matching by !~` in method with $~ before unless + registers an offense for matching by !~` in class method, `$'` is in other method + accepts matching by !~` in method with $& + corrects matching by !~` in class, `$1` is in method registers an offense for matching by !~` in class method, `$100` is in other method - accepts matching by !~` in a class method with $1 - accepts matching by !~` in method with Regexp.last_match(1) in block - corrects matching by !~` in module, `$2` is in method - accepts matching by !~` in method with Regexp.last_match in block - registers an offense for matching by !~` in class, `$&` is in method - registers an offense for matching by !~` in module, `$100` is in method - corrects matching by !~` in if condition - registers an offense for matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in guard condition with $' is used in the line after that + accepts matching by !~` in a class method with Regexp.last_match + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $' + registers an offense for matching by !~` in class, `$~` is in method + corrects matching by !~` in class, `$2` is in method + corrects matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~` in class method, `$`` is in other method + accepts matching by !~` in a class method with $MATCH + accepts matching by !~` in method with $MATCH + corrects matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in unless condition + accepts matching by !~` in method with Regexp.last_match before unless + accepts matching by !~` in method with $` + corrects matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in method definition + corrects matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in method, `$100` is in other method + corrects matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method registers an offense for matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in method, `$`` is in other method - accepts matching by !~` in guard condition with $` is used in the line after that - accepts matching by !~` in method with $1 before unless + accepts matching by !~` in method with Regexp.last_match before if + corrects matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in method before `$`` registers an offense for matching by !~` in module, `$'` is in method - corrects matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~`, $MATCH reference is overrided - corrects matching by !~` in case condition - corrects matching by !~` in class, `$`` is in method - accepts matching by !~` in method with Regexp.last_match before unless - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with $` before if accepts matching by !~` in guard condition with $~ is used in the line after that - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in class method, `$2` is in other method + accepts matching by !~` in a class method with $100 + corrects matching by !~` in method before `$`` + registers an offense for matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in method before `$MATCH` + registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in method with $2 before unless + corrects matching by !~` in class method, `$`` is in other method + corrects matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in method, `$MATCH` is in other method + accepts matching by !~` in a class method with $& + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~`, $& reference is overrided + accepts matching by !~` in a class method with $' + registers an offense for matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in if guard condition with $' is used in another method + corrects matching by !~` in method before `$100` + corrects matching by !~` in method before `$2` registers an offense for matching by !~` in method, `$2` is in other method - corrects matching by !~` in ternary operator + accepts matching by !~` in method with Regexp.last_match in block + accepts matching by !~` in method with Regexp.last_match(1) before unless + registers an offense for matching by !~` in method before `$'` registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in class method, `$1` is in other method + accepts matching by !~` in guard condition with $` is used in the line after that + corrects matching by !~` in unless condition + accepts matching by !~` in method with $' in block + registers an offense for matching by !~` in class, `$&` is in method + corrects matching by !~` in method before `$MATCH` + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in method before `$100` + corrects matching by !~` in method, `$2` is in other method + accepts matching by !~` in method with $1 in block + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in if guard condition with $1 is used in another method + accepts matching by !~` in method with $MATCH before unless + accepts matching by !~` in a class method with $` + corrects matching by !~`, $2 reference is overrided + registers an offense for matching by !~`, $` reference is overrided registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in module, `$100` is in method - corrects matching by !~` in method, `$1` is in other method - corrects matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in method with $1 + corrects matching by !~` in method before `$'` + accepts matching by !~` in method with $& before if + accepts matching by !~` in method with $2 before if + registers an offense for matching by !~` in module, `$2` is in method + corrects matching by !~` in if condition + registers an offense for matching by !~` in module, `$100` is in method + accepts matching by !~` in method with $100 in block + registers an offense for matching by !~` in method before `$1` + corrects matching by !~` in method, `$~` is in other method + accepts matching by !~` in a class method with $~ + accepts matching by !~` in method with $2 + corrects matching by !~`, $& reference is overrided + corrects matching by !~` in class, `$&` is in method + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in method, `$'` is in other method + corrects matching by !~` in if condition + accepts matching by !~` in method with $& in block corrects matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in class, `$`` is in method - accepts matching by !~` in method with Regexp.last_match(1) before if - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by !~` in class method, `Regexp.last_match` is in other method corrects matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in if condition - accepts matching by !~` in method with $` corrects matching by !~` in elsif condition - registers an offense for matching by !~` in ternary operator - corrects matching by !~` in method before `$`` - accepts matching by !~` in method with $` before unless - accepts matching by !~` in guard condition with $MATCH is used in the line after that - accepts matching by !~` in a class method with $' - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in method with $2 before unless - registers an offense for matching by !~`, $& reference is overrided - accepts matching by !~` in method with $' before unless - accepts matching by !~` in method with $MATCH before if - registers an offense for matching by !~`, $' reference is overrided - corrects matching by !~` in unless condition - registers an offense for matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in class, `$100` is in method + accepts matching by !~` in method with $& before unless + accepts matching by !~` in method with $1 before unless + registers an offense for matching by !~` in method, `$~` is in other method + registers an offense for matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with Regexp.last_match(1) in block registers an offense for matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~`, Regexp.last_match reference is overrided - accepts matching by !~` in guard condition with $1 is used in the line after that - registers an offense for matching by !~` in method definition - accepts matching by !~` in method with $1 - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in if guard condition with $' is used in another method - accepts matching by !~` in method with $& in block - corrects matching by !~`, Regexp.last_match(1) reference is overrided - accepts matching by !~` in method with $1 before if + corrects matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in method, `$&` is in other method + registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with Regexp.last_match(1) + accepts matching by !~` in guard condition with $100 is used in the line after that + corrects matching by !~` in class method, `$&` is in other method corrects matching by !~` in method before `$&` registers an offense for matching by !~` in class method, `$~` is in other method - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~`, $~ reference is overrided - accepts matching by !~` in method with $MATCH + corrects matching by !~` in method definition + registers an offense for matching by !~` in class, `$`` is in method + accepts matching by !~` in a class method with $1 + accepts matching by !~` in method with $100 before unless + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in class, `$100` is in method registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~`, $& reference is overrided - corrects matching by !~` in class method, `$'` is in other method - corrects matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in method with Regexp.last_match - corrects matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in case condition + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with $100 before if corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in class method, `$`` is in other method - accepts matching by !~` in a class method with $` + corrects matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in method, `$`` is in other method + corrects matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $' before unless + accepts matching by !~` in method with $~ + corrects matching by !~` in module, `$&` is in method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in method, `$&` is in other method registers an offense for matching by !~` in method before `$2` - corrects matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class method, `$1` is in other method - behaves like all legacy match methods - registers an offense for matching by !~` in class method, `$&` is in other method - accepts matching by !~` in method with Regexp.last_match before unless - accepts matching by !~` in method with $100 + accepts matching by !~` in method with $~ before if + corrects matching by !~` in class method, `$~` is in other method + accepts matching by !~` in guard condition with $1 is used in the line after that + registers an offense for matching by !~`, $' reference is overrided + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in ternary operator + corrects matching by !~`, $~ reference is overrided + registers an offense for matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in module, `$~` is in method + corrects matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in elsif condition + corrects matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in class, `$~` is in method corrects matching by !~` in unless condition - corrects matching by !~`, $100 reference is overrided - accepts matching by !~` in a class method with $~ - registers an offense for matching by !~` in class, `$1` is in method - accepts matching by !~` in method with $2 in block - corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in method, `$`` is in other method + registers an offense for matching by !~`, $100 reference is overrided + corrects matching by !~`, $` reference is overrided + accepts matching by !~` in method with $~ in block + accepts matching by !~` in method with $` before unless + corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in if guard condition with $MATCH is used in another method + accepts matching by !~` in guard condition with $& is used in the line after that + registers an offense for matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $1 before if + accepts matching by !~` in method with $MATCH in block + behaves like all legacy match methods + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in method definition + registers an offense for matching by !~`, $100 reference is overrided + corrects matching by !~` in elsif condition + accepts matching by !~` in method with $` in block registers an offense for matching by !~` in module, `$100` is in method - corrects matching by !~` in method before `$1` - corrects matching by !~` in method, `$100` is in other method - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in ternary operator - corrects matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in unless condition - accepts matching by !~` in method with $MATCH before unless - accepts matching by !~` in method with $& - corrects matching by !~` in class method, `$1` is in other method - corrects matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in if condition + corrects matching by !~` in ternary operator + registers an offense for matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in method before `$'` + registers an offense for matching by !~` in class, `$'` is in method + corrects matching by !~`, $& reference is overrided + accepts matching by !~` in guard condition with $2 is used in the line after that + corrects matching by !~` in module, `$~` is in method + accepts matching by !~` in method with Regexp.last_match(1) before unless + registers an offense for matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $~ before if + accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in module, `$1` is in method + corrects matching by !~` in class, `$&` is in method + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in method before `$~` + corrects matching by !~` in method, `$'` is in other method + corrects matching by !~` in method before `$&` + registers an offense for matching by !~`, $' reference is overrided accepts matching by !~` in method with Regexp.last_match in block + corrects matching by !~` in method, `$`` is in other method + accepts matching by !~` in guard condition with $` is used in the line after that + corrects matching by !~` in method before `$100` + registers an offense for matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in module, `$~` is in method + corrects matching by !~` in class method, `$100` is in other method registers an offense for matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method + accepts matching by !~` in method with $' in block + corrects matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with $& in block + corrects matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method corrects matching by !~` in module, `$100` is in method - corrects matching by !~` in class method, `$'` is in other method - corrects matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in method, `$MATCH` is in other method - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in module, `$2` is in method + registers an offense for matching by !~` in class, `$`` is in method accepts matching by !~` in method with $MATCH before if + corrects matching by !~` in if condition + accepts matching by !~` in method with $MATCH in block accepts matching by !~` in method with $' - registers an offense for matching by !~` in class method, `$~` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in method before `$MATCH` + accepts matching by !~` in method with $& + corrects matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in method with $2 before unless registers an offense for matching by !~` in class, `$~` is in method - registers an offense for matching by !~`, $` reference is overrided - accepts matching by !~` in method with $' before unless - corrects matching by !~` in method before `$'` - accepts matching by !~` in method with $100 before unless - accepts matching by !~` in method with $` before unless - registers an offense for matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in method with $1 before unless - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in method, `$100` is in other method - accepts matching by !~` in method with $1 in block - registers an offense for matching by !~` in class method, `$1` is in other method - corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in module, `$`` is in method - accepts matching by !~` in method with $` before if - registers an offense for matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in method before `$2` - accepts matching by !~` in method with $2 before if - accepts matching by !~` in method with $1 before if + corrects matching by !~` in if guard condition with $& is used in another method + accepts matching by !~` in method with $MATCH + registers an offense for matching by !~` in class, `$MATCH` is in method + corrects matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in ternary operator + corrects matching by !~` in if guard condition with $1 is used in another method accepts matching by !~` in method with Regexp.last_match(1) - corrects matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in method before `$1` + registers an offense for matching by !~`, $& reference is overrided + corrects matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in method with $~ + registers an offense for matching by !~` in if condition + corrects matching by !~`, $' reference is overrided registers an offense for matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in class, `$'` is in method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by !~` in module, `$&` is in method + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by !~` in method before `$`` + registers an offense for matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in method definition + accepts matching by !~` in method with $1 before unless + accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in method with $1 + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method registers an offense for matching by !~` in if guard condition with $2 is used in another method - corrects matching by !~` in method, `$1` is in other method - corrects matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in a class method with $MATCH + registers an offense for matching by !~`, Regexp.last_match reference is overrided + accepts matching by !~` in method with $~ before unless + registers an offense for matching by !~` in class method, `$'` is in other method + accepts matching by !~` in method with $1 in block + registers an offense for matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in method with $2 in block accepts matching by !~` in guard condition with $& is used in the line after that - corrects matching by !~` in elsif condition - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in if guard condition with $& is used in another method - accepts matching by !~` in method with $& before unless - accepts matching by !~` in method with $MATCH - accepts matching by !~` in method with $& before if - corrects matching by !~` in class, `$2` is in method - corrects matching by !~` in class method, `$`` is in other method - corrects matching by !~` in case condition - registers an offense for matching by !~` in class, `$2` is in method - accepts matching by !~` in method with Regexp.last_match(1) before if - accepts matching by !~` in a class method with Regexp.last_match(1) - corrects matching by !~` in if condition - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in a class method with $1 - registers an offense for matching by !~` in case condition + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method before `$~` + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in class method, `$~` is in other method + accepts matching by !~` in method with $2 before if corrects matching by !~` in class, `$1` is in method - accepts matching by !~` in method with $` - registers an offense for matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in method, `$MATCH` is in other method - corrects matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~` in module, `$1` is in method - corrects matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in class method, `$'` is in other method + corrects matching by !~` in unless condition + corrects matching by !~` in class method, `$1` is in other method corrects matching by !~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method before `$MATCH` - accepts matching by !~` in a class method with $2 - corrects matching by !~` in method before `$~` - accepts matching by !~` in method with $2 before unless + accepts matching by !~` in method with Regexp.last_match before if + corrects matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $& before unless + corrects matching by !~` in class, `$~` is in method + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + accepts matching by !~` in method with $` before if + corrects matching by !~` in class method, `$&` is in other method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in if guard condition with $` is used in another method + corrects matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in module, `$&` is in method corrects matching by !~` in class, `$100` is in method - accepts matching by !~` in a class method with $' - registers an offense for matching by !~`, $& reference is overrided - accepts matching by !~` in method with $1 - corrects matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in if guard condition with $~ is used in another method + accepts matching by !~` in a class method with Regexp.last_match + accepts matching by !~` in a class method with $~ + accepts matching by !~` in a class method with $` + registers an offense for matching by !~` in class, `$2` is in method + accepts matching by !~` in method with $' before if + corrects matching by !~`, $~ reference is overrided + corrects matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $~ in block + corrects matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in class, `$&` is in method corrects matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~` in method before `$100` - corrects matching by !~` in ternary operator - registers an offense for matching by !~` in module, `$'` is in method - accepts matching by !~` in method with $2 - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in method before `$MATCH` + corrects matching by !~` in method, `$2` is in other method + accepts matching by !~` in method with $100 before if + corrects matching by !~` in class, `$2` is in method + registers an offense for matching by !~`, $` reference is overrided registers an offense for matching by !~`, $MATCH reference is overrided - corrects matching by !~`, $1 reference is overrided - corrects matching by !~` in method definition + corrects matching by !~` in case condition + registers an offense for matching by !~` in method, `$MATCH` is in other method registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by !~` in guard condition with $2 is used in the line after that - corrects matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in method definition - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in method before `$&` - accepts matching by !~` in method with $& in block - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~`, Regexp.last_match reference is overrided - accepts matching by !~` in method with $100 before if - registers an offense for matching by !~` in class method, `$`` is in other method - accepts matching by !~` in method with $' in block - accepts matching by !~` in method with $` in block - accepts matching by !~` in a class method with $& - registers an offense for matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in guard condition with $1 is used in the line after that - corrects matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in guard condition with $~ is used in the line after that + corrects matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in a class method with $1 + corrects matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~` in method, `$2` is in other method + accepts matching by !~` in method with $1 before if + accepts matching by !~` in method with $MATCH before unless corrects matching by !~`, Regexp.last_match(1) reference is overrided - accepts matching by !~` in guard condition with $` is used in the line after that - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in method before `$100` - corrects matching by !~` in if condition - corrects matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in class, `$&` is in method - accepts matching by !~` in method with $100 in block - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in unless condition - corrects matching by !~` in class, `$'` is in method - accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in method, `$~` is in other method + accepts matching by !~` in method with $100 before unless accepts matching by !~` in a class method with $100 - registers an offense for matching by !~`, $' reference is overrided - corrects matching by !~` in method before `$MATCH` - corrects matching by !~`, $& reference is overrided - corrects matching by !~` in method, `$`` is in other method - registers an offense for matching by !~` in method, `$`` is in other method - corrects matching by !~` in method, `$'` is in other method - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in case condition + registers an offense for matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in class method, `$~` is in other method corrects matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in class method, `$~` is in other method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in class method, `$MATCH` is in other method - registers an offense for matching by !~` in module, `$`` is in method - accepts matching by !~` in method with $~ before if + accepts matching by !~` in a class method with $' accepts matching by !~` in guard condition with $100 is used in the line after that - corrects matching by !~`, $' reference is overrided - accepts matching by !~` in method with Regexp.last_match before if - accepts matching by !~` in method with $MATCH in block - registers an offense for matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in a class method with $` - accepts matching by !~` in guard condition with $MATCH is used in the line after that - corrects matching by !~` in method before `$`` - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in class, `$&` is in method - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $2 + accepts matching by !~` in guard condition with $1 is used in the line after that + registers an offense for matching by !~` in method before `$`` + accepts matching by !~` in guard condition with $~ is used in the line after that + registers an offense for matching by !~` in elsif condition + accepts matching by !~` in a class method with $MATCH + registers an offense for matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided registers an offense for matching by !~` in method, `$&` is in other method + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in method, `$&` is in other method + corrects matching by !~` in if condition + accepts matching by !~` in method with Regexp.last_match + corrects matching by !~` in module, `$'` is in method + corrects matching by !~`, $1 reference is overrided + registers an offense for matching by !~`, $1 reference is overrided corrects matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in if guard condition with $' is used in another method - corrects matching by !~`, $` reference is overrided - corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in class, `$~` is in method - corrects matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in a class method with $2 + corrects matching by !~` in method before `$2` + accepts matching by !~` in method with $& before if + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in a class method with Regexp.last_match(1) + accepts matching by !~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by !~` in method, `$'` is in other method + registers an offense for matching by !~` in class method, `$&` is in other method + corrects matching by !~` in method, `$100` is in other method + corrects matching by !~`, $100 reference is overrided registers an offense for matching by !~` in method before `$2` - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in method before `$~` - registers an offense for matching by !~` in method before `$`` - corrects matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~`, $2 reference is overrided + corrects matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in module, `$`` is in method + accepts matching by !~` in method with $100 registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in class method, `$&` is in other method - accepts matching by !~` in method with $~ in block - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in module, `$1` is in method - registers an offense for matching by !~`, $~ reference is overrided - corrects matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in class, `$100` is in method + accepts matching by !~` in method with $' before unless + accepts matching by !~` in method with $` before unless + accepts matching by !~` in method with $100 in block + registers an offense for matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $` + accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in a class method with $& accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by !~` in method with $~ - corrects matching by !~` in module, `$2` is in method - corrects matching by !~` in module, `$'` is in method - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~`, $1 reference is overrided + corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~` in method before `$1` + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~` in unless condition + registers an offense for matching by !~` in method before `$1` + corrects matching by !~` in method before `$'` + accepts matching by !~` in method with Regexp.last_match(1) in block + registers an offense for matching by !~` in method before `$&` corrects matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in method with Regexp.last_match - corrects matching by !~` in module, `$&` is in method - accepts matching by !~` in method with $' before if + registers an offense for matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in method before `$100` + registers an offense for matching by !~` in module, `$2` is in method behaves like all legacy match methods - accepts matching by =~` in method with $1 in block - corrects matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in ternary operator - corrects matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in method, `$1` is in other method registers an offense for matching by =~`, $100 reference is overrided - corrects matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in elsif condition - registers an offense for matching by =~` in module, `$2` is in method - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $' - registers an offense for matching by =~` in method before `$`` - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in module, `$&` is in method - accepts matching by =~` in a class method with $& - corrects matching by =~` in class method, `$1` is in other method - accepts matching by =~` in a class method with $' - registers an offense for matching by =~` in method, `$`` is in other method - corrects matching by =~` in module, `$1` is in method - corrects matching by =~` in method before `$2` + corrects matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match` + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in unless condition + corrects matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in method with $2 accepts matching by =~` in method with $` - accepts matching by =~` in guard condition with $' is used in the line after that - registers an offense for matching by =~` in method, `$1` is in other method - corrects matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in guard condition with $~ is used in the line after that - accepts matching by =~` in guard condition with $MATCH is used in the line after that - corrects matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in class method, `$'` is in other method - corrects matching by =~` in method, `$MATCH` is in other method - corrects matching by =~` in class method, `$100` is in other method registers an offense for matching by =~` in class, `$~` is in method - accepts matching by =~` in a class method with $` - registers an offense for matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in module, `$'` is in method - corrects matching by =~` in class, `$100` is in method - corrects matching by =~` in method, `$'` is in other method - corrects matching by =~`, $2 reference is overrided - corrects matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in class method, `$&` is in other method - accepts matching by =~` in method with $` before if - corrects matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in method before `$1` - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with $& before if accepts matching by =~` in guard condition with $2 is used in the line after that - corrects matching by =~` in module, `$MATCH` is in method corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~`, $& reference is overrided - accepts matching by =~` in method with $~ - accepts matching by =~` in method with Regexp.last_match(1) before if - accepts matching by =~` in method with $' before if - corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in elsif condition + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~`, $1 reference is overrided + registers an offense for matching by =~`, $' reference is overrided corrects matching by =~` in if condition - accepts matching by =~` in method with $2 in block - registers an offense for matching by =~` in method, `$'` is in other method - registers an offense for matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in module, `$1` is in method - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in method with $' before unless + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by =~` in method before `$1` + corrects matching by =~` in method before `$&` + corrects matching by =~` in unless condition + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in class, `$`` is in method + corrects matching by =~`, $~ reference is overrided registers an offense for matching by =~` in unless condition + accepts matching by =~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in module, `$100` is in method + corrects matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in method with $1 before if + accepts matching by =~` in method with $1 in block + registers an offense for matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~`, $~ reference is overrided + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in module, `$~` is in method + corrects matching by =~` in elsif condition + registers an offense for matching by =~`, $MATCH reference is overrided + accepts matching by =~` in method with Regexp.last_match(1) + registers an offense for matching by =~` in class method, `$`` is in other method + accepts matching by =~` in method with $` before if + accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with $& + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in class, `$2` is in method + corrects matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in class method, `$`` is in other method + accepts matching by =~` in method with $MATCH before if + accepts matching by =~` in a class method with $1 + accepts matching by =~` in method with $' before if registers an offense for matching by =~` in method before `$~` - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~`, $& reference is overrided - accepts matching by =~` in method with Regexp.last_match - corrects matching by =~` in ternary operator + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in a class method with $` + registers an offense for matching by =~` in class method, `$100` is in other method accepts matching by =~` in method with $1 before unless - accepts matching by =~` in a class method with Regexp.last_match - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $& in block + accepts matching by =~` in method with $100 + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~` in method, `$~` is in other method + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with $MATCH + accepts matching by =~` in guard condition with $~ is used in the line after that + corrects matching by =~` in class, `$~` is in method + accepts matching by =~` in method with $& before unless + corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~` in method before `$'` + corrects matching by =~` in method before `$MATCH` + accepts matching by =~` in method with $100 before unless corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~`, $& reference is overrided + corrects matching by =~` in case condition + registers an offense for matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in class, `$&` is in method + accepts matching by =~` in method with $~ + corrects matching by =~` in class, `$100` is in method + corrects matching by =~` in method definition + corrects matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in method with $' in block + corrects matching by =~` in class method, `$~` is in other method + corrects matching by =~` in method, `$&` is in other method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with $1 registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - accepts matching by =~` in method with $& before if - registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in case condition + corrects matching by =~` in module, `$1` is in method + accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in method with $~ before unless + accepts matching by =~` in method with Regexp.last_match(1) in block + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~`, $` reference is overrided + accepts matching by =~` in method with $MATCH in block + corrects matching by =~` in module, `$`` is in method + corrects matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in guard condition with $1 is used in the line after that + accepts matching by =~` in a class method with $2 + accepts matching by =~` in guard condition with $& is used in the line after that + registers an offense for matching by =~` in if guard condition with $& is used in another method accepts matching by =~` in method with Regexp.last_match before if - accepts matching by =~` in method with $2 + corrects matching by =~` in method before `$'` + corrects matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in a class method with $MATCH + accepts matching by =~` in method with $~ in block + corrects matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in module, `$100` is in method + accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in class method, `$'` is in other method + accepts matching by =~` in method with $` before unless + registers an offense for matching by =~` in class method, `$~` is in other method + accepts matching by =~` in method with $2 in block + corrects matching by =~` in class, `$'` is in method + registers an offense for matching by =~` in method before `$MATCH` + corrects matching by =~` in if guard condition with $MATCH is used in another method registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in class method, `$&` is in other method + accepts matching by =~` in method with Regexp.last_match before unless + accepts matching by =~` in method with $' + corrects matching by =~` in ternary operator + corrects matching by =~` in module, `$2` is in method + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in method, `$'` is in other method + accepts matching by =~` in a class method with Regexp.last_match + registers an offense for matching by =~` in method, `$`` is in other method registers an offense for matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in if condition - registers an offense for matching by =~`, $` reference is overrided - registers an offense for matching by =~` in class method, `$100` is in other method + corrects matching by =~` in class method, `$1` is in other method + accepts matching by =~` in method with $~ before if + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~`, $100 reference is overrided + accepts matching by =~` in a class method with $~ + registers an offense for matching by =~` in method definition + accepts matching by =~` in method with $2 before if + registers an offense for matching by =~` in module, `$2` is in method + accepts matching by =~` in method with Regexp.last_match + accepts matching by =~` in method with $& in block + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in method before `$1` + corrects matching by =~` in module, `$&` is in method + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in module, `$'` is in method corrects matching by =~` in method, `$2` is in other method - accepts matching by =~` in guard condition with $` is used in the line after that + corrects matching by =~` in method before `$`` + accepts matching by =~` in method with $MATCH before unless + registers an offense for matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~` in module, `$'` is in method + accepts matching by =~` in method with $` in block + registers an offense for matching by =~`, $2 reference is overrided + registers an offense for matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in module, `$`` is in method + accepts matching by =~` in method with Regexp.last_match(1) before if + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class, `$'` is in method + corrects matching by =~` in class method, `$&` is in other method corrects matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with $1 before if - accepts matching by =~` in method with $100 - corrects matching by =~` in module, `$100` is in method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in method with Regexp.last_match(1) + accepts matching by =~` in method with $100 in block + corrects matching by =~` in if guard condition with $2 is used in another method + registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~`, $2 reference is overrided + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in module, `$1` is in method + accepts matching by =~` in method with Regexp.last_match in block accepts matching by =~` in method with $100 before if - accepts matching by =~` in guard condition with $100 is used in the line after that - accepts matching by =~` in a class method with $MATCH - corrects matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in class method, `$'` is in other method + corrects matching by =~`, $` reference is overrided + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with $100 before unless - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with $' before unless + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + accepts matching by =~` in a class method with $100 + corrects matching by =~` in method before `$~` + registers an offense for matching by =~` in method before `$`` + corrects matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~`, $' reference is overrided + corrects matching by =~`, $MATCH reference is overrided + corrects matching by =~` in unless condition + corrects matching by =~` in method before `$100` + accepts matching by =~` in a class method with $' + corrects matching by =~` in method before `$2` + accepts matching by =~` in a class method with $& + registers an offense for matching by =~` in method before `$100` + registers an offense for matching by =~` in class method, `$1` is in other method + accepts matching by =~` in method with $2 before unless + corrects matching by =~` in if condition + registers an offense for matching by =~` in class method, `$2` is in other method + behaves like all legacy match methods + corrects matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in module, `$1` is in method + corrects matching by =~` in class, `$`` is in method + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in if guard condition with $` is used in another method corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in class, `$2` is in method - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in class method, `$`` is in other method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method, `$2` is in other method + corrects matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~` in unless condition + registers an offense for matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in method, `$`` is in other method + accepts matching by =~` in a class method with $100 + corrects matching by =~` in method before `$`` + registers an offense for matching by =~`, $& reference is overrided corrects matching by =~`, $~ reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by =~` in method with $MATCH in block + registers an offense for matching by =~`, $~ reference is overrided + accepts matching by =~` in method with $` before if + accepts matching by =~` in method with $` + corrects matching by =~` in class, `$2` is in method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in class, `$`` is in method + accepts matching by =~` in method with $MATCH before if + corrects matching by =~` in module, `$~` is in method + accepts matching by =~` in a class method with $~ + corrects matching by =~` in class, `$~` is in method + accepts matching by =~` in method with $MATCH before unless + corrects matching by =~` in method before `$1` + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match` + registers an offense for matching by =~` in method, `$100` is in other method + accepts matching by =~` in method with $1 in block + registers an offense for matching by =~` in method, `$2` is in other method + corrects matching by =~` in module, `$`` is in method + accepts matching by =~` in a class method with $MATCH + registers an offense for matching by =~` in unless condition + accepts matching by =~` in method with $' registers an offense for matching by =~` in module, `$~` is in method - corrects matching by =~` in method before `$&` - registers an offense for matching by =~` in method before `$100` - corrects matching by =~` in class method, `$`` is in other method - corrects matching by =~`, $100 reference is overrided - accepts matching by =~` in a class method with $100 - registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in method before `$1` + registers an offense for matching by =~` in method before `$'` + registers an offense for matching by =~` in case condition + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in ternary operator + registers an offense for matching by =~`, $100 reference is overrided + corrects matching by =~` in module, `$2` is in method corrects matching by =~` in method, `$~` is in other method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~` in case condition - accepts matching by =~` in method with $2 before if - accepts matching by =~` in a class method with Regexp.last_match(1) - corrects matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in method with Regexp.last_match in block - corrects matching by =~`, $' reference is overrided - registers an offense for matching by =~`, $2 reference is overrided - accepts matching by =~` in a class method with $~ - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in class, `$'` is in method + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in class, `$2` is in method + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in a class method with $& + corrects matching by =~` in class, `$1` is in method + accepts matching by =~` in method with Regexp.last_match(1) registers an offense for matching by =~` in class, `$&` is in method - corrects matching by =~` in class, `$`` is in method - accepts matching by =~` in method with $` before unless + accepts matching by =~` in a class method with $` + accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in method with Regexp.last_match + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with $' in block + corrects matching by =~` in method before `$~` + accepts matching by =~` in a class method with $2 + registers an offense for matching by =~` in ternary operator + registers an offense for matching by =~` in method before `$&` + accepts matching by =~` in method with $MATCH + registers an offense for matching by =~` in method definition + accepts matching by =~` in guard condition with $' is used in the line after that + corrects matching by =~` in if condition + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with $100 before if + corrects matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~` in elsif condition + accepts matching by =~` in method with $100 in block + accepts matching by =~` in guard condition with $2 is used in the line after that accepts matching by =~` in method with Regexp.last_match before unless + registers an offense for matching by =~` in class method, `$1` is in other method + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method before `$100` + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in a class method with $1 + registers an offense for matching by =~` in unless condition + registers an offense for matching by =~` in module, `$&` is in method accepts matching by =~` in method with $~ in block - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in method before `$2` - corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in class, `$&` is in method - corrects matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in a class method with Regexp.last_match + registers an offense for matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in elsif condition + corrects matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in module, `$1` is in method + accepts matching by =~` in method with $~ before if + registers an offense for matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in method with $100 before unless + accepts matching by =~` in method with $2 in block + accepts matching by =~` in method with $& + registers an offense for matching by =~` in if guard condition with $& is used in another method registers an offense for matching by =~`, $1 reference is overrided + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~` in class method, `$1` is in other method + registers an offense for matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in module, `$'` is in method + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in if condition + corrects matching by =~` in unless condition + registers an offense for matching by =~` in method before `$~` + corrects matching by =~` in module, `$'` is in method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class, `$'` is in method + accepts matching by =~` in method with $' before if + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in method, `$~` is in other method registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in method, `$1` is in other method + accepts matching by =~` in guard condition with $` is used in the line after that + corrects matching by =~` in class, `$&` is in method + corrects matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with $~ + registers an offense for matching by =~` in module, `$2` is in method + accepts matching by =~` in method with Regexp.last_match before if + registers an offense for matching by =~` in method before `$MATCH` + corrects matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in class method, `$2` is in other method corrects matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $' before unless + corrects matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~` in class method, `$~` is in other method + corrects matching by =~` in case condition + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method corrects matching by =~` in method before `$100` - registers an offense for matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in if condition - registers an offense for matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with $& + accepts matching by =~` in method with Regexp.last_match(1) in block + accepts matching by =~` in method with $& in block + registers an offense for matching by =~`, $' reference is overrided + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in method with $` before unless + accepts matching by =~` in guard condition with $MATCH is used in the line after that + accepts matching by =~` in guard condition with $& is used in the line after that + corrects matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in class method, `$~` is in other method - corrects matching by =~` in method before `$1` - corrects matching by =~` in method, `$&` is in other method - accepts matching by =~` in a class method with $2 - accepts matching by =~` in method with $' in block - accepts matching by =~` in method with Regexp.last_match(1) before unless - registers an offense for matching by =~` in elsif condition - corrects matching by =~` in method before `$`` - corrects matching by =~` in unless condition - registers an offense for matching by =~` in class, `$2` is in method - corrects matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in method, `$1` is in other method + registers an offense for matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in method with Regexp.last_match in block + registers an offense for matching by =~` in class, `$~` is in method corrects matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in method definition - corrects matching by =~` in module, `$'` is in method - accepts matching by =~` in guard condition with $& is used in the line after that - corrects matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $2 before if + corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~`, $' reference is overrided registers an offense for matching by =~` in if guard condition with $2 is used in another method + registers an offense for matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in method before `$2` + registers an offense for matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in class method, `$100` is in other method + corrects matching by =~` in module, `$&` is in method + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in method with $100 + registers an offense for matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $1 + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method registers an offense for matching by =~` in class method, `$'` is in other method + accepts matching by =~` in method with $1 before if + accepts matching by =~` in a class method with $' + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in method definition + corrects matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $1 before unless + corrects matching by =~` in if condition + corrects matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in method before `$2` + corrects matching by =~` in class, `$100` is in method + corrects matching by =~` in class, `$'` is in method registers an offense for matching by =~` in module, `$100` is in method + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by =~` in method, `$'` is in other method + corrects matching by =~` in method before `$'` + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with $& before unless + registers an offense for matching by =~` in class, `$1` is in method + accepts matching by =~` in method with $~ before unless + registers an offense for matching by =~`, $` reference is overrided + corrects matching by =~` in method before `$&` + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in method before `$`` + corrects matching by =~` in class method, `$'` is in other method + corrects matching by =~`, $1 reference is overrided + accepts matching by =~` in method with $` in block + corrects matching by =~` in method, `$100` is in other method + accepts matching by =~` in method with $2 before unless + accepts matching by =~` in method with $2 + registers an offense for matching by =~`, $2 reference is overrided + registers an offense for matching by =~` in method, `$&` is in other method + accepts matching by =~` in method with $& before if + behaves like all legacy match methods + corrects match method call for a variable in module, `Regexp.last_match` is in method + accepts match method call for a variable in method with $100 before if + corrects match method call for a variable in module, `$~` is in method + corrects match method call for a variable in module, `$`` is in method + registers an offense for match method call for a variable in module, `Regexp.last_match(1)` is in method + registers an offense for match method call for a variable in class method, `$2` is in other method + accepts match method call for a variable in method with Regexp.last_match(1) in block + registers an offense for match method call for a variable, $2 reference is overrided + accepts match method call for a variable in method with $& + registers an offense for match method call for a variable in method, `$100` is in other method + accepts match method call for a variable in method with $MATCH + registers an offense for match method call for a variable in if guard condition with Regexp.last_match(1) is used in another method + corrects match method call for a variable, $& reference is overrided + accepts match method call for a variable in guard condition with $~ is used in the line after that + accepts match method call for a variable in method with Regexp.last_match before unless + registers an offense for match method call for a variable in class, `$2` is in method + accepts match method call for a variable in method with $' in block + corrects match method call for a variable in class method, `$1` is in other method + registers an offense for match method call for a variable in class, `$100` is in method + registers an offense for match method call for a variable in if condition + registers an offense for match method call for a variable in module, `$~` is in method + accepts match method call for a variable in guard condition with $' is used in the line after that + corrects match method call for a variable in class method, `$2` is in other method + registers an offense for match method call for a variable in method before `$'` + accepts match method call for a variable in guard condition with $1 is used in the line after that + registers an offense for match method call for a variable in method before `$~` + registers an offense for match method call for a variable in if guard condition with $MATCH is used in another method + accepts match method call for a variable in method with $2 in block + accepts match method call for a variable in method with $1 + registers an offense for match method call for a variable in method before `$1` + corrects match method call for a variable in module, `$2` is in method + accepts match method call for a variable in method with $100 before unless + accepts match method call for a variable in a class method with $' + registers an offense for match method call for a variable in if guard condition with Regexp.last_match is used in another method + corrects match method call for a variable in class, `$&` is in method + corrects match method call for a variable in class, `$MATCH` is in method + registers an offense for match method call for a variable in method definition + corrects match method call for a variable in unless condition + accepts match method call for a variable in method with $` before unless + accepts match method call for a variable in method with $~ in block + corrects match method call for a variable in method before `$MATCH` + registers an offense for match method call for a variable in method, `$1` is in other method + accepts match method call for a variable in method with $1 in block + registers an offense for match method call for a variable in module, `$1` is in method + registers an offense for match method call for a variable in unless condition + corrects match method call for a variable in if guard condition with Regexp.last_match(1) is used in another method + accepts match method call for a variable in method with $` before if + corrects match method call for a variable in class, `$100` is in method + registers an offense for match method call for a variable in module, `$`` is in method + registers an offense for match method call for a variable, $& reference is overrided + corrects match method call for a variable in if guard condition with $100 is used in another method + corrects match method call for a variable in if guard condition with $2 is used in another method + corrects match method call for a variable in if guard condition with $MATCH is used in another method + accepts match method call for a variable in method with $` in block + registers an offense for match method call for a variable in class method, `$`` is in other method + corrects match method call for a variable in case condition + registers an offense for match method call for a variable in method before `$&` + registers an offense for match method call for a variable in class, `Regexp.last_match(1)` is in method + registers an offense for match method call for a variable in class, `$1` is in method + registers an offense for match method call for a variable, $100 reference is overrided + registers an offense for match method call for a variable, Regexp.last_match(1) reference is overrided + accepts match method call for a variable in method with Regexp.last_match(1) + corrects match method call for a variable in elsif condition + registers an offense for match method call for a variable in method, `$'` is in other method + accepts match method call for a variable in method with $MATCH before unless + corrects match method call for a variable in method, `$'` is in other method + accepts match method call for a variable in method with $~ before unless + accepts match method call for a variable in guard condition with $` is used in the line after that + corrects match method call for a variable in method before `$'` + corrects match method call for a variable in module, `$'` is in method + corrects match method call for a variable, $' reference is overrided + registers an offense for match method call for a variable in method, `Regexp.last_match(1)` is in other method + registers an offense for match method call for a variable in class method, `$100` is in other method + accepts match method call for a variable in a class method with $100 + corrects match method call for a variable in if condition + corrects match method call for a variable, $` reference is overrided + corrects match method call for a variable, Regexp.last_match(1) reference is overrided + registers an offense for match method call for a variable in class, `$MATCH` is in method + corrects match method call for a variable, $MATCH reference is overrided + corrects match method call for a variable in method, `$`` is in other method + accepts match method call for a variable in method with Regexp.last_match(1) before if + corrects match method call for a variable in class method, `$&` is in other method + corrects match method call for a variable in method before `$1` + registers an offense for match method call for a variable in method before `$MATCH` + registers an offense for match method call for a variable, $` reference is overrided + registers an offense for match method call for a variable in class, `$'` is in method + registers an offense for match method call for a variable in method, `$`` is in other method + registers an offense for match method call for a variable, Regexp.last_match reference is overrided + corrects match method call for a variable in if guard condition with $' is used in another method + registers an offense for match method call for a variable in class method, `Regexp.last_match(1)` is in other method + registers an offense for match method call for a variable in method before `$100` + corrects match method call for a variable in class method, `$MATCH` is in other method + accepts match method call for a variable in method with $' + accepts match method call for a variable in guard condition with Regexp.last_match is used in the line after that + accepts match method call for a variable in method with Regexp.last_match before if + registers an offense for match method call for a variable in method, `$&` is in other method + registers an offense for match method call for a variable in class method, `$MATCH` is in other method + corrects match method call for a variable in module, `$100` is in method + corrects match method call for a variable in module, `$MATCH` is in method + accepts match method call for a variable in method with $' before unless + corrects match method call for a variable in if guard condition with $` is used in another method + corrects match method call for a variable in if condition + corrects match method call for a variable, $100 reference is overrided + corrects match method call for a variable in class, `Regexp.last_match` is in method + accepts match method call for a variable in guard condition with $& is used in the line after that + registers an offense for match method call for a variable in method, `$~` is in other method + accepts match method call for a variable in method with $2 before if + corrects match method call for a variable in class, `$`` is in method + registers an offense for match method call for a variable in class, `Regexp.last_match` is in method + corrects match method call for a variable in method, `$MATCH` is in other method + accepts match method call for a variable in a class method with $` + registers an offense for match method call for a variable in module, `$MATCH` is in method + registers an offense for match method call for a variable, $MATCH reference is overrided + accepts match method call for a variable in method with $100 + corrects match method call for a variable in method before `Regexp.last_match(1)` + corrects match method call for a variable in method, `$&` is in other method + registers an offense for match method call for a variable in method, `$2` is in other method + registers an offense for match method call for a variable in unless condition + accepts match method call for a variable in a class method with $1 + accepts match method call for a variable in method with Regexp.last_match(1) before unless + accepts match method call for a variable in a class method with Regexp.last_match(1) + accepts match method call for a variable in guard condition with $MATCH is used in the line after that + corrects match method call for a variable in method, `Regexp.last_match` is in other method + accepts match method call for a variable in guard condition with $100 is used in the line after that + accepts match method call for a variable in method with $2 + corrects match method call for a variable in method before `$`` + corrects match method call for a variable in class, `Regexp.last_match(1)` is in method + registers an offense for match method call for a variable in class, `$&` is in method + registers an offense for match method call for a variable in class, `$~` is in method + registers an offense for match method call for a variable in if condition + accepts match method call for a variable in method with $MATCH in block + accepts match method call for a variable in a class method with $MATCH + registers an offense for match method call for a variable in module, `$100` is in method + accepts match method call for a variable in guard condition with $2 is used in the line after that + registers an offense for match method call for a variable in method, `$MATCH` is in other method + accepts match method call for a variable in a class method with $2 + corrects match method call for a variable in method, `$~` is in other method + registers an offense for match method call for a variable in elsif condition + registers an offense for match method call for a variable in if guard condition with $100 is used in another method + corrects match method call for a variable in class, `$'` is in method + registers an offense for match method call for a variable in method before `$2` + registers an offense for match method call for a variable in module, `$2` is in method + accepts match method call for a variable in method with Regexp.last_match in block + registers an offense for match method call for a variable in class method, `$~` is in other method + corrects match method call for a variable in if guard condition with Regexp.last_match is used in another method + corrects match method call for a variable in class method, `$~` is in other method + accepts match method call for a variable in method with $1 before unless + accepts match method call for a variable in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for match method call for a variable in method before `Regexp.last_match` + registers an offense for match method call for a variable in class, `$`` is in method + accepts match method call for a variable in a class method with $& + corrects match method call for a variable in method before `Regexp.last_match` + accepts match method call for a variable in method with $1 before if + corrects match method call for a variable in method before `$100` + corrects match method call for a variable in class method, `$`` is in other method + corrects match method call for a variable in module, `$&` is in method + accepts match method call for a variable in a class method with Regexp.last_match + accepts match method call for a variable in a class method with $~ + accepts match method call for a variable in method with $~ + registers an offense for match method call for a variable in method before `Regexp.last_match(1)` + registers an offense for match method call for a variable in method, `Regexp.last_match` is in other method + accepts match method call for a variable in method with $` + registers an offense for match method call for a variable in if guard condition with $` is used in another method + accepts match method call for a variable in method with $MATCH before if + registers an offense for match method call for a variable in ternary operator + corrects match method call for a variable in class method, `$'` is in other method + registers an offense for match method call for a variable in class method, `$'` is in other method + accepts match method call for a variable in method with $100 in block + corrects match method call for a variable in unless condition + corrects match method call for a variable in method, `$2` is in other method + accepts match method call for a variable in method with $~ before if + corrects match method call for a variable, Regexp.last_match reference is overrided + registers an offense for match method call for a variable in class method, `Regexp.last_match` is in other method + registers an offense for match method call for a variable in case condition + corrects match method call for a variable in if guard condition with $~ is used in another method + corrects match method call for a variable in class, `$2` is in method + registers an offense for match method call for a variable in module, `Regexp.last_match` is in method + corrects match method call for a variable in ternary operator + accepts match method call for a variable in method with $& before unless + registers an offense for match method call for a variable, $1 reference is overrided + accepts match method call for a variable in method with $& before if + corrects match method call for a variable in class method, `Regexp.last_match(1)` is in other method + corrects match method call for a variable in method, `$100` is in other method + registers an offense for match method call for a variable in module, `$'` is in method + registers an offense for match method call for a variable in class method, `$&` is in other method + registers an offense for match method call for a variable in class method, `$1` is in other method + registers an offense for match method call for a variable in module, `$&` is in method + registers an offense for match method call for a variable in if guard condition with $' is used in another method + registers an offense for match method call for a variable in if guard condition with $& is used in another method + corrects match method call for a variable in method, `Regexp.last_match(1)` is in other method + corrects match method call for a variable in class method, `$100` is in other method + corrects match method call for a variable in if guard condition with $& is used in another method + corrects match method call for a variable in method definition + corrects match method call for a variable in module, `Regexp.last_match(1)` is in method + corrects match method call for a variable, $2 reference is overrided + registers an offense for match method call for a variable, $~ reference is overrided + registers an offense for match method call for a variable in if guard condition with $2 is used in another method + corrects match method call for a variable in module, `$1` is in method + registers an offense for match method call for a variable in if guard condition with $~ is used in another method + corrects match method call for a variable, $~ reference is overrided + corrects match method call for a variable in class, `$1` is in method + corrects match method call for a variable in method before `$~` + corrects match method call for a variable in method before `$2` + accepts match method call for a variable in method with Regexp.last_match + accepts match method call for a variable in method with $' before if + corrects match method call for a variable in if guard condition with $1 is used in another method + corrects match method call for a variable in method before `$&` + registers an offense for match method call for a variable in if guard condition with $1 is used in another method + accepts match method call for a variable in method with $& in block + corrects match method call for a variable in class method, `Regexp.last_match` is in other method + corrects match method call for a variable, $1 reference is overrided + corrects match method call for a variable in method, `$1` is in other method + registers an offense for match method call for a variable in method before `$`` + accepts match method call for a variable in method with $2 before unless + corrects match method call for a variable in class, `$~` is in method + registers an offense for match method call for a variable, $' reference is overrided + behaves like all legacy match methods + corrects matching by =~` in ternary operator + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in module, `$2` is in method + corrects matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in method with Regexp.last_match before if corrects matching by =~` in module, `$`` is in method - corrects matching by =~` in module, `$&` is in method - corrects matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~`, $MATCH reference is overrided + accepts matching by =~` in method with $1 + accepts matching by =~` in a class method with $& + registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in if guard condition with $' is used in another method registers an offense for matching by =~` in if condition - corrects matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in unless condition + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in method, `$1` is in other method + accepts matching by =~` in a class method with $~ + corrects matching by =~` in elsif condition + registers an offense for matching by =~` in method before `$'` + accepts matching by =~` in method with $1 in block + registers an offense for matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in method, `$1` is in other method + accepts matching by =~` in guard condition with $' is used in the line after that + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in a class method with $1 + corrects matching by =~` in method before `$100` + corrects matching by =~` in method before `$MATCH` + accepts matching by =~` in method with Regexp.last_match + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with Regexp.last_match in block + registers an offense for matching by =~` in unless condition + registers an offense for matching by =~` in elsif condition registers an offense for matching by =~` in class, `$`` is in method + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~`, $' reference is overrided + corrects matching by =~` in class, `$~` is in method + accepts matching by =~` in a class method with $' + registers an offense for matching by =~` in method before `$~` + accepts matching by =~` in method with $& in block + corrects matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in method with $' before unless + corrects matching by =~` in module, `$~` is in method + corrects matching by =~` in method before `$`` + corrects matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in class method, `$2` is in other method + accepts matching by =~` in method with $` before unless + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in method with $~ + registers an offense for matching by =~`, $& reference is overrided + registers an offense for matching by =~` in method before `$&` + accepts matching by =~` in method with Regexp.last_match(1) before unless + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in class, `$1` is in method + corrects matching by =~` in method before `$1` + registers an offense for matching by =~` in class, `$'` is in method + registers an offense for matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $MATCH in block + accepts matching by =~` in method with $~ before unless + corrects matching by =~` in module, `$MATCH` is in method + accepts matching by =~` in method with $2 + registers an offense for matching by =~` in if condition registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $2 before if + accepts matching by =~` in method with $` + corrects matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with $MATCH + corrects matching by =~` in class method, `$100` is in other method + accepts matching by =~` in method with $100 before unless + corrects matching by =~` in if condition + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $' in block + corrects matching by =~`, $100 reference is overrided + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in case condition + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in a class method with $` + accepts matching by =~` in a class method with Regexp.last_match(1) + registers an offense for matching by =~` in if guard condition with $& is used in another method + corrects matching by =~`, $` reference is overrided + registers an offense for matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $' before if + registers an offense for matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in method before `$100` + registers an offense for matching by =~` in unless condition + corrects matching by =~` in method, `$&` is in other method + accepts matching by =~` in method with $' + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in guard condition with $` is used in the line after that + registers an offense for matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in class method, `$100` is in other method corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in method definition - registers an offense for matching by =~` in class method, `$2` is in other method - accepts matching by =~` in method with $2 before unless - registers an offense for matching by =~` in method before `$'` - corrects matching by =~` in class, `$'` is in method - accepts matching by =~` in method with $~ before unless - corrects matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in method before `$MATCH` - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $100 in block - accepts matching by =~` in method with $` in block - accepts matching by =~` in a class method with $1 + accepts matching by =~` in method with $2 in block accepts matching by =~` in method with $~ before if - registers an offense for matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in method with Regexp.last_match(1) in block - accepts matching by =~` in method with $1 + registers an offense for matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in a class method with $MATCH + corrects matching by =~` in method definition + registers an offense for matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that + accepts matching by =~` in guard condition with $2 is used in the line after that + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~` in method, `$~` is in other method + corrects matching by =~` in method, `$2` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before if + corrects matching by =~` in unless condition + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in a class method with $100 + registers an offense for matching by =~` in method, `$`` is in other method + accepts matching by =~` in method with Regexp.last_match before unless + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in method with $1 before unless + accepts matching by =~` in method with $MATCH before unless + accepts matching by =~` in method with $1 before if + registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in method, `$&` is in other method + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in a class method with Regexp.last_match + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~`, $2 reference is overrided + registers an offense for matching by =~`, $' reference is overrided + accepts matching by =~` in method with $& + corrects matching by =~` in module, `$&` is in method + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method registers an offense for matching by =~` in method, `$2` is in other method - registers an offense for matching by =~` in case condition - accepts matching by =~` in method with $MATCH in block - corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in module, `$2` is in method + registers an offense for matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in method before `$MATCH` + corrects matching by =~` in case condition + registers an offense for matching by =~` in class, `$2` is in method + accepts matching by =~` in method with $2 before unless + accepts matching by =~` in method with $100 + corrects matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in method before `$1` + accepts matching by =~` in method with $& before if registers an offense for matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~`, $1 reference is overrided + corrects matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in method with $` before if + corrects matching by =~` in class, `$'` is in method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + corrects matching by =~` in method before `$2` + corrects matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in class method, `$1` is in other method accepts matching by =~` in method with $MATCH before if + accepts matching by =~` in method with $` in block + corrects matching by =~` in method before `$~` + accepts matching by =~` in method with $100 in block + accepts matching by =~` in a class method with $2 + registers an offense for matching by =~` in module, `$1` is in method + registers an offense for matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in method before `$'` + accepts matching by =~` in method with $100 before if + registers an offense for matching by =~` in class, `Regexp.last_match` is in method accepts matching by =~` in method with $& before unless + accepts matching by =~` in method with Regexp.last_match(1) in block + corrects matching by =~` in module, `$1` is in method + corrects matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~`, $~ reference is overrided + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~`, $1 reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by =~`, $` reference is overrided + corrects matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in method definition + accepts matching by =~` in method with Regexp.last_match(1) + registers an offense for matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in class method, `$~` is in other method + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class, `$`` is in method + corrects matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method registers an offense for matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~`, $` reference is overrided - accepts matching by =~` in method with $MATCH before unless - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in unless condition - registers an offense for matching by =~` in method before `$&` - accepts matching by =~` in method with $MATCH + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in if condition + registers an offense for matching by =~` in module, `$`` is in method + accepts matching by =~` in guard condition with $~ is used in the line after that + corrects matching by =~` in method before `$&` behaves like all legacy match methods - corrects matching by !~` in method, `$100` is in other method - registers an offense for matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in class, `$~` is in method - accepts matching by !~` in method with $MATCH - registers an offense for matching by !~` in module, `$`` is in method - corrects matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in class method, `$&` is in other method - corrects matching by !~` in method, `$~` is in other method - accepts matching by !~` in method with $1 - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in method before `$&` - registers an offense for matching by !~`, $MATCH reference is overrided - accepts matching by !~` in method with $~ before if - corrects matching by !~` in if guard condition with $~ is used in another method - corrects matching by !~` in class, `$'` is in method - accepts matching by !~` in guard condition with $` is used in the line after that - corrects matching by !~` in class method, `$2` is in other method - accepts matching by !~` in method with $~ in block - accepts matching by !~` in method with Regexp.last_match(1) before unless - registers an offense for matching by !~` in case condition - corrects matching by !~` in module, `$MATCH` is in method - corrects matching by !~` in module, `$2` is in method - accepts matching by !~` in method with $~ - registers an offense for matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in guard condition with $2 is used in the line after that - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in a class method with $& - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in method with Regexp.last_match(1) before if - registers an offense for matching by !~` in method, `$MATCH` is in other method - corrects matching by !~` in class method, `$~` is in other method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in class, `$&` is in method - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in method before `$~` - corrects matching by !~` in method, `$1` is in other method - corrects matching by !~` in class, `$&` is in method - corrects matching by !~` in if guard condition with $1 is used in another method - accepts matching by !~` in method with $' before unless - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with $100 - registers an offense for matching by !~` in if condition - corrects matching by !~` in if condition - registers an offense for matching by !~` in class method, `$~` is in other method - accepts matching by !~` in method with $` before if - accepts matching by !~` in method with Regexp.last_match in block - registers an offense for matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in method before `$`` - corrects matching by !~`, $` reference is overrided - corrects matching by !~`, $1 reference is overrided - registers an offense for matching by !~`, $2 reference is overrided - accepts matching by !~` in a class method with $100 - registers an offense for matching by !~` in method, `$&` is in other method - accepts matching by !~` in a class method with Regexp.last_match(1) - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in method, `$100` is in other method - registers an offense for matching by !~` in ternary operator - registers an offense for matching by !~` in method before `$2` - corrects matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~`, $& reference is overrided - corrects matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in method, `$'` is in other method - corrects matching by !~` in module, `$100` is in method - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in a class method with $1 - registers an offense for matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in method definition - registers an offense for matching by !~` in method before `$'` - accepts matching by !~` in a class method with $' - corrects matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~`, $' reference is overrided - corrects matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~`, $' reference is overrided - registers an offense for matching by !~` in method, `$`` is in other method - registers an offense for matching by !~` in method before `$1` - registers an offense for matching by !~` in module, `$1` is in method - corrects matching by !~` in method before `$1` - registers an offense for matching by !~` in class, `$'` is in method - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - accepts matching by !~` in method with Regexp.last_match - corrects matching by !~` in module, `$&` is in method - accepts matching by !~` in method with $1 before if - corrects matching by !~`, $& reference is overrided - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in method before `$MATCH` - corrects matching by !~` in class, `$~` is in method - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in unless condition - corrects matching by !~` in class, `$2` is in method - accepts matching by !~` in method with $& before unless - registers an offense for matching by !~` in module, `$2` is in method - corrects matching by !~` in method definition - registers an offense for matching by !~` in class method, `$100` is in other method - corrects matching by !~` in method before `$MATCH` - accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in class method, `$MATCH` is in other method - registers an offense for matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in class, `$`` is in method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in method before `$`` - corrects matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in module, `$100` is in method - accepts matching by !~` in method with $1 in block - accepts matching by !~` in guard condition with $~ is used in the line after that - accepts matching by !~` in method with Regexp.last_match(1) - accepts matching by !~` in method with $& before if - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by !~` in method before `$'` - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in method with $' in block - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by !~` in guard condition with $1 is used in the line after that - registers an offense for matching by !~` in method before `$100` - corrects matching by !~` in method before `$2` - accepts matching by !~` in method with Regexp.last_match before if - corrects matching by !~` in if condition - accepts matching by !~` in guard condition with $100 is used in the line after that - registers an offense for matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with $1 before unless - corrects matching by !~`, Regexp.last_match reference is overrided - accepts matching by !~` in a class method with $` - registers an offense for matching by !~` in if guard condition with $~ is used in another method - corrects matching by !~` in module, `$1` is in method - accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~`, $` reference is overrided - accepts matching by !~` in method with $100 in block - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in case condition - corrects matching by !~` in method before `$100` - corrects matching by !~` in method, `$&` is in other method - corrects matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in method with $` - corrects matching by !~` in unless condition - registers an offense for matching by !~` in module, `$'` is in method - corrects matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in class method, `$2` is in other method - corrects matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~`, $~ reference is overrided - corrects matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with $2 before unless - corrects matching by !~` in elsif condition - accepts matching by !~` in method with $~ before unless - accepts matching by !~` in method with $MATCH before if - corrects matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in method, `$`` is in other method - accepts matching by !~` in a class method with $~ - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in if condition - corrects matching by !~` in method before `$&` - corrects matching by !~` in class, `$`` is in method - accepts matching by !~` in method with Regexp.last_match before unless - corrects matching by !~` in class method, `$'` is in other method - accepts matching by !~` in method with $` before unless - registers an offense for matching by !~` in unless condition - accepts matching by !~` in guard condition with $MATCH is used in the line after that - corrects matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in module, `$&` is in method - corrects matching by !~` in module, `$'` is in method - corrects matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in method with $& in block - registers an offense for matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in if guard condition with $2 is used in another method - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in class method, `$'` is in other method - accepts matching by !~` in guard condition with $' is used in the line after that - corrects matching by !~` in ternary operator - accepts matching by !~` in method with $` in block - corrects matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in method, `$1` is in other method - corrects matching by !~` in module, `$~` is in method - accepts matching by !~` in method with $2 - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in method with $& - corrects matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in class, `$1` is in method - corrects matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $MATCH before unless - registers an offense for matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in class, `$100` is in method - accepts matching by !~` in method with $2 before if - corrects matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in module, `$~` is in method - accepts matching by !~` in method with $' - corrects matching by !~` in class, `$1` is in method - accepts matching by !~` in method with $2 in block - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - accepts matching by !~` in method with $' before if - accepts matching by !~` in method with Regexp.last_match(1) in block - corrects matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $MATCH in block - corrects matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in a class method with $2 - accepts matching by !~` in method with $100 before if - registers an offense for matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - behaves like all legacy match methods - corrects Regexp#match method call with position in class method, `$2` is in other method - accepts Regexp#match method call with position in a class method with $100 - accepts Regexp#match method call with position in a class method with $MATCH - accepts Regexp#match method call with position in method with $` before unless - corrects Regexp#match method call with position in module, `$'` is in method - corrects Regexp#match method call with position in class, `$&` is in method - corrects Regexp#match method call with position in method, `Regexp.last_match(1)` is in other method - corrects Regexp#match method call with position in method before `$2` - corrects Regexp#match method call with position, $1 reference is overrided - corrects Regexp#match method call with position in method before `$1` - accepts Regexp#match method call with position in method with $100 before if - registers an offense for Regexp#match method call with position, $MATCH reference is overrided - registers an offense for Regexp#match method call with position in class method, `$'` is in other method - accepts Regexp#match method call with position in method with Regexp.last_match(1) before if - accepts Regexp#match method call with position in method with Regexp.last_match(1) before unless - registers an offense for Regexp#match method call with position, $' reference is overrided - accepts Regexp#match method call with position in method with $MATCH before if - corrects Regexp#match method call with position in ternary operator - corrects Regexp#match method call with position in if guard condition with $& is used in another method - registers an offense for Regexp#match method call with position in module, `$2` is in method - corrects Regexp#match method call with position, $2 reference is overrided - corrects Regexp#match method call with position in module, `$MATCH` is in method + corrects Regexp#match method call with position in method before `$100` + registers an offense for Regexp#match method call with position in method, `$~` is in other method + registers an offense for Regexp#match method call with position in if guard condition with $& is used in another method + registers an offense for Regexp#match method call with position in if guard condition with $` is used in another method + accepts Regexp#match method call with position in method with Regexp.last_match(1) in block + accepts Regexp#match method call with position in method with $2 before if + registers an offense for Regexp#match method call with position in module, `$&` is in method registers an offense for Regexp#match method call with position in method, `$1` is in other method - registers an offense for Regexp#match method call with position in module, `$1` is in method + corrects Regexp#match method call with position in if guard condition with $& is used in another method + corrects Regexp#match method call with position in method before `Regexp.last_match` + corrects Regexp#match method call with position in unless condition + accepts Regexp#match method call with position in method with $` before if + accepts Regexp#match method call with position in guard condition with $` is used in the line after that + registers an offense for Regexp#match method call with position, $1 reference is overrided + accepts Regexp#match method call with position in method with $~ before unless + registers an offense for Regexp#match method call with position, $2 reference is overrided + accepts Regexp#match method call with position in method with $` in block + registers an offense for Regexp#match method call with position in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for Regexp#match method call with position in method before `$&` + registers an offense for Regexp#match method call with position in method, `Regexp.last_match` is in other method + corrects Regexp#match method call with position in method before `Regexp.last_match(1)` + registers an offense for Regexp#match method call with position in class method, `$2` is in other method registers an offense for Regexp#match method call with position in if guard condition with Regexp.last_match is used in another method - corrects Regexp#match method call with position in elsif condition - registers an offense for Regexp#match method call with position in if guard condition with $100 is used in another method - registers an offense for Regexp#match method call with position, $100 reference is overrided - registers an offense for Regexp#match method call with position in unless condition - accepts Regexp#match method call with position in method with $1 - registers an offense for Regexp#match method call with position in case condition - corrects Regexp#match method call with position in class, `Regexp.last_match(1)` is in method - corrects Regexp#match method call with position in module, `Regexp.last_match(1)` is in method - registers an offense for Regexp#match method call with position in class, `$&` is in method - registers an offense for Regexp#match method call with position in method, `Regexp.last_match(1)` is in other method - accepts Regexp#match method call with position in method with $100 before unless - accepts Regexp#match method call with position in method with $100 - accepts Regexp#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that - corrects Regexp#match method call with position in method, `$'` is in other method - corrects Regexp#match method call with position in module, `$2` is in method - accepts Regexp#match method call with position in guard condition with $' is used in the line after that - accepts Regexp#match method call with position in a class method with $& - accepts Regexp#match method call with position in method with $& - registers an offense for Regexp#match method call with position in method, `$`` is in other method - registers an offense for Regexp#match method call with position in if condition - corrects Regexp#match method call with position in class method, `$'` is in other method - accepts Regexp#match method call with position in a class method with Regexp.last_match - registers an offense for Regexp#match method call with position in method before `$~` - accepts Regexp#match method call with position in method with $` - corrects Regexp#match method call with position in method, `$`` is in other method - registers an offense for Regexp#match method call with position in if guard condition with $& is used in another method - accepts Regexp#match method call with position in guard condition with $100 is used in the line after that corrects Regexp#match method call with position in module, `$~` is in method - corrects Regexp#match method call with position in class, `$100` is in method - accepts Regexp#match method call with position in a class method with $1 - registers an offense for Regexp#match method call with position in method before `$`` - accepts Regexp#match method call with position in method with $2 before if - accepts Regexp#match method call with position in a class method with Regexp.last_match(1) - accepts Regexp#match method call with position in method with $MATCH in block - corrects Regexp#match method call with position in method before `$~` - corrects Regexp#match method call with position in if guard condition with $MATCH is used in another method - accepts Regexp#match method call with position in method with $& in block - corrects Regexp#match method call with position in class method, `$&` is in other method - accepts Regexp#match method call with position in method with $' in block - corrects Regexp#match method call with position in class, `$~` is in method - registers an offense for Regexp#match method call with position in method before `$MATCH` - corrects Regexp#match method call with position in class, `$1` is in method - registers an offense for Regexp#match method call with position in class method, `$1` is in other method + registers an offense for Regexp#match method call with position in method definition + registers an offense for Regexp#match method call with position in elsif condition + corrects Regexp#match method call with position in method, `$2` is in other method + corrects Regexp#match method call with position in class, `Regexp.last_match(1)` is in method + corrects Regexp#match method call with position in module, `$MATCH` is in method + registers an offense for Regexp#match method call with position in class method, `Regexp.last_match` is in other method + registers an offense for Regexp#match method call with position in case condition corrects Regexp#match method call with position in class, `$`` is in method - accepts Regexp#match method call with position in guard condition with Regexp.last_match is used in the line after that + accepts Regexp#match method call with position in a class method with $& + registers an offense for Regexp#match method call with position in class, `$`` is in method + registers an offense for Regexp#match method call with position in unless condition corrects Regexp#match method call with position in method, `$&` is in other method - corrects Regexp#match method call with position in method before `$MATCH` - accepts Regexp#match method call with position in a class method with $~ - accepts Regexp#match method call with position in method with $2 before unless - accepts Regexp#match method call with position in method with $100 in block - corrects Regexp#match method call with position in if condition - registers an offense for Regexp#match method call with position in class method, `$`` is in other method - registers an offense for Regexp#match method call with position in class method, `$MATCH` is in other method - corrects Regexp#match method call with position in method, `$2` is in other method - accepts Regexp#match method call with position in method with $MATCH - registers an offense for Regexp#match method call with position in class method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call with position in class, `$~` is in method - registers an offense for Regexp#match method call with position in module, `$100` is in method - corrects Regexp#match method call with position in method, `$100` is in other method - corrects Regexp#match method call with position in method, `$1` is in other method - registers an offense for Regexp#match method call with position in class, `$'` is in method - accepts Regexp#match method call with position in method with Regexp.last_match(1) in block - registers an offense for Regexp#match method call with position in module, `$`` is in method - corrects Regexp#match method call with position in method before `$`` - registers an offense for Regexp#match method call with position, $1 reference is overrided - registers an offense for Regexp#match method call with position in method before `$100` - corrects Regexp#match method call with position in if guard condition with $` is used in another method - accepts Regexp#match method call with position in method with $& before unless - registers an offense for Regexp#match method call with position in class, `$MATCH` is in method - registers an offense for Regexp#match method call with position in method, `$~` is in other method - registers an offense for Regexp#match method call with position in method, `$MATCH` is in other method - registers an offense for Regexp#match method call with position in method, `$100` is in other method - accepts Regexp#match method call with position in guard condition with $& is used in the line after that - corrects Regexp#match method call with position in method, `$~` is in other method - corrects Regexp#match method call with position in module, `$100` is in method accepts Regexp#match method call with position in method with Regexp.last_match in block - registers an offense for Regexp#match method call with position in if guard condition with $~ is used in another method - accepts Regexp#match method call with position in guard condition with $` is used in the line after that - registers an offense for Regexp#match method call with position, $2 reference is overrided - corrects Regexp#match method call with position in if condition - accepts Regexp#match method call with position in method with $~ in block - registers an offense for Regexp#match method call with position in method, `$2` is in other method - corrects Regexp#match method call with position in module, `Regexp.last_match` is in method - accepts Regexp#match method call with position in a class method with $2 - corrects Regexp#match method call with position in class, `$'` is in method + corrects Regexp#match method call with position, $~ reference is overrided + registers an offense for Regexp#match method call with position in class method, `$MATCH` is in other method corrects Regexp#match method call with position in unless condition - accepts Regexp#match method call with position in method with $& before if - registers an offense for Regexp#match method call with position in module, `$~` is in method - corrects Regexp#match method call with position in class, `Regexp.last_match` is in method - accepts Regexp#match method call with position in method with Regexp.last_match - corrects Regexp#match method call with position in class method, `Regexp.last_match` is in other method - registers an offense for Regexp#match method call with position in method, `$&` is in other method - corrects Regexp#match method call with position in class method, `$1` is in other method - registers an offense for Regexp#match method call with position in class method, `$2` is in other method - registers an offense for Regexp#match method call with position in if guard condition with $' is used in another method - corrects Regexp#match method call with position in module, `$1` is in method - registers an offense for Regexp#match method call with position in class method, `Regexp.last_match` is in other method - registers an offense for Regexp#match method call with position in module, `$&` is in method - accepts Regexp#match method call with position in method with $' before unless - registers an offense for Regexp#match method call with position in method before `$&` - registers an offense for Regexp#match method call with position in class, `$100` is in method - accepts Regexp#match method call with position in method with $' - corrects Regexp#match method call with position in if guard condition with Regexp.last_match is used in another method - registers an offense for Regexp#match method call with position in if guard condition with $2 is used in another method - accepts Regexp#match method call with position in method with Regexp.last_match(1) - corrects Regexp#match method call with position in method before `Regexp.last_match` - registers an offense for Regexp#match method call with position in if condition + corrects Regexp#match method call with position in class, `$MATCH` is in method + accepts Regexp#match method call with position in guard condition with Regexp.last_match is used in the line after that + accepts Regexp#match method call with position in method with Regexp.last_match before if + corrects Regexp#match method call with position in if guard condition with $100 is used in another method + accepts Regexp#match method call with position in a class method with $1 corrects Regexp#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - corrects Regexp#match method call with position in method definition - registers an offense for Regexp#match method call with position, Regexp.last_match reference is overrided - corrects Regexp#match method call with position in class method, `$`` is in other method - corrects Regexp#match method call with position, $~ reference is overrided + accepts Regexp#match method call with position in method with $2 before unless + accepts Regexp#match method call with position in guard condition with $2 is used in the line after that + registers an offense for Regexp#match method call with position in module, `Regexp.last_match(1)` is in method + accepts Regexp#match method call with position in method with $MATCH before if + corrects Regexp#match method call with position in class method, `$100` is in other method + accepts Regexp#match method call with position in method with $100 before if + registers an offense for Regexp#match method call with position in method before `$~` + registers an offense for Regexp#match method call with position in method before `$2` + corrects Regexp#match method call with position in module, `$100` is in method + accepts Regexp#match method call with position in method with $& + corrects Regexp#match method call with position, $MATCH reference is overrided + registers an offense for Regexp#match method call with position, $& reference is overrided + corrects Regexp#match method call with position, $100 reference is overrided + corrects Regexp#match method call with position in class, `Regexp.last_match` is in method registers an offense for Regexp#match method call with position in class, `Regexp.last_match(1)` is in method - corrects Regexp#match method call with position in class, `$2` is in method - registers an offense for Regexp#match method call with position in if guard condition with $MATCH is used in another method + registers an offense for Regexp#match method call with position in class, `$1` is in method + corrects Regexp#match method call with position in case condition + corrects Regexp#match method call with position in if guard condition with Regexp.last_match is used in another method + registers an offense for Regexp#match method call with position in class method, `$'` is in other method + accepts Regexp#match method call with position in a class method with Regexp.last_match(1) + registers an offense for Regexp#match method call with position in class method, `$100` is in other method corrects Regexp#match method call with position in module, `$&` is in method - registers an offense for Regexp#match method call with position in method before `Regexp.last_match` - registers an offense for Regexp#match method call with position in method before `$1` - corrects Regexp#match method call with position in method before `$'` - accepts Regexp#match method call with position in method with $` before if - corrects Regexp#match method call with position, $100 reference is overrided - corrects Regexp#match method call with position in class method, `$MATCH` is in other method - accepts Regexp#match method call with position in guard condition with $1 is used in the line after that - accepts Regexp#match method call with position in method with Regexp.last_match before if + accepts Regexp#match method call with position in guard condition with $& is used in the line after that + registers an offense for Regexp#match method call with position in method before `$'` + corrects Regexp#match method call with position in if guard condition with $` is used in another method + corrects Regexp#match method call with position in class method, `Regexp.last_match(1)` is in other method accepts Regexp#match method call with position in method with Regexp.last_match before unless - registers an offense for Regexp#match method call with position, $& reference is overrided - corrects Regexp#match method call with position in class, `$MATCH` is in method - corrects Regexp#match method call with position in method, `Regexp.last_match` is in other method - registers an offense for Regexp#match method call with position in method definition - registers an offense for Regexp#match method call with position in unless condition + registers an offense for Regexp#match method call with position in method before `$1` accepts Regexp#match method call with position in method with $~ before if - accepts Regexp#match method call with position in method with $~ before unless - accepts Regexp#match method call with position in method with $2 - registers an offense for Regexp#match method call with position in class, `Regexp.last_match` is in method - corrects Regexp#match method call with position in if guard condition with $100 is used in another method - corrects Regexp#match method call with position in class method, `$100` is in other method - registers an offense for Regexp#match method call with position in method, `Regexp.last_match` is in other method - corrects Regexp#match method call with position in case condition - registers an offense for Regexp#match method call with position in method, `$'` is in other method - corrects Regexp#match method call with position in module, `$`` is in method - accepts Regexp#match method call with position in method with $1 in block - corrects Regexp#match method call with position in method before `$&` - registers an offense for Regexp#match method call with position in class, `$`` is in method registers an offense for Regexp#match method call with position in module, `Regexp.last_match` is in method - registers an offense for Regexp#match method call with position, $` reference is overrided - accepts Regexp#match method call with position in a class method with $` - accepts Regexp#match method call with position in guard condition with $~ is used in the line after that - corrects Regexp#match method call with position in class method, `$~` is in other method + corrects Regexp#match method call with position in method definition + accepts Regexp#match method call with position in method with $100 in block + corrects Regexp#match method call with position in class method, `$1` is in other method + corrects Regexp#match method call with position in class, `$&` is in method + corrects Regexp#match method call with position in method before `$MATCH` + registers an offense for Regexp#match method call with position in method, `$&` is in other method + accepts Regexp#match method call with position in method with $' before if + registers an offense for Regexp#match method call with position in module, `$`` is in method + accepts Regexp#match method call with position in guard condition with $' is used in the line after that + corrects Regexp#match method call with position in method, `$MATCH` is in other method + corrects Regexp#match method call with position in if guard condition with $~ is used in another method + accepts Regexp#match method call with position in method with $MATCH before unless + corrects Regexp#match method call with position in class method, `$`` is in other method + corrects Regexp#match method call with position, $` reference is overrided + corrects Regexp#match method call with position in class method, `$'` is in other method + corrects Regexp#match method call with position in if condition + corrects Regexp#match method call with position in ternary operator + registers an offense for Regexp#match method call with position in method, `$100` is in other method + registers an offense for Regexp#match method call with position in method, `$MATCH` is in other method + accepts Regexp#match method call with position in method with $& before if + registers an offense for Regexp#match method call with position in method before `$100` + accepts Regexp#match method call with position in method with $~ in block + accepts Regexp#match method call with position in method with $& before unless + accepts Regexp#match method call with position in a class method with $' accepts Regexp#match method call with position in method with $1 before if - corrects Regexp#match method call with position in method before `$100` + corrects Regexp#match method call with position, Regexp.last_match reference is overrided accepts Regexp#match method call with position in guard condition with $MATCH is used in the line after that - accepts Regexp#match method call with position in guard condition with $2 is used in the line after that - corrects Regexp#match method call with position in if guard condition with $2 is used in another method corrects Regexp#match method call with position, $' reference is overrided - registers an offense for Regexp#match method call with position in elsif condition - registers an offense for Regexp#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for Regexp#match method call with position, $~ reference is overrided - accepts Regexp#match method call with position in method with $1 before unless - registers an offense for Regexp#match method call with position in if guard condition with $1 is used in another method - registers an offense for Regexp#match method call with position in class, `$1` is in method - registers an offense for Regexp#match method call with position in method before `$'` - corrects Regexp#match method call with position in method before `Regexp.last_match(1)` - corrects Regexp#match method call with position, $` reference is overrided + corrects Regexp#match method call with position in method, `Regexp.last_match` is in other method + corrects Regexp#match method call with position in module, `Regexp.last_match(1)` is in method corrects Regexp#match method call with position in if guard condition with $1 is used in another method - registers an offense for Regexp#match method call with position in module, `Regexp.last_match(1)` is in method - accepts Regexp#match method call with position in method with $~ - corrects Regexp#match method call with position in class method, `Regexp.last_match(1)` is in other method - corrects Regexp#match method call with position in method, `$MATCH` is in other method - corrects Regexp#match method call with position in unless condition - corrects Regexp#match method call with position, Regexp.last_match reference is overrided - accepts Regexp#match method call with position in method with $MATCH before unless - corrects Regexp#match method call with position, Regexp.last_match(1) reference is overrided + registers an offense for Regexp#match method call with position in if guard condition with $2 is used in another method + accepts Regexp#match method call with position in method with Regexp.last_match(1) + registers an offense for Regexp#match method call with position in method before `$`` + registers an offense for Regexp#match method call with position in method, `$`` is in other method corrects Regexp#match method call with position, $& reference is overrided - registers an offense for Regexp#match method call with position in module, `$'` is in method - accepts Regexp#match method call with position in method with $` in block + registers an offense for Regexp#match method call with position in unless condition + accepts Regexp#match method call with position in a class method with $~ + corrects Regexp#match method call with position, $1 reference is overrided registers an offense for Regexp#match method call with position, Regexp.last_match(1) reference is overrided - registers an offense for Regexp#match method call with position in module, `$MATCH` is in method - registers an offense for Regexp#match method call with position in class method, `$~` is in other method - corrects Regexp#match method call with position in if guard condition with $~ is used in another method - accepts Regexp#match method call with position in method with $' before if - registers an offense for Regexp#match method call with position in ternary operator - registers an offense for Regexp#match method call with position in method before `$2` - accepts Regexp#match method call with position in method with $2 in block - corrects Regexp#match method call with position in if guard condition with $' is used in another method - corrects Regexp#match method call with position, $MATCH reference is overrided - registers an offense for Regexp#match method call with position in method before `Regexp.last_match(1)` + accepts Regexp#match method call with position in guard condition with $~ is used in the line after that + registers an offense for Regexp#match method call with position, $' reference is overrided + accepts Regexp#match method call with position in method with $' + corrects Regexp#match method call with position in method before `$`` + corrects Regexp#match method call with position in class, `$2` is in method registers an offense for Regexp#match method call with position in class method, `$&` is in other method - registers an offense for Regexp#match method call with position in class method, `$100` is in other method + registers an offense for Regexp#match method call with position in if condition + accepts Regexp#match method call with position in method with Regexp.last_match + registers an offense for Regexp#match method call with position in module, `$100` is in method + corrects Regexp#match method call with position in if guard condition with $' is used in another method + accepts Regexp#match method call with position in a class method with $100 + corrects Regexp#match method call with position in if condition + corrects Regexp#match method call with position in module, `$2` is in method + registers an offense for Regexp#match method call with position in method, `Regexp.last_match(1)` is in other method + corrects Regexp#match method call with position in method before `$&` + corrects Regexp#match method call with position in module, `$1` is in method + accepts Regexp#match method call with position in method with $' in block + corrects Regexp#match method call with position in class, `$1` is in method + registers an offense for Regexp#match method call with position in ternary operator + accepts Regexp#match method call with position in method with Regexp.last_match(1) before unless + registers an offense for Regexp#match method call with position in class, `$100` is in method + registers an offense for Regexp#match method call with position in class, `$&` is in method + corrects Regexp#match method call with position in method, `$`` is in other method + accepts Regexp#match method call with position in guard condition with $1 is used in the line after that + corrects Regexp#match method call with position in module, `$`` is in method + registers an offense for Regexp#match method call with position in class method, `$~` is in other method + accepts Regexp#match method call with position in method with $` before unless + accepts Regexp#match method call with position in method with $' before unless + accepts Regexp#match method call with position in method with $~ + corrects Regexp#match method call with position in if guard condition with $MATCH is used in another method + registers an offense for Regexp#match method call with position in class, `$~` is in method + accepts Regexp#match method call with position in a class method with Regexp.last_match + registers an offense for Regexp#match method call with position, $MATCH reference is overrided + registers an offense for Regexp#match method call with position in class, `Regexp.last_match` is in method + registers an offense for Regexp#match method call with position in class method, `$1` is in other method + accepts Regexp#match method call with position in method with $1 before unless + registers an offense for Regexp#match method call with position, $~ reference is overrided + registers an offense for Regexp#match method call with position in if guard condition with $1 is used in another method + accepts Regexp#match method call with position in method with Regexp.last_match(1) before if + accepts Regexp#match method call with position in guard condition with $100 is used in the line after that + corrects Regexp#match method call with position in class, `$'` is in method + accepts Regexp#match method call with position in method with $MATCH in block + accepts Regexp#match method call with position in method with $MATCH + registers an offense for Regexp#match method call with position in module, `$~` is in method + corrects Regexp#match method call with position in method, `Regexp.last_match(1)` is in other method + corrects Regexp#match method call with position in class method, `Regexp.last_match` is in other method + accepts Regexp#match method call with position in method with $& in block + corrects Regexp#match method call with position in module, `Regexp.last_match` is in method + registers an offense for Regexp#match method call with position in method, `$'` is in other method + corrects Regexp#match method call with position, Regexp.last_match(1) reference is overrided + registers an offense for Regexp#match method call with position in if condition + corrects Regexp#match method call with position in module, `$'` is in method + registers an offense for Regexp#match method call with position in if guard condition with $' is used in another method + registers an offense for Regexp#match method call with position in class method, `Regexp.last_match(1)` is in other method + accepts Regexp#match method call with position in method with $100 before unless + corrects Regexp#match method call with position in class, `$100` is in method registers an offense for Regexp#match method call with position in class, `$2` is in method - accepts Regexp#match method call with position in a class method with $' - registers an offense for Regexp#match method call with position in if guard condition with $` is used in another method + corrects Regexp#match method call with position in class, `$~` is in method + registers an offense for Regexp#match method call with position in module, `$2` is in method + registers an offense for Regexp#match method call with position in if guard condition with $100 is used in another method + accepts Regexp#match method call with position in method with $1 in block + registers an offense for Regexp#match method call with position in module, `$1` is in method + corrects Regexp#match method call with position in method before `$'` + accepts Regexp#match method call with position in a class method with $MATCH + corrects Regexp#match method call with position, $2 reference is overrided + corrects Regexp#match method call with position in if guard condition with $2 is used in another method + registers an offense for Regexp#match method call with position, $` reference is overrided + corrects Regexp#match method call with position in class method, `$2` is in other method + registers an offense for Regexp#match method call with position in module, `$MATCH` is in method + registers an offense for Regexp#match method call with position in module, `$'` is in method + corrects Regexp#match method call with position in method before `$2` + accepts Regexp#match method call with position in method with $` + accepts Regexp#match method call with position in method with $100 + registers an offense for Regexp#match method call with position in if guard condition with $MATCH is used in another method + registers an offense for Regexp#match method call with position in class, `$MATCH` is in method + registers an offense for Regexp#match method call with position in class method, `$`` is in other method + corrects Regexp#match method call with position in method, `$1` is in other method + accepts Regexp#match method call with position in method with $1 + accepts Regexp#match method call with position in a class method with $` + corrects Regexp#match method call with position in class method, `$MATCH` is in other method + corrects Regexp#match method call with position in method, `$~` is in other method + accepts Regexp#match method call with position in a class method with $2 + accepts Regexp#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for Regexp#match method call with position in method before `Regexp.last_match(1)` + accepts Regexp#match method call with position in method with $2 + registers an offense for Regexp#match method call with position in method before `$MATCH` + corrects Regexp#match method call with position in method before `$1` + registers an offense for Regexp#match method call with position in method, `$2` is in other method + registers an offense for Regexp#match method call with position, Regexp.last_match reference is overrided + registers an offense for Regexp#match method call with position in if guard condition with $~ is used in another method + registers an offense for Regexp#match method call with position in method before `Regexp.last_match` + corrects Regexp#match method call with position in class method, `$&` is in other method + corrects Regexp#match method call with position in elsif condition + accepts Regexp#match method call with position in method with $2 in block + registers an offense for Regexp#match method call with position in class, `$'` is in method + registers an offense for Regexp#match method call with position, $100 reference is overrided + corrects Regexp#match method call with position in method before `$~` + corrects Regexp#match method call with position in method, `$'` is in other method + corrects Regexp#match method call with position in class method, `$~` is in other method + corrects Regexp#match method call with position in method, `$100` is in other method behaves like all legacy match methods - registers an offense for Symbol#match method call with position in class, `$'` is in method - registers an offense for Symbol#match method call with position in unless condition - accepts Symbol#match method call with position in method with $2 before unless - corrects Symbol#match method call with position in method before `$1` - corrects Symbol#match method call with position in method before `$MATCH` - corrects Symbol#match method call with position in if guard condition with $100 is used in another method - accepts Symbol#match method call with position in method with $100 before if + corrects Symbol#match method call in method before `$'` + accepts Symbol#match method call in method with $' + accepts Symbol#match method call in method with $100 before if + registers an offense for Symbol#match method call, $2 reference is overrided + registers an offense for Symbol#match method call in method before `Regexp.last_match(1)` + corrects Symbol#match method call in method, `$1` is in other method + registers an offense for Symbol#match method call in if guard condition with $' is used in another method + registers an offense for Symbol#match method call in class method, `$`` is in other method + corrects Symbol#match method call in module, `$1` is in method + corrects Symbol#match method call in class method, `$2` is in other method + corrects Symbol#match method call, Regexp.last_match(1) reference is overrided + accepts Symbol#match method call in method with $2 before if + corrects Symbol#match method call in method before `$MATCH` + corrects Symbol#match method call, $` reference is overrided + registers an offense for Symbol#match method call, $` reference is overrided + accepts Symbol#match method call in method with $& in block + registers an offense for Symbol#match method call, Regexp.last_match(1) reference is overrided + corrects Symbol#match method call, $& reference is overrided + corrects Symbol#match method call in method, `Regexp.last_match` is in other method + registers an offense for Symbol#match method call in class method, `Regexp.last_match(1)` is in other method + registers an offense for Symbol#match method call, $& reference is overrided + registers an offense for Symbol#match method call in method before `$1` + accepts Symbol#match method call in method with $~ + registers an offense for Symbol#match method call in if condition + registers an offense for Symbol#match method call in method before `$'` + corrects Symbol#match method call in module, `Regexp.last_match` is in method + corrects Symbol#match method call in class, `$~` is in method + corrects Symbol#match method call, $' reference is overrided + accepts Symbol#match method call in method with $` before if + registers an offense for Symbol#match method call in method before `$100` + corrects Symbol#match method call in unless condition + corrects Symbol#match method call in module, `$`` is in method + registers an offense for Symbol#match method call, Regexp.last_match reference is overrided + corrects Symbol#match method call in module, `$100` is in method + accepts Symbol#match method call in method with $` before unless + accepts Symbol#match method call in guard condition with $MATCH is used in the line after that + corrects Symbol#match method call in class method, `$`` is in other method + corrects Symbol#match method call in class method, `$1` is in other method + accepts Symbol#match method call in a class method with $~ + corrects Symbol#match method call in method, `$2` is in other method + registers an offense for Symbol#match method call in class, `$&` is in method + registers an offense for Symbol#match method call in module, `$1` is in method + registers an offense for Symbol#match method call in module, `Regexp.last_match` is in method + corrects Symbol#match method call in method, `Regexp.last_match(1)` is in other method + corrects Symbol#match method call in class, `$`` is in method + accepts Symbol#match method call in method with $MATCH + corrects Symbol#match method call in method before `$`` + registers an offense for Symbol#match method call in method definition + registers an offense for Symbol#match method call in method, `$1` is in other method + registers an offense for Symbol#match method call in class, `$`` is in method + registers an offense for Symbol#match method call in if guard condition with $MATCH is used in another method + accepts Symbol#match method call in method with $~ before if + accepts Symbol#match method call in method with $1 + registers an offense for Symbol#match method call in class method, `$1` is in other method + corrects Symbol#match method call in if guard condition with Regexp.last_match is used in another method + accepts Symbol#match method call in method with $1 before if + corrects Symbol#match method call in method before `$&` + accepts Symbol#match method call in method with $& before if + accepts Symbol#match method call in method with $100 + corrects Symbol#match method call in if guard condition with $2 is used in another method + registers an offense for Symbol#match method call in module, `$MATCH` is in method + registers an offense for Symbol#match method call in method, `$~` is in other method + accepts Symbol#match method call in method with $100 in block + registers an offense for Symbol#match method call in method before `$~` + corrects Symbol#match method call in module, `$'` is in method + registers an offense for Symbol#match method call in class method, `$&` is in other method + registers an offense for Symbol#match method call, $' reference is overrided + corrects Symbol#match method call in method before `Regexp.last_match(1)` + registers an offense for Symbol#match method call in if guard condition with $~ is used in another method + registers an offense for Symbol#match method call in method, `$2` is in other method + registers an offense for Symbol#match method call in class, `$~` is in method + corrects Symbol#match method call in if guard condition with $100 is used in another method + accepts Symbol#match method call in method with Regexp.last_match(1) in block + registers an offense for Symbol#match method call, $MATCH reference is overrided + accepts Symbol#match method call in a class method with $' + corrects Symbol#match method call in method, `$MATCH` is in other method + registers an offense for Symbol#match method call in class, `$MATCH` is in method + accepts Symbol#match method call in a class method with $1 + registers an offense for Symbol#match method call in method, `$&` is in other method + corrects Symbol#match method call in module, `$MATCH` is in method + accepts Symbol#match method call in method with Regexp.last_match(1) before unless + corrects Symbol#match method call in if guard condition with $& is used in another method + registers an offense for Symbol#match method call in module, `$`` is in method + registers an offense for Symbol#match method call in method before `$&` + accepts Symbol#match method call in method with $MATCH in block + registers an offense for Symbol#match method call in class, `Regexp.last_match(1)` is in method + corrects Symbol#match method call in class method, `$~` is in other method + corrects Symbol#match method call in module, `$~` is in method + registers an offense for Symbol#match method call in class, `$2` is in method + corrects Symbol#match method call in module, `Regexp.last_match(1)` is in method + corrects Symbol#match method call in class, `$MATCH` is in method + corrects Symbol#match method call in elsif condition + registers an offense for Symbol#match method call in method, `$MATCH` is in other method + registers an offense for Symbol#match method call in unless condition + corrects Symbol#match method call in class, `$1` is in method + corrects Symbol#match method call in method, `$~` is in other method + corrects Symbol#match method call in class, `Regexp.last_match(1)` is in method + registers an offense for Symbol#match method call in method, `Regexp.last_match` is in other method + accepts Symbol#match method call in guard condition with $~ is used in the line after that + accepts Symbol#match method call in a class method with $& + registers an offense for Symbol#match method call in class method, `$MATCH` is in other method + corrects Symbol#match method call in if condition + registers an offense for Symbol#match method call in elsif condition + accepts Symbol#match method call in method with $1 in block + accepts Symbol#match method call in method with $& before unless + registers an offense for Symbol#match method call in class method, `$2` is in other method + registers an offense for Symbol#match method call in class method, `$~` is in other method + accepts Symbol#match method call in method with Regexp.last_match in block + accepts Symbol#match method call in method with Regexp.last_match before if + corrects Symbol#match method call in class method, `Regexp.last_match(1)` is in other method + corrects Symbol#match method call in class, `$2` is in method + accepts Symbol#match method call in method with $100 before unless + corrects Symbol#match method call, Regexp.last_match reference is overrided + corrects Symbol#match method call in class method, `$&` is in other method + corrects Symbol#match method call in method before `$1` + accepts Symbol#match method call in method with $& + corrects Symbol#match method call, $100 reference is overrided + accepts Symbol#match method call in a class method with $` + corrects Symbol#match method call, $2 reference is overrided + corrects Symbol#match method call in method before `$~` + registers an offense for Symbol#match method call, $1 reference is overrided + accepts Symbol#match method call in a class method with Regexp.last_match(1) + registers an offense for Symbol#match method call in case condition + corrects Symbol#match method call in method, `$&` is in other method + corrects Symbol#match method call in class, `$100` is in method + corrects Symbol#match method call in method before `$2` + corrects Symbol#match method call in if condition + registers an offense for Symbol#match method call in if guard condition with $100 is used in another method + accepts Symbol#match method call in a class method with $100 + registers an offense for Symbol#match method call in if guard condition with $` is used in another method + accepts Symbol#match method call in method with $MATCH before if + registers an offense for Symbol#match method call in method before `$MATCH` + corrects Symbol#match method call in case condition + corrects Symbol#match method call in class method, `$'` is in other method + registers an offense for Symbol#match method call, $100 reference is overrided + registers an offense for Symbol#match method call in method before `$2` + registers an offense for Symbol#match method call in if condition + registers an offense for Symbol#match method call in class, `$1` is in method + accepts Symbol#match method call in method with Regexp.last_match + corrects Symbol#match method call in method, `$100` is in other method + registers an offense for Symbol#match method call in method before `Regexp.last_match` + corrects Symbol#match method call in if guard condition with $MATCH is used in another method + registers an offense for Symbol#match method call in class method, `$100` is in other method + corrects Symbol#match method call in if guard condition with $' is used in another method + corrects Symbol#match method call in if guard condition with $~ is used in another method + accepts Symbol#match method call in guard condition with $1 is used in the line after that + registers an offense for Symbol#match method call in method, `$'` is in other method + corrects Symbol#match method call in method before `$100` + accepts Symbol#match method call in method with $~ before unless + accepts Symbol#match method call in a class method with Regexp.last_match + corrects Symbol#match method call in module, `$2` is in method + accepts Symbol#match method call in method with Regexp.last_match before unless + registers an offense for Symbol#match method call in method, `$`` is in other method + corrects Symbol#match method call in class, `$&` is in method + corrects Symbol#match method call in unless condition + registers an offense for Symbol#match method call in method before `$`` + accepts Symbol#match method call in method with $MATCH before unless + registers an offense for Symbol#match method call in class, `$100` is in method + accepts Symbol#match method call in guard condition with $' is used in the line after that + accepts Symbol#match method call in a class method with $2 + registers an offense for Symbol#match method call in module, `Regexp.last_match(1)` is in method + registers an offense for Symbol#match method call in class method, `Regexp.last_match` is in other method + registers an offense for Symbol#match method call in class, `$'` is in method + registers an offense for Symbol#match method call in module, `$~` is in method + accepts Symbol#match method call in method with $2 + registers an offense for Symbol#match method call in method, `Regexp.last_match(1)` is in other method + accepts Symbol#match method call in method with $2 before unless + registers an offense for Symbol#match method call in module, `$'` is in method + registers an offense for Symbol#match method call in module, `$&` is in method + registers an offense for Symbol#match method call, $~ reference is overrided + corrects Symbol#match method call in method definition + registers an offense for Symbol#match method call in ternary operator + corrects Symbol#match method call in method before `Regexp.last_match` + accepts Symbol#match method call in method with $~ in block + corrects Symbol#match method call in class method, `Regexp.last_match` is in other method + accepts Symbol#match method call in guard condition with $& is used in the line after that + accepts Symbol#match method call in guard condition with Regexp.last_match is used in the line after that + corrects Symbol#match method call, $MATCH reference is overrided + registers an offense for Symbol#match method call in method, `$100` is in other method + registers an offense for Symbol#match method call in if guard condition with $2 is used in another method + accepts Symbol#match method call in method with $' before if + accepts Symbol#match method call in method with $` + corrects Symbol#match method call in if guard condition with Regexp.last_match(1) is used in another method + corrects Symbol#match method call in class, `Regexp.last_match` is in method + registers an offense for Symbol#match method call in if guard condition with Regexp.last_match(1) is used in another method + corrects Symbol#match method call, $1 reference is overrided + corrects Symbol#match method call, $~ reference is overrided + corrects Symbol#match method call in if guard condition with $1 is used in another method + corrects Symbol#match method call in method, `$'` is in other method + registers an offense for Symbol#match method call in if guard condition with Regexp.last_match is used in another method + accepts Symbol#match method call in guard condition with $2 is used in the line after that + corrects Symbol#match method call in class method, `$MATCH` is in other method + accepts Symbol#match method call in method with $' before unless + corrects Symbol#match method call in ternary operator + registers an offense for Symbol#match method call in class method, `$'` is in other method + accepts Symbol#match method call in a class method with $MATCH + accepts Symbol#match method call in method with $2 in block + accepts Symbol#match method call in method with $1 before unless + accepts Symbol#match method call in method with $' in block + corrects Symbol#match method call in method, `$`` is in other method + registers an offense for Symbol#match method call in module, `$100` is in method + accepts Symbol#match method call in guard condition with Regexp.last_match(1) is used in the line after that + corrects Symbol#match method call in module, `$&` is in method + registers an offense for Symbol#match method call in unless condition + registers an offense for Symbol#match method call in module, `$2` is in method + corrects Symbol#match method call in class, `$'` is in method + corrects Symbol#match method call in if guard condition with $` is used in another method + accepts Symbol#match method call in method with Regexp.last_match(1) before if + accepts Symbol#match method call in method with $` in block + corrects Symbol#match method call in class method, `$100` is in other method + accepts Symbol#match method call in method with Regexp.last_match(1) + registers an offense for Symbol#match method call in class, `Regexp.last_match` is in method + accepts Symbol#match method call in guard condition with $` is used in the line after that + accepts Symbol#match method call in guard condition with $100 is used in the line after that + registers an offense for Symbol#match method call in if guard condition with $& is used in another method + registers an offense for Symbol#match method call in if guard condition with $1 is used in another method + behaves like all legacy match methods + corrects Symbol#match method call with position, $~ reference is overrided + registers an offense for Symbol#match method call with position in method before `$&` + accepts Symbol#match method call with position in a class method with $2 + corrects Symbol#match method call with position in module, `$&` is in method + registers an offense for Symbol#match method call with position, $2 reference is overrided + registers an offense for Symbol#match method call with position in if condition + accepts Symbol#match method call with position in guard condition with $' is used in the line after that + corrects Symbol#match method call with position, $& reference is overrided + accepts Symbol#match method call with position in a class method with $' + corrects Symbol#match method call with position, $` reference is overrided + accepts Symbol#match method call with position in a class method with Regexp.last_match + corrects Symbol#match method call with position in class method, `$~` is in other method + accepts Symbol#match method call with position in method with $MATCH in block + corrects Symbol#match method call with position in module, `$MATCH` is in method + accepts Symbol#match method call with position in method with Regexp.last_match(1) + accepts Symbol#match method call with position in method with $MATCH before if + corrects Symbol#match method call with position in method before `$100` + accepts Symbol#match method call with position in method with Regexp.last_match before unless + registers an offense for Symbol#match method call with position, $1 reference is overrided + accepts Symbol#match method call with position in method with $~ + accepts Symbol#match method call with position in method with $& before if + corrects Symbol#match method call with position in class, `$~` is in method + corrects Symbol#match method call with position in unless condition + corrects Symbol#match method call with position in class, `$'` is in method + accepts Symbol#match method call with position in method with $1 + registers an offense for Symbol#match method call with position in class, `$100` is in method + registers an offense for Symbol#match method call with position in method definition + corrects Symbol#match method call with position in class, `$1` is in method corrects Symbol#match method call with position in method, `$2` is in other method + registers an offense for Symbol#match method call with position in method, `Regexp.last_match(1)` is in other method + corrects Symbol#match method call with position in class, `$`` is in method + registers an offense for Symbol#match method call with position in method, `$1` is in other method + corrects Symbol#match method call with position in unless condition + corrects Symbol#match method call with position in method, `$`` is in other method + registers an offense for Symbol#match method call with position, Regexp.last_match reference is overrided + corrects Symbol#match method call with position in module, `$1` is in method + corrects Symbol#match method call with position in class method, `$2` is in other method + accepts Symbol#match method call with position in method with $2 in block + corrects Symbol#match method call with position in if condition registers an offense for Symbol#match method call with position in method, `$2` is in other method - corrects Symbol#match method call with position in class, `$&` is in method - accepts Symbol#match method call with position in method with $& - registers an offense for Symbol#match method call with position, $` reference is overrided - accepts Symbol#match method call with position in method with $1 in block - corrects Symbol#match method call with position in class method, `$'` is in other method - registers an offense for Symbol#match method call with position in if guard condition with Regexp.last_match is used in another method - accepts Symbol#match method call with position in method with $' before if - corrects Symbol#match method call with position in method, `$100` is in other method - registers an offense for Symbol#match method call with position in module, `$~` is in method - registers an offense for Symbol#match method call with position in module, `$2` is in method - accepts Symbol#match method call with position in a class method with $100 - corrects Symbol#match method call with position, Regexp.last_match reference is overrided - accepts Symbol#match method call with position in method with $MATCH before unless - corrects Symbol#match method call with position in method, `$&` is in other method + accepts Symbol#match method call with position in method with $100 before if + corrects Symbol#match method call with position in method before `$MATCH` + corrects Symbol#match method call with position in module, `$2` is in method + registers an offense for Symbol#match method call with position in if condition + registers an offense for Symbol#match method call with position in method before `$`` + registers an offense for Symbol#match method call with position, $MATCH reference is overrided + corrects Symbol#match method call with position in module, `$'` is in method accepts Symbol#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for Symbol#match method call with position in method, `Regexp.last_match` is in other method corrects Symbol#match method call with position in method, `$~` is in other method - accepts Symbol#match method call with position in method with $1 - accepts Symbol#match method call with position in method with Regexp.last_match(1) - corrects Symbol#match method call with position in class, `$`` is in method - corrects Symbol#match method call with position, $~ reference is overrided - registers an offense for Symbol#match method call with position in method, `$100` is in other method - registers an offense for Symbol#match method call with position in method before `Regexp.last_match(1)` + registers an offense for Symbol#match method call with position in class method, `$'` is in other method + accepts Symbol#match method call with position in a class method with $100 + registers an offense for Symbol#match method call with position in method, `$~` is in other method + accepts Symbol#match method call with position in method with $` + registers an offense for Symbol#match method call with position in class, `$1` is in method + accepts Symbol#match method call with position in method with $' before unless accepts Symbol#match method call with position in a class method with Regexp.last_match(1) - accepts Symbol#match method call with position in a class method with $& - registers an offense for Symbol#match method call with position in class method, `$~` is in other method - accepts Symbol#match method call with position in method with Regexp.last_match in block - corrects Symbol#match method call with position in if guard condition with $1 is used in another method - corrects Symbol#match method call with position in if guard condition with $' is used in another method - registers an offense for Symbol#match method call with position in if guard condition with $' is used in another method - corrects Symbol#match method call with position in method, `$`` is in other method - accepts Symbol#match method call with position in a class method with $2 + accepts Symbol#match method call with position in guard condition with $100 is used in the line after that + accepts Symbol#match method call with position in method with $` before unless + registers an offense for Symbol#match method call with position in if guard condition with $100 is used in another method + accepts Symbol#match method call with position in method with $` in block + registers an offense for Symbol#match method call with position in if guard condition with $MATCH is used in another method + accepts Symbol#match method call with position in method with $2 + accepts Symbol#match method call with position in guard condition with $` is used in the line after that + registers an offense for Symbol#match method call with position in if guard condition with Regexp.last_match is used in another method + accepts Symbol#match method call with position in method with $100 before unless corrects Symbol#match method call with position, $MATCH reference is overrided - corrects Symbol#match method call with position, $` reference is overrided - corrects Symbol#match method call with position in method before `$'` - corrects Symbol#match method call with position in method, `$MATCH` is in other method - corrects Symbol#match method call with position in class method, `$1` is in other method - accepts Symbol#match method call with position in method with $MATCH in block - corrects Symbol#match method call with position, $2 reference is overrided - accepts Symbol#match method call with position in method with $& before unless - corrects Symbol#match method call with position in if guard condition with $& is used in another method - registers an offense for Symbol#match method call with position in unless condition - registers an offense for Symbol#match method call with position in method, `$~` is in other method - corrects Symbol#match method call with position in case condition - accepts Symbol#match method call with position in method with $` before if + registers an offense for Symbol#match method call with position in if guard condition with $1 is used in another method + corrects Symbol#match method call with position in method, `$100` is in other method + registers an offense for Symbol#match method call with position in class method, `$100` is in other method + corrects Symbol#match method call with position in method before `$2` + corrects Symbol#match method call with position in method, `Regexp.last_match` is in other method + corrects Symbol#match method call with position in method before `$~` + corrects Symbol#match method call with position in method, `$1` is in other method + accepts Symbol#match method call with position in guard condition with $2 is used in the line after that + accepts Symbol#match method call with position in a class method with $` + accepts Symbol#match method call with position in guard condition with Regexp.last_match is used in the line after that + registers an offense for Symbol#match method call with position in method before `$MATCH` + registers an offense for Symbol#match method call with position in module, `$100` is in method accepts Symbol#match method call with position in method with Regexp.last_match(1) before unless - corrects Symbol#match method call with position in method before `$&` + registers an offense for Symbol#match method call with position in module, `Regexp.last_match(1)` is in method + corrects Symbol#match method call with position in class method, `Regexp.last_match` is in other method + registers an offense for Symbol#match method call with position in class method, `Regexp.last_match` is in other method + accepts Symbol#match method call with position in guard condition with $& is used in the line after that + accepts Symbol#match method call with position in method with $1 before unless + accepts Symbol#match method call with position in method with Regexp.last_match in block + corrects Symbol#match method call with position in case condition + accepts Symbol#match method call with position in method with $1 in block + registers an offense for Symbol#match method call with position in if guard condition with $& is used in another method + registers an offense for Symbol#match method call with position in if guard condition with $2 is used in another method + accepts Symbol#match method call with position in method with $' before if + registers an offense for Symbol#match method call with position, Regexp.last_match(1) reference is overrided + accepts Symbol#match method call with position in a class method with $~ registers an offense for Symbol#match method call with position in class method, `$1` is in other method - accepts Symbol#match method call with position in method with $~ before unless - accepts Symbol#match method call with position in method with $100 in block - registers an offense for Symbol#match method call with position in class method, `$'` is in other method + corrects Symbol#match method call with position in if guard condition with $' is used in another method + corrects Symbol#match method call with position in if guard condition with $2 is used in another method + registers an offense for Symbol#match method call with position in module, `$`` is in method + registers an offense for Symbol#match method call with position in unless condition + corrects Symbol#match method call with position in method, `$'` is in other method corrects Symbol#match method call with position in elsif condition - corrects Symbol#match method call with position in module, `$100` is in method - accepts Symbol#match method call with position in method with $2 before if - accepts Symbol#match method call with position in guard condition with $& is used in the line after that - registers an offense for Symbol#match method call with position in class, `$&` is in method + registers an offense for Symbol#match method call with position in method, `$&` is in other method + registers an offense for Symbol#match method call with position in if guard condition with $` is used in another method + registers an offense for Symbol#match method call with position in method, `$100` is in other method + corrects Symbol#match method call with position, $100 reference is overrided + accepts Symbol#match method call with position in guard condition with $MATCH is used in the line after that + registers an offense for Symbol#match method call with position, $` reference is overrided + corrects Symbol#match method call with position in if guard condition with Regexp.last_match is used in another method + registers an offense for Symbol#match method call with position in class, `$MATCH` is in method + corrects Symbol#match method call with position, $2 reference is overrided + corrects Symbol#match method call with position in module, `Regexp.last_match(1)` is in method + registers an offense for Symbol#match method call with position in module, `$~` is in method registers an offense for Symbol#match method call with position in module, `$'` is in method - registers an offense for Symbol#match method call with position in class method, `$`` is in other method - accepts Symbol#match method call with position in method with $` in block - corrects Symbol#match method call with position, $& reference is overrided - accepts Symbol#match method call with position in method with $& in block - registers an offense for Symbol#match method call with position in module, `$`` is in method corrects Symbol#match method call with position in method before `$`` - corrects Symbol#match method call with position in method before `Regexp.last_match` - accepts Symbol#match method call with position in method with Regexp.last_match(1) before if - registers an offense for Symbol#match method call with position in class, `$100` is in method - corrects Symbol#match method call with position in module, `Regexp.last_match` is in method - corrects Symbol#match method call with position in method before `$2` - corrects Symbol#match method call with position in class method, `$100` is in other method - registers an offense for Symbol#match method call with position in case condition - accepts Symbol#match method call with position in guard condition with $1 is used in the line after that - registers an offense for Symbol#match method call with position in module, `Regexp.last_match(1)` is in method - corrects Symbol#match method call with position in class method, `$`` is in other method - corrects Symbol#match method call with position in method before `$~` - registers an offense for Symbol#match method call with position, $2 reference is overrided - registers an offense for Symbol#match method call with position in elsif condition - accepts Symbol#match method call with position in guard condition with $100 is used in the line after that - corrects Symbol#match method call with position in if condition - corrects Symbol#match method call with position in module, `$1` is in method - accepts Symbol#match method call with position in method with $' in block - registers an offense for Symbol#match method call with position in method, `$MATCH` is in other method - registers an offense for Symbol#match method call with position in module, `$1` is in method - corrects Symbol#match method call with position in module, `$~` is in method - accepts Symbol#match method call with position in a class method with $~ - corrects Symbol#match method call with position in unless condition - corrects Symbol#match method call with position in ternary operator - registers an offense for Symbol#match method call with position in class, `$~` is in method - registers an offense for Symbol#match method call with position in method, `$&` is in other method - corrects Symbol#match method call with position in method, `$'` is in other method - registers an offense for Symbol#match method call with position in method, `$`` is in other method - corrects Symbol#match method call with position in class, `$~` is in method - corrects Symbol#match method call with position in class method, `$~` is in other method - registers an offense for Symbol#match method call with position in method before `$100` - corrects Symbol#match method call with position in method before `Regexp.last_match(1)` accepts Symbol#match method call with position in a class method with $1 - accepts Symbol#match method call with position in guard condition with $~ is used in the line after that - corrects Symbol#match method call with position, $100 reference is overrided - corrects Symbol#match method call with position, $1 reference is overrided - registers an offense for Symbol#match method call with position, $' reference is overrided - registers an offense for Symbol#match method call with position in class method, `$&` is in other method - accepts Symbol#match method call with position in a class method with Regexp.last_match - corrects Symbol#match method call with position in class method, `Regexp.last_match` is in other method - corrects Symbol#match method call with position in module, `$MATCH` is in method - corrects Symbol#match method call with position in if guard condition with $` is used in another method - accepts Symbol#match method call with position in method with $` before unless - accepts Symbol#match method call with position in method with $& before if - accepts Symbol#match method call with position in method with $1 before if - corrects Symbol#match method call with position, Regexp.last_match(1) reference is overrided - registers an offense for Symbol#match method call with position in method definition - corrects Symbol#match method call with position in class method, `$2` is in other method - registers an offense for Symbol#match method call with position in class, `Regexp.last_match(1)` is in method + corrects Symbol#match method call with position in method, `$&` is in other method + corrects Symbol#match method call with position, Regexp.last_match reference is overrided + registers an offense for Symbol#match method call with position in module, `$2` is in method + corrects Symbol#match method call with position in method before `$'` + corrects Symbol#match method call with position in method definition + accepts Symbol#match method call with position in method with $~ before if + registers an offense for Symbol#match method call with position in method, `$`` is in other method + accepts Symbol#match method call with position in method with $' in block + corrects Symbol#match method call with position in if guard condition with $1 is used in another method + registers an offense for Symbol#match method call with position in if guard condition with $~ is used in another method registers an offense for Symbol#match method call with position in ternary operator - accepts Symbol#match method call with position in guard condition with $2 is used in the line after that - corrects Symbol#match method call with position in method, `$1` is in other method - accepts Symbol#match method call with position in a class method with $` - registers an offense for Symbol#match method call with position in class, `$MATCH` is in method - registers an offense for Symbol#match method call with position in method, `$'` is in other method - corrects Symbol#match method call with position in if guard condition with $2 is used in another method - registers an offense for Symbol#match method call with position, $100 reference is overrided - accepts Symbol#match method call with position in method with $100 - corrects Symbol#match method call with position in class, `$MATCH` is in method - registers an offense for Symbol#match method call with position in method, `$1` is in other method - corrects Symbol#match method call with position in class, `$100` is in method - corrects Symbol#match method call with position in if guard condition with $MATCH is used in another method - registers an offense for Symbol#match method call with position, $1 reference is overrided + corrects Symbol#match method call with position in class method, `$&` is in other method + registers an offense for Symbol#match method call with position in class, `Regexp.last_match(1)` is in method registers an offense for Symbol#match method call with position in class method, `$2` is in other method - registers an offense for Symbol#match method call with position in method before `$&` - registers an offense for Symbol#match method call with position in class, `Regexp.last_match` is in method - accepts Symbol#match method call with position in method with $' - accepts Symbol#match method call with position in method with Regexp.last_match before unless - corrects Symbol#match method call with position in class, `$1` is in method - registers an offense for Symbol#match method call with position in method before `$2` - registers an offense for Symbol#match method call with position in method before `$MATCH` - accepts Symbol#match method call with position in method with $~ before if - accepts Symbol#match method call with position in guard condition with $` is used in the line after that + registers an offense for Symbol#match method call with position in class, `$2` is in method + corrects Symbol#match method call with position in if guard condition with $100 is used in another method + registers an offense for Symbol#match method call with position in method before `Regexp.last_match` + registers an offense for Symbol#match method call with position in module, `$MATCH` is in method + registers an offense for Symbol#match method call with position in class method, `$~` is in other method corrects Symbol#match method call with position in method, `Regexp.last_match(1)` is in other method - corrects Symbol#match method call with position in class, `$'` is in method - accepts Symbol#match method call with position in a class method with $' - corrects Symbol#match method call with position in class method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call with position in if guard condition with $100 is used in another method - registers an offense for Symbol#match method call with position in class, `$`` is in method - registers an offense for Symbol#match method call with position in method before `$`` + corrects Symbol#match method call with position in class, `$MATCH` is in method + accepts Symbol#match method call with position in method with $' + corrects Symbol#match method call with position in module, `$100` is in method + corrects Symbol#match method call with position in if guard condition with $& is used in another method + corrects Symbol#match method call with position in module, `$~` is in method + corrects Symbol#match method call with position in method before `Regexp.last_match(1)` + accepts Symbol#match method call with position in method with $100 + corrects Symbol#match method call with position, Regexp.last_match(1) reference is overrided accepts Symbol#match method call with position in method with $~ in block - corrects Symbol#match method call with position in module, `Regexp.last_match(1)` is in method - accepts Symbol#match method call with position in method with Regexp.last_match - accepts Symbol#match method call with position in a class method with $MATCH - registers an offense for Symbol#match method call with position in class method, `$100` is in other method + corrects Symbol#match method call with position, $1 reference is overrided + accepts Symbol#match method call with position in method with $& in block + registers an offense for Symbol#match method call with position in if guard condition with Regexp.last_match(1) is used in another method registers an offense for Symbol#match method call with position in module, `Regexp.last_match` is in method + registers an offense for Symbol#match method call with position in method, `$'` is in other method + corrects Symbol#match method call with position in method before `Regexp.last_match` + accepts Symbol#match method call with position in a class method with $& + registers an offense for Symbol#match method call with position in case condition registers an offense for Symbol#match method call with position in method before `$1` - registers an offense for Symbol#match method call with position in if condition - registers an offense for Symbol#match method call with position in module, `$100` is in method - registers an offense for Symbol#match method call with position in if guard condition with $~ is used in another method - registers an offense for Symbol#match method call with position in if condition - corrects Symbol#match method call with position in if guard condition with $~ is used in another method - registers an offense for Symbol#match method call with position in class method, `$MATCH` is in other method - registers an offense for Symbol#match method call with position in method before `Regexp.last_match` - accepts Symbol#match method call with position in guard condition with Regexp.last_match is used in the line after that - corrects Symbol#match method call with position in class, `Regexp.last_match(1)` is in method - registers an offense for Symbol#match method call with position, Regexp.last_match(1) reference is overrided - registers an offense for Symbol#match method call with position, Regexp.last_match reference is overrided - registers an offense for Symbol#match method call with position in if guard condition with $1 is used in another method - registers an offense for Symbol#match method call with position in if guard condition with $2 is used in another method - accepts Symbol#match method call with position in method with $` - registers an offense for Symbol#match method call with position in module, `$&` is in method - corrects Symbol#match method call with position in class, `Regexp.last_match` is in method - registers an offense for Symbol#match method call with position in if guard condition with $` is used in another method - corrects Symbol#match method call with position in if guard condition with Regexp.last_match is used in another method - registers an offense for Symbol#match method call with position, $~ reference is overrided - registers an offense for Symbol#match method call with position in method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call with position in if guard condition with $MATCH is used in another method - corrects Symbol#match method call with position in class method, `$MATCH` is in other method + accepts Symbol#match method call with position in method with $100 in block + corrects Symbol#match method call with position in method before `$1` corrects Symbol#match method call with position in if condition - registers an offense for Symbol#match method call with position in if guard condition with $& is used in another method - corrects Symbol#match method call with position in module, `$'` is in method - accepts Symbol#match method call with position in method with $MATCH before if - registers an offense for Symbol#match method call with position, $& reference is overrided - corrects Symbol#match method call with position in method, `Regexp.last_match` is in other method - accepts Symbol#match method call with position in method with Regexp.last_match(1) in block - corrects Symbol#match method call with position in method before `$100` - accepts Symbol#match method call with position in guard condition with $MATCH is used in the line after that - corrects Symbol#match method call with position in method definition - registers an offense for Symbol#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - accepts Symbol#match method call with position in method with $100 before unless - registers an offense for Symbol#match method call with position in method, `Regexp.last_match` is in other method + corrects Symbol#match method call with position in class method, `$`` is in other method + corrects Symbol#match method call with position in class, `Regexp.last_match` is in method + accepts Symbol#match method call with position in method with Regexp.last_match(1) before if + corrects Symbol#match method call with position in if guard condition with Regexp.last_match(1) is used in another method registers an offense for Symbol#match method call with position in class method, `Regexp.last_match(1)` is in other method - corrects Symbol#match method call with position in module, `$&` is in method - corrects Symbol#match method call with position in unless condition + accepts Symbol#match method call with position in method with $MATCH before unless + corrects Symbol#match method call with position in class, `Regexp.last_match(1)` is in method + corrects Symbol#match method call with position in method, `$MATCH` is in other method + corrects Symbol#match method call with position in class, `$&` is in method registers an offense for Symbol#match method call with position in method before `$~` - registers an offense for Symbol#match method call with position in class, `$1` is in method - corrects Symbol#match method call with position in module, `$2` is in method - registers an offense for Symbol#match method call with position in class method, `Regexp.last_match` is in other method + registers an offense for Symbol#match method call with position in method before `$'` + accepts Symbol#match method call with position in a class method with $MATCH + corrects Symbol#match method call with position in module, `$`` is in method + registers an offense for Symbol#match method call with position, $' reference is overrided + accepts Symbol#match method call with position in method with $& before unless + accepts Symbol#match method call with position in method with $~ before unless + accepts Symbol#match method call with position in method with $2 before unless + registers an offense for Symbol#match method call with position in if guard condition with $' is used in another method + registers an offense for Symbol#match method call with position in class, `$~` is in method + corrects Symbol#match method call with position in class, `$100` is in method + registers an offense for Symbol#match method call with position in method before `$100` + registers an offense for Symbol#match method call with position in method before `$2` + registers an offense for Symbol#match method call with position in method before `Regexp.last_match(1)` + accepts Symbol#match method call with position in guard condition with $~ is used in the line after that + registers an offense for Symbol#match method call with position in unless condition + accepts Symbol#match method call with position in method with $` before if + corrects Symbol#match method call with position in method before `$&` corrects Symbol#match method call with position, $' reference is overrided - accepts Symbol#match method call with position in method with $1 before unless - registers an offense for Symbol#match method call with position in class, `$2` is in method - registers an offense for Symbol#match method call with position, $MATCH reference is overrided - corrects Symbol#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - corrects Symbol#match method call with position in class, `$2` is in method - accepts Symbol#match method call with position in method with $2 - accepts Symbol#match method call with position in method with $' before unless + registers an offense for Symbol#match method call with position in module, `$1` is in method + registers an offense for Symbol#match method call with position in method, `$MATCH` is in other method + corrects Symbol#match method call with position in if guard condition with $~ is used in another method + registers an offense for Symbol#match method call with position in class method, `$&` is in other method + corrects Symbol#match method call with position in ternary operator + registers an offense for Symbol#match method call with position in class, `$&` is in method + registers an offense for Symbol#match method call with position in class method, `$MATCH` is in other method + corrects Symbol#match method call with position in class method, `Regexp.last_match(1)` is in other method + registers an offense for Symbol#match method call with position in class, `$`` is in method + corrects Symbol#match method call with position in class method, `$100` is in other method + registers an offense for Symbol#match method call with position, $100 reference is overrided + registers an offense for Symbol#match method call with position in class, `$'` is in method + accepts Symbol#match method call with position in method with $2 before if + corrects Symbol#match method call with position in class method, `$MATCH` is in other method + registers an offense for Symbol#match method call with position in elsif condition + accepts Symbol#match method call with position in guard condition with $1 is used in the line after that accepts Symbol#match method call with position in method with $MATCH - corrects Symbol#match method call with position in class method, `$&` is in other method - corrects Symbol#match method call with position in module, `$`` is in method - registers an offense for Symbol#match method call with position in module, `$MATCH` is in method - accepts Symbol#match method call with position in guard condition with $' is used in the line after that - accepts Symbol#match method call with position in method with $~ + corrects Symbol#match method call with position in class method, `$'` is in other method + accepts Symbol#match method call with position in method with Regexp.last_match + accepts Symbol#match method call with position in method with Regexp.last_match(1) in block + registers an offense for Symbol#match method call with position, $& reference is overrided + accepts Symbol#match method call with position in method with $& + corrects Symbol#match method call with position in class, `$2` is in method + corrects Symbol#match method call with position in module, `Regexp.last_match` is in method + registers an offense for Symbol#match method call with position in module, `$&` is in method + registers an offense for Symbol#match method call with position, $~ reference is overrided + registers an offense for Symbol#match method call with position in class method, `$`` is in other method + corrects Symbol#match method call with position in if guard condition with $MATCH is used in another method accepts Symbol#match method call with position in method with Regexp.last_match before if - registers an offense for Symbol#match method call with position in method before `$'` - accepts Symbol#match method call with position in method with $2 in block + accepts Symbol#match method call with position in method with $1 before if + corrects Symbol#match method call with position in class method, `$1` is in other method + registers an offense for Symbol#match method call with position in class, `Regexp.last_match` is in method + corrects Symbol#match method call with position in if guard condition with $` is used in another method + behaves like all legacy match methods + corrects matching by ===` in if guard condition with $MATCH is used in another method + registers an offense for matching by ===` in class method, `Regexp.last_match(1)` is in other method + accepts matching by ===` in method with Regexp.last_match before if + registers an offense for matching by ===` in if guard condition with $` is used in another method + corrects matching by ===` in method, `Regexp.last_match(1)` is in other method + accepts matching by ===` in method with $~ before unless + corrects matching by ===` in method definition + corrects matching by ===` in module, `Regexp.last_match(1)` is in method + accepts matching by ===` in method with $2 before if + accepts matching by ===` in a class method with $` + registers an offense for matching by ===` in method before `$`` + registers an offense for matching by ===` in module, `$~` is in method + corrects matching by ===`, $& reference is overrided + registers an offense for matching by ===` in if guard condition with Regexp.last_match is used in another method + accepts matching by ===` in method with $' before if + corrects matching by ===`, Regexp.last_match reference is overrided + corrects matching by ===` in method before `$&` + registers an offense for matching by ===` in class method, `$2` is in other method + accepts matching by ===` in method with $1 before unless + accepts matching by ===` in method with $` before if + registers an offense for matching by ===`, Regexp.last_match(1) reference is overrided + corrects matching by ===` in class, `$'` is in method + corrects matching by ===` in if guard condition with $& is used in another method + accepts matching by ===` in a class method with $& + corrects matching by ===` in class method, `$2` is in other method + registers an offense for matching by ===` in class method, `$`` is in other method + registers an offense for matching by ===` in if guard condition with $2 is used in another method + registers an offense for matching by ===` in class, `$&` is in method + registers an offense for matching by ===` in module, `Regexp.last_match` is in method + corrects matching by ===` in method before `$`` + accepts matching by ===` in guard condition with Regexp.last_match is used in the line after that + corrects matching by ===` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by ===` in if condition + registers an offense for matching by ===`, $1 reference is overrided + corrects matching by ===`, $~ reference is overrided + accepts matching by ===` in method with $& before if + accepts matching by ===` in method with $1 + corrects matching by ===` in if condition + registers an offense for matching by ===` in method, `$`` is in other method + accepts matching by ===` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by ===` in guard condition with $MATCH is used in the line after that + corrects matching by ===` in module, `$1` is in method + accepts matching by ===` in method with $MATCH + corrects matching by ===` in method, `$~` is in other method + registers an offense for matching by ===` in class method, `$100` is in other method + accepts matching by ===` in a class method with $100 + registers an offense for matching by ===` in method before `$1` + accepts matching by ===` in method with $& in block + corrects matching by ===` in class method, `$~` is in other method + corrects matching by ===` in if condition + registers an offense for matching by ===` in module, `$MATCH` is in method + accepts matching by ===` in method with $~ before if + registers an offense for matching by ===` in module, `$1` is in method + corrects matching by ===` in method, `Regexp.last_match` is in other method + corrects matching by ===`, $MATCH reference is overrided + registers an offense for matching by ===` in method, `$'` is in other method + accepts matching by ===` in method with $' + corrects matching by ===` in class, `$1` is in method + registers an offense for matching by ===`, $& reference is overrided + accepts matching by ===` in method with Regexp.last_match in block + corrects matching by ===` in method before `$~` + corrects matching by ===` in class, `$MATCH` is in method + registers an offense for matching by ===` in class method, `$'` is in other method + registers an offense for matching by ===` in class method, `$&` is in other method + registers an offense for matching by ===` in module, `$100` is in method + registers an offense for matching by ===` in method before `$'` + corrects matching by ===`, $` reference is overrided + accepts matching by ===` in guard condition with $2 is used in the line after that + corrects matching by ===` in method, `$2` is in other method + registers an offense for matching by ===` in class, `$~` is in method + corrects matching by ===` in module, `$MATCH` is in method + corrects matching by ===` in method, `$`` is in other method + accepts matching by ===` in a class method with Regexp.last_match + registers an offense for matching by ===` in module, `$&` is in method + accepts matching by ===` in a class method with Regexp.last_match(1) + accepts matching by ===` in method with $2 + registers an offense for matching by ===` in class, `$`` is in method + accepts matching by ===` in method with $MATCH in block + accepts matching by ===` in method with $` + corrects matching by ===` in class, `$~` is in method + accepts matching by ===` in method with Regexp.last_match before unless + registers an offense for matching by ===` in method, `$2` is in other method + accepts matching by ===` in method with $100 before if + corrects matching by ===` in module, `$2` is in method + registers an offense for matching by ===` in if condition + accepts matching by ===` in method with $2 in block + accepts matching by ===` in method with Regexp.last_match(1) before if + accepts matching by ===` in guard condition with $~ is used in the line after that + accepts matching by ===` in a class method with $' + registers an offense for matching by ===`, $2 reference is overrided + corrects matching by ===` in if guard condition with $2 is used in another method + corrects matching by ===`, Regexp.last_match(1) reference is overrided + corrects matching by ===` in module, `$100` is in method + accepts matching by ===` in method with Regexp.last_match(1) + corrects matching by ===` in class, `$&` is in method + accepts matching by ===` in method with $MATCH before if + corrects matching by ===` in method before `$'` + registers an offense for matching by ===` in method before `Regexp.last_match` + corrects matching by ===` in if guard condition with $100 is used in another method + corrects matching by ===` in if guard condition with $~ is used in another method + registers an offense for matching by ===` in case condition + corrects matching by ===` in class, `Regexp.last_match` is in method + corrects matching by ===` in unless condition + registers an offense for matching by ===` in class, `$100` is in method + registers an offense for matching by ===` in class method, `$1` is in other method + accepts matching by ===` in method with $100 + registers an offense for matching by ===` in class, `$1` is in method + registers an offense for matching by ===` in if guard condition with $1 is used in another method + corrects matching by ===` in module, `$`` is in method + accepts matching by ===` in method with $' in block + accepts matching by ===` in method with $100 before unless + corrects matching by ===`, $100 reference is overrided + registers an offense for matching by ===` in module, `$`` is in method + registers an offense for matching by ===` in method, `Regexp.last_match` is in other method + accepts matching by ===` in a class method with $1 + corrects matching by ===` in method before `Regexp.last_match(1)` + corrects matching by ===` in if guard condition with $1 is used in another method + registers an offense for matching by ===` in method before `$100` + corrects matching by ===` in class method, `$`` is in other method + registers an offense for matching by ===` in method, `$~` is in other method + accepts matching by ===` in method with $1 in block + accepts matching by ===` in method with $~ + accepts matching by ===` in method with $1 before if + corrects matching by ===` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by ===` in method before `$MATCH` + registers an offense for matching by ===` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by ===` in class, `Regexp.last_match` is in method + accepts matching by ===` in method with $' before unless + registers an offense for matching by ===` in ternary operator + corrects matching by ===` in class method, `$1` is in other method + registers an offense for matching by ===` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by ===` in class, `$'` is in method + corrects matching by ===` in if guard condition with $' is used in another method + accepts matching by ===` in a class method with $MATCH + registers an offense for matching by ===` in module, `$2` is in method + corrects matching by ===`, $2 reference is overrided + accepts matching by ===` in a class method with $2 + registers an offense for matching by ===` in method, `$100` is in other method + registers an offense for matching by ===`, $' reference is overrided + accepts matching by ===` in guard condition with $' is used in the line after that + corrects matching by ===` in class method, `Regexp.last_match(1)` is in other method + accepts matching by ===` in guard condition with $100 is used in the line after that + registers an offense for matching by ===` in class, `$2` is in method + corrects matching by ===` in class method, `Regexp.last_match` is in other method + registers an offense for matching by ===` in method, `$MATCH` is in other method + registers an offense for matching by ===` in if guard condition with $& is used in another method + registers an offense for matching by ===`, $MATCH reference is overrided + accepts matching by ===` in method with $` before unless + registers an offense for matching by ===` in method before `Regexp.last_match(1)` + corrects matching by ===` in elsif condition + corrects matching by ===` in class, `$2` is in method + accepts matching by ===` in guard condition with $` is used in the line after that + corrects matching by ===` in method, `$100` is in other method + corrects matching by ===` in module, `Regexp.last_match` is in method + registers an offense for matching by ===` in method before `$~` + registers an offense for matching by ===` in method, `$&` is in other method + registers an offense for matching by ===` in method definition + corrects matching by ===`, $1 reference is overrided + corrects matching by ===` in unless condition + registers an offense for matching by ===` in module, `$'` is in method + registers an offense for matching by ===` in elsif condition + registers an offense for matching by ===` in method, `$1` is in other method + accepts matching by ===` in method with $MATCH before unless + registers an offense for matching by ===` in class method, `$~` is in other method + corrects matching by ===` in class method, `$'` is in other method + registers an offense for matching by ===` in unless condition + accepts matching by ===` in guard condition with $& is used in the line after that + accepts matching by ===` in method with $2 before unless + accepts matching by ===` in method with $& + registers an offense for matching by ===` in class method, `Regexp.last_match` is in other method + registers an offense for matching by ===` in unless condition + accepts matching by ===` in method with $100 in block + corrects matching by ===` in method before `Regexp.last_match` + corrects matching by ===` in class, `Regexp.last_match(1)` is in method + accepts matching by ===` in method with Regexp.last_match(1) before unless + corrects matching by ===` in method before `$100` + registers an offense for matching by ===` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by ===` in if guard condition with $' is used in another method + corrects matching by ===` in class, `$100` is in method + corrects matching by ===` in method, `$'` is in other method + corrects matching by ===`, $' reference is overrided + corrects matching by ===` in class method, `$100` is in other method + registers an offense for matching by ===`, $~ reference is overrided + registers an offense for matching by ===`, $100 reference is overrided + registers an offense for matching by ===` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by ===` in method with $& before unless + corrects matching by ===` in class, `$`` is in method + registers an offense for matching by ===`, Regexp.last_match reference is overrided + corrects matching by ===` in if guard condition with $` is used in another method + registers an offense for matching by ===` in if guard condition with $~ is used in another method + corrects matching by ===` in module, `$~` is in method + registers an offense for matching by ===` in method before `$2` + corrects matching by ===` in method, `$MATCH` is in other method + corrects matching by ===` in method before `$MATCH` + registers an offense for matching by ===` in class, `$MATCH` is in method + corrects matching by ===` in method, `$&` is in other method + corrects matching by ===` in case condition + accepts matching by ===` in method with $~ in block + corrects matching by ===` in class method, `$&` is in other method + accepts matching by ===` in guard condition with $1 is used in the line after that + registers an offense for matching by ===` in method before `$&` + corrects matching by ===` in module, `$&` is in method + registers an offense for matching by ===`, $` reference is overrided + corrects matching by ===` in method before `$1` + corrects matching by ===` in class method, `$MATCH` is in other method + accepts matching by ===` in method with Regexp.last_match(1) in block + registers an offense for matching by ===` in if guard condition with $100 is used in another method + accepts matching by ===` in method with $` in block + registers an offense for matching by ===` in if guard condition with $MATCH is used in another method + corrects matching by ===` in ternary operator + accepts matching by ===` in a class method with $~ + registers an offense for matching by ===` in class method, `$MATCH` is in other method + corrects matching by ===` in method before `$2` + corrects matching by ===` in module, `$'` is in method + corrects matching by ===` in method, `$1` is in other method + accepts matching by ===` in method with Regexp.last_match behaves like all legacy match methods + registers an offense for String#match method call in method, `$MATCH` is in other method corrects String#match method call in class, `$1` is in method - accepts String#match method call in a class method with $& - accepts String#match method call in guard condition with Regexp.last_match is used in the line after that - registers an offense for String#match method call in if guard condition with $~ is used in another method - registers an offense for String#match method call in method before `$~` - corrects String#match method call in class, `Regexp.last_match(1)` is in method - corrects String#match method call in ternary operator - accepts String#match method call in method with $' before unless - corrects String#match method call in if condition - registers an offense for String#match method call in class method, `$'` is in other method - corrects String#match method call, $` reference is overrided - accepts String#match method call in method with $2 before unless - corrects String#match method call in module, `Regexp.last_match(1)` is in method - registers an offense for String#match method call in module, `$MATCH` is in method - registers an offense for String#match method call in if guard condition with Regexp.last_match is used in another method - accepts String#match method call in method with $2 in block - registers an offense for String#match method call in class, `$~` is in method - accepts String#match method call in method with $100 before unless accepts String#match method call in method with Regexp.last_match before if - accepts String#match method call in a class method with $~ - registers an offense for String#match method call in method before `Regexp.last_match` - registers an offense for String#match method call in method, `Regexp.last_match(1)` is in other method - corrects String#match method call in class method, `$'` is in other method - accepts String#match method call in method with $& - corrects String#match method call in method, `$~` is in other method - corrects String#match method call in method before `$MATCH` - corrects String#match method call in class method, `Regexp.last_match` is in other method - corrects String#match method call, Regexp.last_match reference is overrided - corrects String#match method call in class, `$2` is in method - registers an offense for String#match method call, $1 reference is overrided - registers an offense for String#match method call in if guard condition with Regexp.last_match(1) is used in another method - accepts String#match method call in method with $MATCH before if - accepts String#match method call in method with $' in block - corrects String#match method call in module, `$2` is in method - accepts String#match method call in a class method with Regexp.last_match - accepts String#match method call in method with $~ + corrects String#match method call in elsif condition + corrects String#match method call in if guard condition with $100 is used in another method registers an offense for String#match method call in method, `$100` is in other method - accepts String#match method call in method with $100 before if - accepts String#match method call in method with $` before unless - registers an offense for String#match method call in if guard condition with $& is used in another method - registers an offense for String#match method call in if condition - corrects String#match method call in method definition - accepts String#match method call in guard condition with $' is used in the line after that - corrects String#match method call in class, `Regexp.last_match` is in method - registers an offense for String#match method call in class method, `$MATCH` is in other method - accepts String#match method call in method with $& before unless - registers an offense for String#match method call in module, `$2` is in method - registers an offense for String#match method call in if guard condition with $MATCH is used in another method - registers an offense for String#match method call, $~ reference is overrided - accepts String#match method call in method with Regexp.last_match before unless - corrects String#match method call, $2 reference is overrided - accepts String#match method call in method with $2 before if + corrects String#match method call, $~ reference is overrided + accepts String#match method call in method with $1 before if + accepts String#match method call in method with $' in block + corrects String#match method call in class method, `$&` is in other method + registers an offense for String#match method call in method, `$~` is in other method + accepts String#match method call in method with $100 in block + corrects String#match method call in class method, `$100` is in other method + accepts String#match method call in method with $& in block registers an offense for String#match method call in if guard condition with $2 is used in another method - registers an offense for String#match method call in class, `$`` is in method - registers an offense for String#match method call in class, `$1` is in method registers an offense for String#match method call in method, `$1` is in other method - corrects String#match method call in method before `$&` - corrects String#match method call in module, `$100` is in method - registers an offense for String#match method call, $` reference is overrided - corrects String#match method call in class method, `$`` is in other method - registers an offense for String#match method call in class, `Regexp.last_match` is in method + corrects String#match method call in module, `Regexp.last_match(1)` is in method accepts String#match method call in guard condition with $100 is used in the line after that + registers an offense for String#match method call in class, `$1` is in method corrects String#match method call in unless condition - accepts String#match method call in method with $` in block - corrects String#match method call in method, `$MATCH` is in other method - accepts String#match method call in guard condition with $1 is used in the line after that - registers an offense for String#match method call in class method, `$1` is in other method - accepts String#match method call in method with $1 - corrects String#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for String#match method call in unless condition - accepts String#match method call in guard condition with Regexp.last_match(1) is used in the line after that - corrects String#match method call in module, `$'` is in method - registers an offense for String#match method call in class, `$&` is in method + accepts String#match method call in a class method with $' + corrects String#match method call in method, `$`` is in other method + registers an offense for String#match method call in if guard condition with $& is used in another method + corrects String#match method call in method before `Regexp.last_match(1)` + accepts String#match method call in a class method with $~ + accepts String#match method call in method with $' before if + corrects String#match method call in class, `Regexp.last_match` is in method registers an offense for String#match method call in module, `$'` is in method - registers an offense for String#match method call in method, `$&` is in other method - accepts String#match method call in method with Regexp.last_match - corrects String#match method call in method, `$&` is in other method - accepts String#match method call in a class method with $100 - accepts String#match method call in method with $MATCH in block - accepts String#match method call in method with Regexp.last_match in block - accepts String#match method call in method with $2 - corrects String#match method call in if guard condition with $~ is used in another method - corrects String#match method call in module, `$`` is in method corrects String#match method call in if guard condition with $1 is used in another method - registers an offense for String#match method call in elsif condition - corrects String#match method call in case condition - registers an offense for String#match method call in class method, `$~` is in other method - registers an offense for String#match method call in if condition - registers an offense for String#match method call in class method, `$`` is in other method - corrects String#match method call in method before `Regexp.last_match` - corrects String#match method call in class method, `$&` is in other method - corrects String#match method call in class, `$~` is in method - registers an offense for String#match method call in method before `$2` - registers an offense for String#match method call in module, `$100` is in method - registers an offense for String#match method call in method, `Regexp.last_match` is in other method - registers an offense for String#match method call in class, `$100` is in method - accepts String#match method call in method with $100 - registers an offense for String#match method call, Regexp.last_match(1) reference is overrided - registers an offense for String#match method call, $2 reference is overrided - corrects String#match method call in unless condition - registers an offense for String#match method call, $& reference is overrided - corrects String#match method call in if guard condition with $' is used in another method - corrects String#match method call in module, `$MATCH` is in method - corrects String#match method call in module, `$&` is in method - accepts String#match method call in method with $` - corrects String#match method call in class, `$`` is in method registers an offense for String#match method call in method before `$MATCH` - registers an offense for String#match method call in class, `Regexp.last_match(1)` is in method - corrects String#match method call in class method, `$~` is in other method - registers an offense for String#match method call in method before `$&` - registers an offense for String#match method call in case condition - corrects String#match method call in if guard condition with $100 is used in another method accepts String#match method call in guard condition with $` is used in the line after that - accepts String#match method call in a class method with Regexp.last_match(1) - corrects String#match method call in class, `$'` is in method - corrects String#match method call in if condition - corrects String#match method call in if guard condition with $MATCH is used in another method + registers an offense for String#match method call, $~ reference is overrided + registers an offense for String#match method call in module, `Regexp.last_match` is in method + corrects String#match method call, $100 reference is overrided + accepts String#match method call in method with Regexp.last_match(1) before unless + accepts String#match method call in method with $& before unless + registers an offense for String#match method call, Regexp.last_match(1) reference is overrided + corrects String#match method call in unless condition + accepts String#match method call in guard condition with Regexp.last_match(1) is used in the line after that + accepts String#match method call in method with $MATCH before unless + accepts String#match method call in method with $100 + registers an offense for String#match method call in method before `$100` + corrects String#match method call in method, `Regexp.last_match` is in other method corrects String#match method call in module, `Regexp.last_match` is in method - registers an offense for String#match method call in if guard condition with $1 is used in another method - registers an offense for String#match method call in method before `Regexp.last_match(1)` - accepts String#match method call in a class method with $2 - accepts String#match method call in a class method with $` - corrects String#match method call in class method, `$100` is in other method - registers an offense for String#match method call in method before `$`` - corrects String#match method call in method, `$100` is in other method - corrects String#match method call, $MATCH reference is overrided - corrects String#match method call in class, `$&` is in method + registers an offense for String#match method call in class method, `$1` is in other method + registers an offense for String#match method call, $` reference is overrided + corrects String#match method call in if condition + registers an offense for String#match method call in if guard condition with $100 is used in another method + corrects String#match method call in method, `$MATCH` is in other method + corrects String#match method call in module, `$2` is in method corrects String#match method call in if guard condition with $` is used in another method - registers an offense for String#match method call in class method, `Regexp.last_match(1)` is in other method - accepts String#match method call in method with $1 before unless - registers an offense for String#match method call, Regexp.last_match reference is overrided - registers an offense for String#match method call in module, `Regexp.last_match(1)` is in method - registers an offense for String#match method call, $' reference is overrided - corrects String#match method call in module, `$1` is in method - corrects String#match method call, $~ reference is overrided - corrects String#match method call in class, `$MATCH` is in method - corrects String#match method call in method, `$'` is in other method - registers an offense for String#match method call in class, `$'` is in method - registers an offense for String#match method call in method definition + accepts String#match method call in method with $~ before if + registers an offense for String#match method call in if condition + corrects String#match method call in if guard condition with $2 is used in another method + registers an offense for String#match method call in module, `$&` is in method registers an offense for String#match method call in method before `$1` + registers an offense for String#match method call in ternary operator + corrects String#match method call in method, `$&` is in other method + registers an offense for String#match method call in method, `$'` is in other method + accepts String#match method call in guard condition with $MATCH is used in the line after that + corrects String#match method call in if guard condition with $& is used in another method + accepts String#match method call in method with $~ + accepts String#match method call in method with $' + corrects String#match method call in module, `$MATCH` is in method + registers an offense for String#match method call in if guard condition with $~ is used in another method + corrects String#match method call in class method, `$MATCH` is in other method + registers an offense for String#match method call in method before `$2` + registers an offense for String#match method call in class method, `Regexp.last_match` is in other method registers an offense for String#match method call, $MATCH reference is overrided - accepts String#match method call in method with $~ before unless - accepts String#match method call in method with $1 in block - accepts String#match method call in method with $MATCH - corrects String#match method call in elsif condition + accepts String#match method call in method with $& before if + corrects String#match method call, $2 reference is overrided + registers an offense for String#match method call in class method, `$2` is in other method + corrects String#match method call in module, `$~` is in method + accepts String#match method call in method with Regexp.last_match before unless + corrects String#match method call in class, `$100` is in method + corrects String#match method call in case condition + corrects String#match method call in method before `$1` + registers an offense for String#match method call in method, `$2` is in other method corrects String#match method call in method before `$2` - registers an offense for String#match method call in method, `$`` is in other method + registers an offense for String#match method call in method before `$'` corrects String#match method call in method, `$1` is in other method - corrects String#match method call in class method, `$MATCH` is in other method - corrects String#match method call in method, `Regexp.last_match` is in other method - accepts String#match method call in method with Regexp.last_match(1) in block - corrects String#match method call in method before `$`` - corrects String#match method call, $1 reference is overrided - registers an offense for String#match method call in class method, `$100` is in other method - registers an offense for String#match method call in method, `$2` is in other method - corrects String#match method call in method before `Regexp.last_match(1)` - accepts String#match method call in guard condition with $MATCH is used in the line after that - corrects String#match method call, $100 reference is overrided - registers an offense for String#match method call in class method, `$&` is in other method - corrects String#match method call, Regexp.last_match(1) reference is overrided + registers an offense for String#match method call in class method, `$'` is in other method + accepts String#match method call in method with Regexp.last_match(1) + registers an offense for String#match method call in elsif condition + accepts String#match method call in method with $2 + accepts String#match method call in method with $~ before unless + accepts String#match method call in guard condition with $2 is used in the line after that registers an offense for String#match method call in module, `$1` is in method - registers an offense for String#match method call in module, `Regexp.last_match` is in method + registers an offense for String#match method call, $100 reference is overrided + registers an offense for String#match method call, $& reference is overrided + corrects String#match method call in method definition + accepts String#match method call in method with $100 before if + accepts String#match method call in guard condition with Regexp.last_match is used in the line after that + corrects String#match method call in class method, `$'` is in other method + accepts String#match method call in guard condition with $~ is used in the line after that + accepts String#match method call in a class method with Regexp.last_match(1) + corrects String#match method call, Regexp.last_match(1) reference is overrided + accepts String#match method call in guard condition with $' is used in the line after that + accepts String#match method call in method with $~ in block + corrects String#match method call, Regexp.last_match reference is overrided + registers an offense for String#match method call in method before `$~` + registers an offense for String#match method call in if condition + registers an offense for String#match method call in module, `$2` is in method registers an offense for String#match method call in module, `$~` is in method - accepts String#match method call in a class method with $MATCH - corrects String#match method call in method before `$1` - registers an offense for String#match method call in method before `$100` + registers an offense for String#match method call in class, `$&` is in method + registers an offense for String#match method call in method before `$&` accepts String#match method call in guard condition with $& is used in the line after that - accepts String#match method call in method with $1 before if - registers an offense for String#match method call in ternary operator - registers an offense for String#match method call in if guard condition with $` is used in another method - corrects String#match method call in if guard condition with Regexp.last_match(1) is used in another method + corrects String#match method call in module, `$'` is in method + corrects String#match method call in method before `$`` + registers an offense for String#match method call in class, `$~` is in method + accepts String#match method call in a class method with Regexp.last_match + registers an offense for String#match method call in if guard condition with $1 is used in another method + registers an offense for String#match method call, $2 reference is overrided + accepts String#match method call in a class method with $& accepts String#match method call in method with Regexp.last_match(1) before if - registers an offense for String#match method call in if guard condition with $100 is used in another method - accepts String#match method call in method with $100 in block - accepts String#match method call in method with $` before if - corrects String#match method call in class, `$100` is in method - registers an offense for String#match method call in method before `$'` + corrects String#match method call in method before `$~` + corrects String#match method call in class method, `$~` is in other method + accepts String#match method call in method with $` + corrects String#match method call in method, `$100` is in other method + registers an offense for String#match method call in method before `$`` + registers an offense for String#match method call in if guard condition with Regexp.last_match(1) is used in another method + accepts String#match method call in a class method with $100 + corrects String#match method call, $& reference is overrided + accepts String#match method call in method with Regexp.last_match + accepts String#match method call in method with $1 + registers an offense for String#match method call in method before `Regexp.last_match` + registers an offense for String#match method call in case condition + corrects String#match method call in method before `Regexp.last_match` + registers an offense for String#match method call in method, `$&` is in other method + accepts String#match method call in method with $& + corrects String#match method call in if guard condition with $MATCH is used in another method + registers an offense for String#match method call in class method, `$100` is in other method + corrects String#match method call in class method, `Regexp.last_match` is in other method + accepts String#match method call in method with $1 in block + corrects String#match method call in class, `$~` is in method + corrects String#match method call, $' reference is overrided + corrects String#match method call, $MATCH reference is overrided + corrects String#match method call in method, `Regexp.last_match(1)` is in other method + corrects String#match method call in if guard condition with Regexp.last_match(1) is used in another method + corrects String#match method call in method, `$'` is in other method + registers an offense for String#match method call in class, `$MATCH` is in method + registers an offense for String#match method call in class method, `$MATCH` is in other method + accepts String#match method call in method with $MATCH + accepts String#match method call in method with $2 before if + accepts String#match method call in method with $1 before unless + registers an offense for String#match method call in class, `Regexp.last_match(1)` is in method + registers an offense for String#match method call in method, `$`` is in other method + accepts String#match method call in a class method with $2 + corrects String#match method call in class method, `$1` is in other method + registers an offense for String#match method call, $' reference is overrided + registers an offense for String#match method call in class, `Regexp.last_match` is in method + corrects String#match method call in module, `$100` is in method + corrects String#match method call in module, `$&` is in method + accepts String#match method call in method with $2 before unless + corrects String#match method call in class, `$'` is in method + registers an offense for String#match method call in class method, `$&` is in other method + corrects String#match method call in method before `$'` + accepts String#match method call in guard condition with $1 is used in the line after that + corrects String#match method call in method before `$100` + corrects String#match method call in class, `$&` is in method + accepts String#match method call in method with $MATCH before if + corrects String#match method call in if guard condition with $' is used in another method + corrects String#match method call in module, `$`` is in method + accepts String#match method call in method with $2 in block + corrects String#match method call in class method, `$2` is in other method + accepts String#match method call in a class method with $MATCH + accepts String#match method call in method with $` in block + registers an offense for String#match method call in method definition + registers an offense for String#match method call in method, `Regexp.last_match` is in other method corrects String#match method call in if guard condition with Regexp.last_match is used in another method + registers an offense for String#match method call in if guard condition with $` is used in another method + accepts String#match method call in method with $` before unless + corrects String#match method call in if condition + registers an offense for String#match method call in module, `$MATCH` is in method + accepts String#match method call in method with Regexp.last_match in block + corrects String#match method call in if guard condition with $~ is used in another method + registers an offense for String#match method call in unless condition + corrects String#match method call in method before `$MATCH` accepts String#match method call in a class method with $1 + corrects String#match method call, $` reference is overrided + registers an offense for String#match method call in class method, `$`` is in other method + corrects String#match method call in method before `$&` + corrects String#match method call in module, `$1` is in method + registers an offense for String#match method call in method, `Regexp.last_match(1)` is in other method + registers an offense for String#match method call in module, `$100` is in method + registers an offense for String#match method call in class method, `$~` is in other method + corrects String#match method call in method, `$~` is in other method corrects String#match method call in class method, `Regexp.last_match(1)` is in other method - accepts String#match method call in method with $& in block - corrects String#match method call in if guard condition with $2 is used in another method - accepts String#match method call in method with Regexp.last_match(1) - registers an offense for String#match method call in method, `$~` is in other method - registers an offense for String#match method call in method, `$'` is in other method - registers an offense for String#match method call in if guard condition with $' is used in another method + registers an offense for String#match method call in if guard condition with Regexp.last_match is used in another method + corrects String#match method call in class, `$MATCH` is in method + corrects String#match method call in class, `Regexp.last_match(1)` is in method + registers an offense for String#match method call, Regexp.last_match reference is overrided + accepts String#match method call in method with $' before unless + corrects String#match method call in ternary operator + accepts String#match method call in method with $MATCH in block + registers an offense for String#match method call, $1 reference is overrided + registers an offense for String#match method call in class, `$'` is in method registers an offense for String#match method call in class, `$2` is in method - corrects String#match method call in class method, `$1` is in other method - accepts String#match method call in guard condition with $2 is used in the line after that - corrects String#match method call in method before `$'` - accepts String#match method call in method with $~ in block - accepts String#match method call in method with $' - registers an offense for String#match method call, $100 reference is overrided - corrects String#match method call, $' reference is overrided - registers an offense for String#match method call in module, `$&` is in method - accepts String#match method call in method with Regexp.last_match(1) before unless - corrects String#match method call in module, `$~` is in method - accepts String#match method call in method with $MATCH before unless - registers an offense for String#match method call in class method, `Regexp.last_match` is in other method - registers an offense for String#match method call in class, `$MATCH` is in method - accepts String#match method call in guard condition with $~ is used in the line after that - accepts String#match method call in method with $' before if - corrects String#match method call, $& reference is overrided - corrects String#match method call in method, `$2` is in other method - corrects String#match method call in method, `$`` is in other method - registers an offense for String#match method call in method, `$MATCH` is in other method - corrects String#match method call in class method, `$2` is in other method - accepts String#match method call in method with $& before if - registers an offense for String#match method call in class method, `$2` is in other method - corrects String#match method call in if guard condition with $& is used in another method - corrects String#match method call in method before `$100` + registers an offense for String#match method call in class, `$`` is in method + accepts String#match method call in method with $100 before unless + accepts String#match method call in a class method with $` registers an offense for String#match method call in module, `$`` is in method - corrects String#match method call in method before `$~` registers an offense for String#match method call in unless condition - accepts String#match method call in a class method with $' - accepts String#match method call in method with $~ before if - behaves like all legacy match methods - accepts match method call for a variable in method with $' before if - registers an offense for match method call for a variable, $` reference is overrided - registers an offense for match method call for a variable in module, `$'` is in method - accepts match method call for a variable in method with Regexp.last_match before unless - accepts match method call for a variable in guard condition with Regexp.last_match is used in the line after that - accepts match method call for a variable in guard condition with $100 is used in the line after that - registers an offense for match method call for a variable in ternary operator - registers an offense for match method call for a variable in if condition - accepts match method call for a variable in a class method with $` - accepts match method call for a variable in a class method with Regexp.last_match - corrects match method call for a variable in class method, `Regexp.last_match(1)` is in other method - accepts match method call for a variable in guard condition with $1 is used in the line after that - corrects match method call for a variable in method before `$~` - corrects match method call for a variable, $` reference is overrided - accepts match method call for a variable in method with $1 in block - corrects match method call for a variable in method, `Regexp.last_match` is in other method - corrects match method call for a variable in class, `$`` is in method - registers an offense for match method call for a variable in method before `$MATCH` - corrects match method call for a variable in if guard condition with Regexp.last_match is used in another method - registers an offense for match method call for a variable in if guard condition with $& is used in another method - registers an offense for match method call for a variable in if guard condition with $~ is used in another method - corrects match method call for a variable in class method, `$'` is in other method - corrects match method call for a variable in class method, `$&` is in other method - accepts match method call for a variable in a class method with $MATCH - corrects match method call for a variable in if guard condition with $' is used in another method - accepts match method call for a variable in method with $MATCH before unless - corrects match method call for a variable in if guard condition with Regexp.last_match(1) is used in another method - corrects match method call for a variable in method before `$MATCH` - accepts match method call for a variable in method with $2 - accepts match method call for a variable in method with $2 before unless - accepts match method call for a variable in method with $MATCH before if - corrects match method call for a variable, $1 reference is overrided - accepts match method call for a variable in method with $100 before if - registers an offense for match method call for a variable, $2 reference is overrided - accepts match method call for a variable in method with $MATCH in block - corrects match method call for a variable in method before `$`` - corrects match method call for a variable in method, `$100` is in other method - accepts match method call for a variable in a class method with $1 - accepts match method call for a variable in a class method with $2 - registers an offense for match method call for a variable in method, `$MATCH` is in other method - registers an offense for match method call for a variable in module, `Regexp.last_match` is in method - accepts match method call for a variable in method with $100 in block - corrects match method call for a variable in module, `$100` is in method - registers an offense for match method call for a variable in unless condition - registers an offense for match method call for a variable in method before `$`` - accepts match method call for a variable in guard condition with $2 is used in the line after that - registers an offense for match method call for a variable in method, `$`` is in other method - corrects match method call for a variable in elsif condition - corrects match method call for a variable in method, `$1` is in other method - registers an offense for match method call for a variable in method definition - registers an offense for match method call for a variable in module, `$~` is in method - registers an offense for match method call for a variable in class, `$100` is in method - corrects match method call for a variable in method before `$100` - corrects match method call for a variable in class, `$2` is in method - corrects match method call for a variable in class method, `$100` is in other method - registers an offense for match method call for a variable in class method, `$&` is in other method - registers an offense for match method call for a variable in module, `$`` is in method - accepts match method call for a variable in method with $` - registers an offense for match method call for a variable in class method, `Regexp.last_match(1)` is in other method - registers an offense for match method call for a variable in method, `$'` is in other method - registers an offense for match method call for a variable in if guard condition with $100 is used in another method - registers an offense for match method call for a variable in class method, `$'` is in other method - corrects match method call for a variable in unless condition - accepts match method call for a variable in guard condition with $` is used in the line after that - corrects match method call for a variable in method before `Regexp.last_match(1)` - accepts match method call for a variable in method with $1 before unless - accepts match method call for a variable in guard condition with $' is used in the line after that - corrects match method call for a variable in class, `$~` is in method - registers an offense for match method call for a variable in module, `$MATCH` is in method - registers an offense for match method call for a variable in method before `Regexp.last_match(1)` - registers an offense for match method call for a variable in method before `$&` - accepts match method call for a variable in method with $2 in block - accepts match method call for a variable in method with Regexp.last_match(1) - corrects match method call for a variable in method, `$MATCH` is in other method - accepts match method call for a variable in a class method with $' - corrects match method call for a variable in ternary operator - corrects match method call for a variable in class, `$MATCH` is in method - corrects match method call for a variable in case condition - corrects match method call for a variable in class method, `$1` is in other method - registers an offense for match method call for a variable, $' reference is overrided - corrects match method call for a variable, $~ reference is overrided - accepts match method call for a variable in method with $& before unless - accepts match method call for a variable in method with $` before if - accepts match method call for a variable in a class method with $& - registers an offense for match method call for a variable in class, `$&` is in method - accepts match method call for a variable in method with $` in block - registers an offense for match method call for a variable in method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable in class, `$1` is in method - corrects match method call for a variable in method before `Regexp.last_match` - accepts match method call for a variable in method with $& in block - registers an offense for match method call for a variable in method before `$'` - corrects match method call for a variable in if condition - corrects match method call for a variable in module, `Regexp.last_match` is in method - registers an offense for match method call for a variable, $100 reference is overrided - registers an offense for match method call for a variable in module, `Regexp.last_match(1)` is in method - corrects match method call for a variable in class method, `Regexp.last_match` is in other method - corrects match method call for a variable in method, `$2` is in other method - corrects match method call for a variable in if guard condition with $1 is used in another method - corrects match method call for a variable in unless condition - accepts match method call for a variable in method with $~ before if - corrects match method call for a variable in method, `$'` is in other method - registers an offense for match method call for a variable in if guard condition with $' is used in another method - corrects match method call for a variable in if guard condition with $MATCH is used in another method - accepts match method call for a variable in method with $100 - corrects match method call for a variable in class, `$&` is in method - accepts match method call for a variable in method with Regexp.last_match(1) in block - corrects match method call for a variable, $& reference is overrided - registers an offense for match method call for a variable in if guard condition with Regexp.last_match is used in another method - registers an offense for match method call for a variable in class method, `$2` is in other method - registers an offense for match method call for a variable in class, `$~` is in method - registers an offense for match method call for a variable in class, `Regexp.last_match` is in method - corrects match method call for a variable in module, `$MATCH` is in method - corrects match method call for a variable, Regexp.last_match reference is overrided - registers an offense for match method call for a variable in method, `$1` is in other method - corrects match method call for a variable, $100 reference is overrided - corrects match method call for a variable in method before `$1` - accepts match method call for a variable in method with Regexp.last_match before if - corrects match method call for a variable in module, `$1` is in method - corrects match method call for a variable, $2 reference is overrided - corrects match method call for a variable in method before `$&` - corrects match method call for a variable in class method, `$`` is in other method - registers an offense for match method call for a variable in class method, `$100` is in other method - registers an offense for match method call for a variable in module, `$2` is in method - registers an offense for match method call for a variable in class, `$MATCH` is in method - accepts match method call for a variable in guard condition with $~ is used in the line after that - corrects match method call for a variable in class, `Regexp.last_match` is in method - corrects match method call for a variable in module, `Regexp.last_match(1)` is in method - corrects match method call for a variable in class method, `$~` is in other method - registers an offense for match method call for a variable in class, `$`` is in method - registers an offense for match method call for a variable in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for match method call for a variable in class method, `$~` is in other method - registers an offense for match method call for a variable in if guard condition with $` is used in another method - corrects match method call for a variable in if guard condition with $100 is used in another method - registers an offense for match method call for a variable in if guard condition with $MATCH is used in another method - registers an offense for match method call for a variable in module, `$1` is in method - registers an offense for match method call for a variable in if guard condition with $1 is used in another method - accepts match method call for a variable in method with Regexp.last_match(1) before unless - registers an offense for match method call for a variable in method, `$&` is in other method - registers an offense for match method call for a variable in module, `$&` is in method - accepts match method call for a variable in method with Regexp.last_match - corrects match method call for a variable in if guard condition with $~ is used in another method - corrects match method call for a variable in method, `$~` is in other method - registers an offense for match method call for a variable in class method, `$MATCH` is in other method - registers an offense for match method call for a variable in class method, `$`` is in other method - accepts match method call for a variable in guard condition with $MATCH is used in the line after that - accepts match method call for a variable in a class method with $~ - corrects match method call for a variable in module, `$`` is in method - registers an offense for match method call for a variable in module, `$100` is in method - accepts match method call for a variable in method with $~ in block - registers an offense for match method call for a variable in method before `Regexp.last_match` - corrects match method call for a variable in method before `$'` - registers an offense for match method call for a variable in method before `$1` - registers an offense for match method call for a variable in if condition - registers an offense for match method call for a variable in elsif condition - accepts match method call for a variable in method with $& before if - accepts match method call for a variable in guard condition with Regexp.last_match(1) is used in the line after that - accepts match method call for a variable in method with $' before unless - corrects match method call for a variable in if guard condition with $2 is used in another method - registers an offense for match method call for a variable in class method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable in method, `Regexp.last_match(1)` is in other method - corrects match method call for a variable in method, `$&` is in other method - corrects match method call for a variable in method before `$2` - corrects match method call for a variable, $MATCH reference is overrided - accepts match method call for a variable in method with $2 before if - corrects match method call for a variable in method, `Regexp.last_match(1)` is in other method - corrects match method call for a variable, $' reference is overrided - corrects match method call for a variable in module, `$~` is in method - accepts match method call for a variable in method with $' - registers an offense for match method call for a variable in class, `$2` is in method - corrects match method call for a variable in class, `$100` is in method - corrects match method call for a variable in if condition - registers an offense for match method call for a variable, $~ reference is overrided - registers an offense for match method call for a variable, Regexp.last_match(1) reference is overrided - accepts match method call for a variable in method with $1 - corrects match method call for a variable in if guard condition with $` is used in another method - registers an offense for match method call for a variable in method, `$~` is in other method - corrects match method call for a variable in module, `$'` is in method - registers an offense for match method call for a variable, $1 reference is overrided - registers an offense for match method call for a variable in method, `$2` is in other method - accepts match method call for a variable in guard condition with $& is used in the line after that - registers an offense for match method call for a variable in method before `$~` - corrects match method call for a variable in class, `Regexp.last_match(1)` is in method - accepts match method call for a variable in method with $~ before unless - accepts match method call for a variable in method with $~ - corrects match method call for a variable in module, `$2` is in method - corrects match method call for a variable in method, `$`` is in other method - registers an offense for match method call for a variable in class method, `$1` is in other method - registers an offense for match method call for a variable, $MATCH reference is overrided - corrects match method call for a variable in if guard condition with $& is used in another method - corrects match method call for a variable in module, `$&` is in method - registers an offense for match method call for a variable in method before `$100` - accepts match method call for a variable in method with $1 before if - corrects match method call for a variable in class, `$1` is in method - accepts match method call for a variable in method with $MATCH - registers an offense for match method call for a variable in class, `$'` is in method - registers an offense for match method call for a variable, $& reference is overrided - registers an offense for match method call for a variable in method, `$100` is in other method - accepts match method call for a variable in method with $& - corrects match method call for a variable in class method, `$2` is in other method - corrects match method call for a variable in class method, `$MATCH` is in other method - registers an offense for match method call for a variable in case condition - accepts match method call for a variable in method with $' in block - registers an offense for match method call for a variable in class, `Regexp.last_match(1)` is in method - registers an offense for match method call for a variable in method before `$2` - registers an offense for match method call for a variable, Regexp.last_match reference is overrided - accepts match method call for a variable in method with $100 before unless - accepts match method call for a variable in a class method with Regexp.last_match(1) - corrects match method call for a variable in method definition - accepts match method call for a variable in method with Regexp.last_match(1) before if - accepts match method call for a variable in a class method with $100 - accepts match method call for a variable in method with $` before unless - registers an offense for match method call for a variable in if guard condition with $2 is used in another method - registers an offense for match method call for a variable in unless condition - corrects match method call for a variable, Regexp.last_match(1) reference is overrided - accepts match method call for a variable in method with Regexp.last_match in block - corrects match method call for a variable in class, `$'` is in method + corrects String#match method call in class, `$`` is in method + accepts String#match method call in method with $` before if + corrects String#match method call in class, `$2` is in method + registers an offense for String#match method call in if guard condition with $MATCH is used in another method + accepts String#match method call in method with Regexp.last_match(1) in block + registers an offense for String#match method call in module, `Regexp.last_match(1)` is in method + registers an offense for String#match method call in class, `$100` is in method + corrects String#match method call in method, `$2` is in other method + corrects String#match method call, $1 reference is overrided + registers an offense for String#match method call in method before `Regexp.last_match(1)` + registers an offense for String#match method call in if guard condition with $' is used in another method + corrects String#match method call in class method, `$`` is in other method + registers an offense for String#match method call in class method, `Regexp.last_match(1)` is in other method behaves like all legacy match methods - accepts Regexp#match method call in a class method with $100 - registers an offense for Regexp#match method call in method before `$&` - registers an offense for Regexp#match method call in method, `$100` is in other method - registers an offense for Regexp#match method call in method before `$`` - registers an offense for Regexp#match method call, $2 reference is overrided + corrects Regexp#match method call in class method, `$&` is in other method + registers an offense for Regexp#match method call in class, `Regexp.last_match` is in method accepts Regexp#match method call in a class method with $` - accepts Regexp#match method call in method with Regexp.last_match(1) before if - corrects Regexp#match method call in class method, `$2` is in other method - registers an offense for Regexp#match method call in method definition - accepts Regexp#match method call in a class method with $& - corrects Regexp#match method call in method, `$`` is in other method - accepts Regexp#match method call in method with $& before if - corrects Regexp#match method call in module, `$2` is in method - accepts Regexp#match method call in method with $~ in block - corrects Regexp#match method call in method, `$1` is in other method - registers an offense for Regexp#match method call in module, `$1` is in method - accepts Regexp#match method call in method with $MATCH before unless - corrects Regexp#match method call in module, `$&` is in method - corrects Regexp#match method call, $' reference is overrided - registers an offense for Regexp#match method call in class, `$`` is in method - corrects Regexp#match method call in class method, `$~` is in other method - registers an offense for Regexp#match method call in case condition - registers an offense for Regexp#match method call in method before `$'` - corrects Regexp#match method call in if guard condition with $~ is used in another method + registers an offense for Regexp#match method call in if guard condition with $2 is used in another method + registers an offense for Regexp#match method call in class method, `$&` is in other method + accepts Regexp#match method call in guard condition with $100 is used in the line after that corrects Regexp#match method call in class, `$~` is in method - registers an offense for Regexp#match method call in module, `Regexp.last_match(1)` is in method - corrects Regexp#match method call in if guard condition with $100 is used in another method - corrects Regexp#match method call in if guard condition with $& is used in another method - corrects Regexp#match method call in module, `$~` is in method - registers an offense for Regexp#match method call in class method, `$'` is in other method - corrects Regexp#match method call in module, `$'` is in method - accepts Regexp#match method call in guard condition with $MATCH is used in the line after that - registers an offense for Regexp#match method call in method before `Regexp.last_match(1)` - corrects Regexp#match method call in ternary operator - corrects Regexp#match method call in class method, `$`` is in other method - accepts Regexp#match method call in a class method with $MATCH + corrects Regexp#match method call in method, `Regexp.last_match(1)` is in other method accepts Regexp#match method call in guard condition with $~ is used in the line after that - registers an offense for Regexp#match method call in method, `$~` is in other method - registers an offense for Regexp#match method call in method before `Regexp.last_match` - registers an offense for Regexp#match method call in class, `$MATCH` is in method - registers an offense for Regexp#match method call in method before `$2` - registers an offense for Regexp#match method call in method, `Regexp.last_match` is in other method - accepts Regexp#match method call in method with Regexp.last_match - registers an offense for Regexp#match method call, Regexp.last_match reference is overrided + registers an offense for Regexp#match method call in method before `$100` + registers an offense for Regexp#match method call in if guard condition with $~ is used in another method + registers an offense for Regexp#match method call, $& reference is overrided + corrects Regexp#match method call, $1 reference is overrided registers an offense for Regexp#match method call in unless condition - accepts Regexp#match method call in method with $~ before unless - registers an offense for Regexp#match method call, $' reference is overrided - corrects Regexp#match method call in unless condition - registers an offense for Regexp#match method call in if guard condition with $1 is used in another method - corrects Regexp#match method call in method, `Regexp.last_match(1)` is in other method - corrects Regexp#match method call, Regexp.last_match(1) reference is overrided - registers an offense for Regexp#match method call in if guard condition with $& is used in another method - registers an offense for Regexp#match method call in class, `$100` is in method - registers an offense for Regexp#match method call in module, `$MATCH` is in method - corrects Regexp#match method call in method before `Regexp.last_match(1)` + corrects Regexp#match method call in module, `$~` is in method + corrects Regexp#match method call in method, `$1` is in other method + corrects Regexp#match method call in method before `$1` + registers an offense for Regexp#match method call, $1 reference is overrided + accepts Regexp#match method call in method with $100 before unless corrects Regexp#match method call in method, `$~` is in other method - corrects Regexp#match method call in method, `Regexp.last_match` is in other method - accepts Regexp#match method call in method with $& before unless - corrects Regexp#match method call in method before `Regexp.last_match` - registers an offense for Regexp#match method call in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for Regexp#match method call in class method, `$&` is in other method - registers an offense for Regexp#match method call in method, `Regexp.last_match(1)` is in other method - accepts Regexp#match method call in method with $100 before if - accepts Regexp#match method call in guard condition with $` is used in the line after that - registers an offense for Regexp#match method call in if guard condition with $2 is used in another method - corrects Regexp#match method call in if condition - corrects Regexp#match method call in if guard condition with $' is used in another method - corrects Regexp#match method call in class method, `$100` is in other method - corrects Regexp#match method call in case condition - registers an offense for Regexp#match method call in if guard condition with $~ is used in another method - registers an offense for Regexp#match method call in module, `$~` is in method - corrects Regexp#match method call in class method, `$'` is in other method - corrects Regexp#match method call in if guard condition with Regexp.last_match is used in another method - corrects Regexp#match method call in method before `$100` + accepts Regexp#match method call in method with $' in block + registers an offense for Regexp#match method call in class, `$`` is in method registers an offense for Regexp#match method call in method, `$&` is in other method - corrects Regexp#match method call in class method, `$MATCH` is in other method - corrects Regexp#match method call, $~ reference is overrided - accepts Regexp#match method call in method with Regexp.last_match before unless - corrects Regexp#match method call in unless condition + registers an offense for Regexp#match method call in if guard condition with $& is used in another method + registers an offense for Regexp#match method call in class, `Regexp.last_match(1)` is in method + accepts Regexp#match method call in a class method with $2 accepts Regexp#match method call in method with $` before unless - corrects Regexp#match method call in method, `$'` is in other method - corrects Regexp#match method call in class, `$MATCH` is in method - registers an offense for Regexp#match method call in method, `$`` is in other method - corrects Regexp#match method call in if guard condition with $2 is used in another method - corrects Regexp#match method call in module, `$MATCH` is in method - accepts Regexp#match method call in method with $100 before unless - registers an offense for Regexp#match method call in class method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call in method before `$1` - accepts Regexp#match method call in guard condition with $1 is used in the line after that + registers an offense for Regexp#match method call in method before `$MATCH` + accepts Regexp#match method call in method with $` + registers an offense for Regexp#match method call, $MATCH reference is overrided + accepts Regexp#match method call in method with $1 registers an offense for Regexp#match method call, $` reference is overrided - accepts Regexp#match method call in guard condition with $2 is used in the line after that - corrects Regexp#match method call in class, `Regexp.last_match(1)` is in method - accepts Regexp#match method call in method with $~ + accepts Regexp#match method call in method with $~ in block accepts Regexp#match method call in method with $MATCH in block - corrects Regexp#match method call in elsif condition - corrects Regexp#match method call in class method, `Regexp.last_match(1)` is in other method - accepts Regexp#match method call in a class method with $~ - accepts Regexp#match method call in guard condition with $' is used in the line after that - registers an offense for Regexp#match method call in method, `$1` is in other method - accepts Regexp#match method call in method with $& in block - corrects Regexp#match method call in method, `$100` is in other method - accepts Regexp#match method call in guard condition with $& is used in the line after that - corrects Regexp#match method call in method before `$'` - accepts Regexp#match method call in method with $1 before unless - registers an offense for Regexp#match method call in if guard condition with Regexp.last_match is used in another method + accepts Regexp#match method call in method with $& before if accepts Regexp#match method call in method with $' - corrects Regexp#match method call in class, `$`` is in method - corrects Regexp#match method call, $2 reference is overrided - accepts Regexp#match method call in method with $2 before if - accepts Regexp#match method call in method with $' before if + corrects Regexp#match method call in method, `$&` is in other method + accepts Regexp#match method call in method with $100 before if + registers an offense for Regexp#match method call in method before `Regexp.last_match` + registers an offense for Regexp#match method call in module, `$&` is in method + corrects Regexp#match method call, $100 reference is overrided + corrects Regexp#match method call in class, `$MATCH` is in method + registers an offense for Regexp#match method call in module, `Regexp.last_match` is in method + accepts Regexp#match method call in method with $` in block + accepts Regexp#match method call in method with $100 in block + accepts Regexp#match method call in method with $& before unless + registers an offense for Regexp#match method call, $' reference is overrided + accepts Regexp#match method call in method with $MATCH before unless accepts Regexp#match method call in method with $100 - registers an offense for Regexp#match method call, $& reference is overrided - corrects Regexp#match method call in class, `$100` is in method - corrects Regexp#match method call in method before `$1` - registers an offense for Regexp#match method call, Regexp.last_match(1) reference is overrided + registers an offense for Regexp#match method call in class, `$2` is in method + accepts Regexp#match method call in method with Regexp.last_match(1) before unless + registers an offense for Regexp#match method call in if guard condition with $100 is used in another method + corrects Regexp#match method call in method, `$2` is in other method + registers an offense for Regexp#match method call in class method, `$1` is in other method + corrects Regexp#match method call in method definition + accepts Regexp#match method call in method with $1 before unless + accepts Regexp#match method call in method with $2 + registers an offense for Regexp#match method call in module, `$~` is in method + registers an offense for Regexp#match method call in method, `$'` is in other method + registers an offense for Regexp#match method call in module, `$'` is in method + registers an offense for Regexp#match method call in method before `$&` + corrects Regexp#match method call in module, `$&` is in method + accepts Regexp#match method call in method with $~ before unless + registers an offense for Regexp#match method call in module, `$MATCH` is in method + corrects Regexp#match method call in module, `$100` is in method + accepts Regexp#match method call in method with $2 before unless + accepts Regexp#match method call in method with Regexp.last_match(1) before if + accepts Regexp#match method call in guard condition with $MATCH is used in the line after that + corrects Regexp#match method call in method before `$MATCH` + accepts Regexp#match method call in method with $2 before if + corrects Regexp#match method call in if guard condition with $` is used in another method + corrects Regexp#match method call in module, `Regexp.last_match` is in method + corrects Regexp#match method call in unless condition + accepts Regexp#match method call in a class method with $1 + registers an offense for Regexp#match method call in if guard condition with $' is used in another method + corrects Regexp#match method call in method before `$'` accepts Regexp#match method call in method with $` before if - registers an offense for Regexp#match method call in module, `$100` is in method - registers an offense for Regexp#match method call in ternary operator - registers an offense for Regexp#match method call in class, `Regexp.last_match(1)` is in method - accepts Regexp#match method call in method with $2 in block - corrects Regexp#match method call in method before `$~` - registers an offense for Regexp#match method call in class, `$1` is in method - registers an offense for Regexp#match method call in method before `$~` - accepts Regexp#match method call in guard condition with Regexp.last_match(1) is used in the line after that - accepts Regexp#match method call in method with $' in block + corrects Regexp#match method call in if condition + accepts Regexp#match method call in method with $1 in block + corrects Regexp#match method call in class method, `$`` is in other method + registers an offense for Regexp#match method call in method before `$2` accepts Regexp#match method call in a class method with $' + corrects Regexp#match method call in if guard condition with $MATCH is used in another method + registers an offense for Regexp#match method call in method before `$'` + accepts Regexp#match method call in method with $2 in block registers an offense for Regexp#match method call in if condition - corrects Regexp#match method call in module, `$100` is in method - corrects Regexp#match method call, $& reference is overrided - registers an offense for Regexp#match method call in class, `Regexp.last_match` is in method - registers an offense for Regexp#match method call in if guard condition with $MATCH is used in another method + accepts Regexp#match method call in a class method with $& + corrects Regexp#match method call in method, `$MATCH` is in other method + registers an offense for Regexp#match method call in module, `Regexp.last_match(1)` is in method + registers an offense for Regexp#match method call in if guard condition with Regexp.last_match(1) is used in another method + corrects Regexp#match method call in method before `$100` + corrects Regexp#match method call in if guard condition with $100 is used in another method + corrects Regexp#match method call in class, `$&` is in method + corrects Regexp#match method call in module, `$'` is in method + accepts Regexp#match method call in method with $MATCH corrects Regexp#match method call in class method, `Regexp.last_match` is in other method - registers an offense for Regexp#match method call in module, `$`` is in method corrects Regexp#match method call in module, `Regexp.last_match(1)` is in method - corrects Regexp#match method call in if guard condition with $` is used in another method - accepts Regexp#match method call in method with $` in block - accepts Regexp#match method call in a class method with $2 - accepts Regexp#match method call in method with Regexp.last_match(1) before unless - accepts Regexp#match method call in method with $100 in block - corrects Regexp#match method call in if guard condition with $1 is used in another method - registers an offense for Regexp#match method call in method, `$MATCH` is in other method - registers an offense for Regexp#match method call in if guard condition with $` is used in another method - corrects Regexp#match method call, $1 reference is overrided - registers an offense for Regexp#match method call in class, `$&` is in method - corrects Regexp#match method call in method before `$2` + accepts Regexp#match method call in method with $~ + registers an offense for Regexp#match method call in if guard condition with Regexp.last_match is used in another method + corrects Regexp#match method call in module, `$MATCH` is in method + corrects Regexp#match method call in module, `$`` is in method + corrects Regexp#match method call in class, `$'` is in method + registers an offense for Regexp#match method call in module, `$2` is in method + corrects Regexp#match method call in class method, `$100` is in other method + registers an offense for Regexp#match method call in class, `$1` is in method + registers an offense for Regexp#match method call, Regexp.last_match(1) reference is overrided + corrects Regexp#match method call in if guard condition with Regexp.last_match is used in another method + registers an offense for Regexp#match method call in class method, `$`` is in other method accepts Regexp#match method call in method with Regexp.last_match in block - accepts Regexp#match method call in method with $MATCH before if - registers an offense for Regexp#match method call in if condition - corrects Regexp#match method call, $` reference is overrided - corrects Regexp#match method call in class, `$1` is in method - registers an offense for Regexp#match method call in class method, `$100` is in other method - corrects Regexp#match method call in module, `Regexp.last_match` is in method - accepts Regexp#match method call in guard condition with $100 is used in the line after that - registers an offense for Regexp#match method call in method before `$MATCH` + corrects Regexp#match method call, Regexp.last_match reference is overrided + accepts Regexp#match method call in method with Regexp.last_match registers an offense for Regexp#match method call in class, `$~` is in method + corrects Regexp#match method call in class method, `$~` is in other method + registers an offense for Regexp#match method call in module, `$100` is in method + accepts Regexp#match method call in guard condition with Regexp.last_match is used in the line after that corrects Regexp#match method call in method before `$`` - corrects Regexp#match method call, Regexp.last_match reference is overrided - registers an offense for Regexp#match method call in if guard condition with $100 is used in another method - registers an offense for Regexp#match method call in class method, `$~` is in other method - registers an offense for Regexp#match method call in module, `Regexp.last_match` is in method - registers an offense for Regexp#match method call in module, `$2` is in method - registers an offense for Regexp#match method call in class method, `$MATCH` is in other method - registers an offense for Regexp#match method call in module, `$&` is in method - registers an offense for Regexp#match method call in class, `$'` is in method - corrects Regexp#match method call in class, `Regexp.last_match` is in method - registers an offense for Regexp#match method call in if guard condition with $' is used in another method - registers an offense for Regexp#match method call in class method, `$2` is in other method - accepts Regexp#match method call in method with Regexp.last_match(1) + registers an offense for Regexp#match method call in class method, `$'` is in other method + corrects Regexp#match method call in class, `$100` is in method + accepts Regexp#match method call in a class method with $100 + registers an offense for Regexp#match method call in method definition + corrects Regexp#match method call in if guard condition with $' is used in another method + registers an offense for Regexp#match method call in if guard condition with $MATCH is used in another method + registers an offense for Regexp#match method call in method, `Regexp.last_match` is in other method + registers an offense for Regexp#match method call in elsif condition + registers an offense for Regexp#match method call, Regexp.last_match reference is overrided + registers an offense for Regexp#match method call in class method, `$100` is in other method + registers an offense for Regexp#match method call in method before `$1` + corrects Regexp#match method call in unless condition registers an offense for Regexp#match method call, $~ reference is overrided - registers an offense for Regexp#match method call in module, `$'` is in method - corrects Regexp#match method call in module, `$`` is in method + registers an offense for Regexp#match method call in method, `Regexp.last_match(1)` is in other method + corrects Regexp#match method call in method, `$100` is in other method + accepts Regexp#match method call in method with Regexp.last_match before if + corrects Regexp#match method call in case condition + corrects Regexp#match method call in method before `$~` + accepts Regexp#match method call in a class method with $~ + accepts Regexp#match method call in method with $MATCH before if corrects Regexp#match method call in if condition - corrects Regexp#match method call in if guard condition with $MATCH is used in another method - corrects Regexp#match method call in method before `$&` - registers an offense for Regexp#match method call in method before `$100` + accepts Regexp#match method call in guard condition with $1 is used in the line after that + corrects Regexp#match method call in if guard condition with $~ is used in another method + accepts Regexp#match method call in method with $& accepts Regexp#match method call in method with $~ before if - corrects Regexp#match method call in class, `$'` is in method - corrects Regexp#match method call in class method, `$&` is in other method + accepts Regexp#match method call in method with $& in block + registers an offense for Regexp#match method call in case condition + registers an offense for Regexp#match method call in unless condition + registers an offense for Regexp#match method call, $2 reference is overrided + registers an offense for Regexp#match method call in if condition + corrects Regexp#match method call, $~ reference is overrided + registers an offense for Regexp#match method call in method before `Regexp.last_match(1)` + corrects Regexp#match method call in method before `$&` + registers an offense for Regexp#match method call in method, `$`` is in other method + registers an offense for Regexp#match method call in class method, `$MATCH` is in other method + corrects Regexp#match method call, $2 reference is overrided + corrects Regexp#match method call in class method, `$MATCH` is in other method + corrects Regexp#match method call, $MATCH reference is overrided + corrects Regexp#match method call in ternary operator + corrects Regexp#match method call in if guard condition with $1 is used in another method + registers an offense for Regexp#match method call in method, `$1` is in other method + registers an offense for Regexp#match method call in module, `$1` is in method + registers an offense for Regexp#match method call in method, `$~` is in other method + registers an offense for Regexp#match method call in class method, `Regexp.last_match` is in other method + corrects Regexp#match method call in module, `$1` is in method + corrects Regexp#match method call in method, `$`` is in other method + registers an offense for Regexp#match method call in class, `$&` is in method + corrects Regexp#match method call in method before `$2` + corrects Regexp#match method call in class method, `$'` is in other method + corrects Regexp#match method call in class method, `$1` is in other method + accepts Regexp#match method call in a class method with $MATCH + accepts Regexp#match method call in guard condition with $' is used in the line after that + corrects Regexp#match method call in module, `$2` is in method + corrects Regexp#match method call in if guard condition with $2 is used in another method + registers an offense for Regexp#match method call in module, `$`` is in method + corrects Regexp#match method call in elsif condition + accepts Regexp#match method call in method with Regexp.last_match(1) + corrects Regexp#match method call in class method, `$2` is in other method + accepts Regexp#match method call in a class method with Regexp.last_match(1) + corrects Regexp#match method call in method before `Regexp.last_match` + corrects Regexp#match method call, $' reference is overrided + corrects Regexp#match method call in method, `Regexp.last_match` is in other method + registers an offense for Regexp#match method call in if guard condition with $1 is used in another method + registers an offense for Regexp#match method call in class, `$100` is in method + accepts Regexp#match method call in method with $' before unless + accepts Regexp#match method call in guard condition with $& is used in the line after that + registers an offense for Regexp#match method call in class method, `Regexp.last_match(1)` is in other method + corrects Regexp#match method call in method, `$'` is in other method + registers an offense for Regexp#match method call in method, `$100` is in other method accepts Regexp#match method call in method with Regexp.last_match(1) in block - registers an offense for Regexp#match method call in method, `$2` is in other method - registers an offense for Regexp#match method call, $1 reference is overrided - accepts Regexp#match method call in method with Regexp.last_match before if + corrects Regexp#match method call, $& reference is overrided + corrects Regexp#match method call in class, `Regexp.last_match(1)` is in method accepts Regexp#match method call in method with $1 before if - corrects Regexp#match method call in class, `$&` is in method - accepts Regexp#match method call in method with $MATCH - accepts Regexp#match method call in a class method with Regexp.last_match(1) - registers an offense for Regexp#match method call in class method, `$`` is in other method - registers an offense for Regexp#match method call in class method, `$1` is in other method - accepts Regexp#match method call in method with $1 in block - accepts Regexp#match method call in method with $1 + registers an offense for Regexp#match method call in method, `$2` is in other method + registers an offense for Regexp#match method call in class method, `$~` is in other method corrects Regexp#match method call in if guard condition with Regexp.last_match(1) is used in another method - corrects Regexp#match method call in class method, `$1` is in other method - corrects Regexp#match method call, $100 reference is overrided - registers an offense for Regexp#match method call in method, `$'` is in other method - registers an offense for Regexp#match method call in class method, `Regexp.last_match` is in other method + registers an offense for Regexp#match method call in method, `$MATCH` is in other method + corrects Regexp#match method call in class, `$`` is in method + registers an offense for Regexp#match method call in class, `$'` is in method + accepts Regexp#match method call in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for Regexp#match method call in class, `$MATCH` is in method + corrects Regexp#match method call in class, `$2` is in method + accepts Regexp#match method call in guard condition with $` is used in the line after that + corrects Regexp#match method call, Regexp.last_match(1) reference is overrided + corrects Regexp#match method call in method before `Regexp.last_match(1)` + registers an offense for Regexp#match method call in method before `$`` + registers an offense for Regexp#match method call in method before `$~` + corrects Regexp#match method call in class method, `Regexp.last_match(1)` is in other method + accepts Regexp#match method call in method with $' before if + corrects Regexp#match method call in class, `$1` is in method + registers an offense for Regexp#match method call in class method, `$2` is in other method registers an offense for Regexp#match method call, $100 reference is overrided - corrects Regexp#match method call in method definition - accepts Regexp#match method call in a class method with $1 - accepts Regexp#match method call in method with $& - registers an offense for Regexp#match method call in class, `$2` is in method + corrects Regexp#match method call, $` reference is overrided + accepts Regexp#match method call in guard condition with $2 is used in the line after that + corrects Regexp#match method call in if guard condition with $& is used in another method + registers an offense for Regexp#match method call in ternary operator accepts Regexp#match method call in a class method with Regexp.last_match - accepts Regexp#match method call in method with $' before unless - corrects Regexp#match method call in module, `$1` is in method - accepts Regexp#match method call in method with $2 - corrects Regexp#match method call in method, `$2` is in other method - corrects Regexp#match method call in class, `$2` is in method - corrects Regexp#match method call in method before `$MATCH` - corrects Regexp#match method call, $MATCH reference is overrided - registers an offense for Regexp#match method call, $MATCH reference is overrided - corrects Regexp#match method call in method, `$&` is in other method - registers an offense for Regexp#match method call in unless condition - accepts Regexp#match method call in guard condition with Regexp.last_match is used in the line after that - accepts Regexp#match method call in method with $2 before unless - accepts Regexp#match method call in method with $` - corrects Regexp#match method call in method, `$MATCH` is in other method - registers an offense for Regexp#match method call in elsif condition - behaves like all legacy match methods - corrects matching by ===` in module, `$&` is in method - registers an offense for matching by ===` in if guard condition with $' is used in another method - corrects matching by ===` in method, `$MATCH` is in other method - corrects matching by ===` in module, `$1` is in method - corrects matching by ===` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by ===` in if guard condition with $~ is used in another method - registers an offense for matching by ===` in class method, `$2` is in other method - corrects matching by ===` in class method, `$MATCH` is in other method - registers an offense for matching by ===` in class method, `$100` is in other method - accepts matching by ===` in method with $~ - corrects matching by ===`, $~ reference is overrided - corrects matching by ===` in if guard condition with $' is used in another method - corrects matching by ===` in class method, `$&` is in other method - accepts matching by ===` in a class method with $100 - registers an offense for matching by ===`, Regexp.last_match reference is overrided - registers an offense for matching by ===` in class, `$&` is in method - registers an offense for matching by ===` in class method, `$`` is in other method - corrects matching by ===` in if condition - accepts matching by ===` in guard condition with Regexp.last_match is used in the line after that - corrects matching by ===` in case condition - registers an offense for matching by ===` in method, `$1` is in other method - corrects matching by ===` in if guard condition with $~ is used in another method - registers an offense for matching by ===` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by ===` in module, `$`` is in method - accepts matching by ===` in a class method with $MATCH - corrects matching by ===` in unless condition - corrects matching by ===` in method before `$'` - accepts matching by ===` in method with Regexp.last_match(1) - registers an offense for matching by ===` in method, `$`` is in other method - corrects matching by ===` in elsif condition - registers an offense for matching by ===` in class method, `$~` is in other method - registers an offense for matching by ===` in class, `Regexp.last_match` is in method - corrects matching by ===`, $1 reference is overrided - registers an offense for matching by ===` in method before `Regexp.last_match(1)` - corrects matching by ===` in class method, `$`` is in other method - accepts matching by ===` in a class method with $` - accepts matching by ===` in guard condition with $` is used in the line after that - corrects matching by ===` in ternary operator - accepts matching by ===` in guard condition with $1 is used in the line after that - accepts matching by ===` in method with Regexp.last_match before unless - corrects matching by ===` in method, `$~` is in other method - registers an offense for matching by ===` in if guard condition with $100 is used in another method - corrects matching by ===` in if guard condition with $1 is used in another method - registers an offense for matching by ===` in method, `Regexp.last_match(1)` is in other method - accepts matching by ===` in a class method with $& - corrects matching by ===` in class, `$2` is in method - registers an offense for matching by ===` in class, `$100` is in method - registers an offense for matching by ===` in elsif condition - corrects matching by ===` in if guard condition with $` is used in another method - registers an offense for matching by ===` in if guard condition with $MATCH is used in another method - corrects matching by ===` in if guard condition with $2 is used in another method - corrects matching by ===` in class method, `$2` is in other method - registers an offense for matching by ===` in module, `Regexp.last_match(1)` is in method - accepts matching by ===` in method with $1 before if - registers an offense for matching by ===` in if guard condition with $` is used in another method - corrects matching by ===`, Regexp.last_match(1) reference is overrided - registers an offense for matching by ===` in unless condition - corrects matching by ===` in method, `Regexp.last_match` is in other method - corrects matching by ===` in class, `$100` is in method - registers an offense for matching by ===` in method, `$&` is in other method - registers an offense for matching by ===` in module, `$&` is in method - accepts matching by ===` in method with $2 before unless - corrects matching by ===` in module, `$'` is in method - registers an offense for matching by ===` in method, `$MATCH` is in other method - accepts matching by ===` in method with $& - accepts matching by ===` in a class method with $1 - registers an offense for matching by ===` in method before `$'` - registers an offense for matching by ===`, $' reference is overrided - registers an offense for matching by ===`, $& reference is overrided - accepts matching by ===` in method with $2 before if - corrects matching by ===` in method, `Regexp.last_match(1)` is in other method - corrects matching by ===` in class method, `$100` is in other method - corrects matching by ===` in method, `$`` is in other method - corrects matching by ===` in method before `$`` - registers an offense for matching by ===` in method before `$`` - registers an offense for matching by ===`, $2 reference is overrided - accepts matching by ===` in method with $1 - corrects matching by ===` in module, `$~` is in method - corrects matching by ===` in if condition - corrects matching by ===` in method before `$2` - accepts matching by ===` in method with $` before unless - registers an offense for matching by ===` in if guard condition with $2 is used in another method - registers an offense for matching by ===` in module, `$100` is in method - registers an offense for matching by ===` in class method, `Regexp.last_match(1)` is in other method - accepts matching by ===` in method with $100 before if - accepts matching by ===` in method with $1 in block - registers an offense for matching by ===` in class, `$'` is in method - registers an offense for matching by ===` in class method, `$&` is in other method - registers an offense for matching by ===` in method before `$2` - registers an offense for matching by ===` in module, `$2` is in method - registers an offense for matching by ===` in class, `$~` is in method - corrects matching by ===` in class, `Regexp.last_match` is in method - corrects matching by ===` in class method, `$1` is in other method - accepts matching by ===` in method with $MATCH before if - accepts matching by ===` in method with $` - corrects matching by ===` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by ===` in method, `$~` is in other method - corrects matching by ===` in class, `$1` is in method - accepts matching by ===` in method with $~ before unless - registers an offense for matching by ===` in method before `Regexp.last_match` - accepts matching by ===` in method with $` before if - registers an offense for matching by ===` in module, `$1` is in method - corrects matching by ===` in method, `$100` is in other method - accepts matching by ===` in method with $& before if - registers an offense for matching by ===`, $~ reference is overrided - accepts matching by ===` in guard condition with $MATCH is used in the line after that - registers an offense for matching by ===` in class method, `Regexp.last_match` is in other method - accepts matching by ===` in method with $& in block - registers an offense for matching by ===` in class method, `$MATCH` is in other method - corrects matching by ===` in class, `$&` is in method - registers an offense for matching by ===` in method definition - registers an offense for matching by ===` in if guard condition with $1 is used in another method - corrects matching by ===` in method before `$~` - corrects matching by ===` in method before `$&` - corrects matching by ===` in class, `$~` is in method - corrects matching by ===` in if guard condition with $& is used in another method - registers an offense for matching by ===` in module, `$MATCH` is in method - accepts matching by ===` in method with $~ in block - corrects matching by ===` in class method, `$'` is in other method - accepts matching by ===` in method with $MATCH in block - corrects matching by ===` in class, `$MATCH` is in method - corrects matching by ===` in method, `$'` is in other method - registers an offense for matching by ===` in case condition - corrects matching by ===` in module, `$2` is in method - corrects matching by ===` in method before `$1` - accepts matching by ===` in a class method with Regexp.last_match(1) - accepts matching by ===` in method with $MATCH before unless - registers an offense for matching by ===` in if guard condition with Regexp.last_match is used in another method - accepts matching by ===` in method with $~ before if - corrects matching by ===` in module, `Regexp.last_match` is in method - corrects matching by ===` in if guard condition with $100 is used in another method - registers an offense for matching by ===` in method, `Regexp.last_match` is in other method - accepts matching by ===` in method with $' - accepts matching by ===` in method with $2 in block - registers an offense for matching by ===` in method before `$&` - accepts matching by ===` in method with Regexp.last_match(1) in block - accepts matching by ===` in method with $100 - corrects matching by ===` in method before `$MATCH` - accepts matching by ===` in method with $100 in block - corrects matching by ===` in method, `$2` is in other method - registers an offense for matching by ===` in if condition - registers an offense for matching by ===` in class, `$1` is in method - accepts matching by ===` in method with Regexp.last_match(1) before unless - accepts matching by ===` in guard condition with $~ is used in the line after that - corrects matching by ===`, Regexp.last_match reference is overrided - registers an offense for matching by ===`, $` reference is overrided - corrects matching by ===` in class method, `Regexp.last_match` is in other method - corrects matching by ===` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by ===` in method, `$'` is in other method - accepts matching by ===` in method with $1 before unless - accepts matching by ===` in a class method with $~ - corrects matching by ===` in if guard condition with Regexp.last_match is used in another method - corrects matching by ===` in method, `$1` is in other method - corrects matching by ===`, $100 reference is overrided - accepts matching by ===` in guard condition with $2 is used in the line after that - registers an offense for matching by ===` in unless condition - corrects matching by ===` in module, `$MATCH` is in method - corrects matching by ===` in class, `$`` is in method - registers an offense for matching by ===` in module, `Regexp.last_match` is in method - corrects matching by ===` in if guard condition with $MATCH is used in another method - registers an offense for matching by ===` in class, `Regexp.last_match(1)` is in method - accepts matching by ===` in method with $' before unless - corrects matching by ===` in class method, `$~` is in other method - corrects matching by ===` in module, `$100` is in method - accepts matching by ===` in method with $MATCH - registers an offense for matching by ===` in method, `$100` is in other method - registers an offense for matching by ===` in if guard condition with $& is used in another method - corrects matching by ===` in method definition - accepts matching by ===` in method with $' before if - registers an offense for matching by ===` in if condition - accepts matching by ===` in a class method with $' - accepts matching by ===` in method with $2 - registers an offense for matching by ===` in method before `$1` - accepts matching by ===` in guard condition with $' is used in the line after that - registers an offense for matching by ===` in method before `$100` - corrects matching by ===` in method before `Regexp.last_match(1)` - corrects matching by ===` in method before `Regexp.last_match` - accepts matching by ===` in method with $100 before unless - registers an offense for matching by ===`, $MATCH reference is overrided - accepts matching by ===` in method with Regexp.last_match before if - accepts matching by ===` in method with Regexp.last_match(1) before if - accepts matching by ===` in method with Regexp.last_match - corrects matching by ===`, $2 reference is overrided - registers an offense for matching by ===`, $100 reference is overrided - corrects matching by ===` in class, `$'` is in method - corrects matching by ===` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by ===` in class, `$2` is in method - corrects matching by ===` in method, `$&` is in other method - registers an offense for matching by ===` in ternary operator - corrects matching by ===` in method before `$100` - accepts matching by ===` in method with $` in block - accepts matching by ===` in a class method with $2 - registers an offense for matching by ===` in method before `$~` - registers an offense for matching by ===`, $1 reference is overrided - registers an offense for matching by ===` in class method, `$'` is in other method - corrects matching by ===`, $' reference is overrided - registers an offense for matching by ===`, Regexp.last_match(1) reference is overrided - accepts matching by ===` in a class method with Regexp.last_match - registers an offense for matching by ===` in module, `$~` is in method - accepts matching by ===` in method with $& before unless - accepts matching by ===` in method with Regexp.last_match in block - accepts matching by ===` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by ===` in guard condition with $& is used in the line after that - registers an offense for matching by ===` in method, `$2` is in other method - corrects matching by ===`, $` reference is overrided - registers an offense for matching by ===` in class, `$MATCH` is in method - registers an offense for matching by ===` in class method, `$1` is in other method - registers an offense for matching by ===` in module, `$`` is in method - registers an offense for matching by ===` in module, `$'` is in method - corrects matching by ===`, $& reference is overrided - registers an offense for matching by ===` in method before `$MATCH` - corrects matching by ===` in unless condition - accepts matching by ===` in guard condition with $100 is used in the line after that - registers an offense for matching by ===` in class, `$`` is in method - accepts matching by ===` in method with $' in block - corrects matching by ===`, $MATCH reference is overrided - behaves like all legacy match methods - accepts matching by !~` in method with $~ - accepts matching by !~` in method with $MATCH in block - corrects matching by !~` in module, `$1` is in method - accepts matching by !~` in method with $& in block - corrects matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in module, `$&` is in method - accepts matching by !~` in method with $` in block - corrects matching by !~` in class, `$1` is in method - registers an offense for matching by !~`, Regexp.last_match reference is overrided - accepts matching by !~` in method with $' before unless - corrects matching by !~` in class, `$2` is in method - accepts matching by !~` in method with $~ in block - registers an offense for matching by !~`, $MATCH reference is overrided - corrects matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in class method, `$~` is in other method - accepts matching by !~` in a class method with $~ - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in ternary operator - corrects matching by !~`, $1 reference is overrided - corrects matching by !~` in module, `$~` is in method - corrects matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~`, $~ reference is overrided - corrects matching by !~` in method before `$MATCH` - accepts matching by !~` in method with Regexp.last_match(1) - registers an offense for matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in a class method with $& - corrects matching by !~` in method, `$2` is in other method - accepts matching by !~` in a class method with $2 - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in class, `$1` is in method - corrects matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in a class method with $MATCH - corrects matching by !~` in method before `$1` - accepts matching by !~` in method with Regexp.last_match - accepts matching by !~` in method with Regexp.last_match(1) before unless - accepts matching by !~` in a class method with Regexp.last_match(1) - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in method with $MATCH - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in class, `$'` is in method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in a class method with Regexp.last_match - corrects matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in module, `$100` is in method - corrects matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in case condition - registers an offense for matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in method with $& - corrects matching by !~` in module, `$2` is in method - corrects matching by !~` in if condition - accepts matching by !~` in method with Regexp.last_match(1) in block - corrects matching by !~` in unless condition - accepts matching by !~` in method with $` - registers an offense for matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in class, `$2` is in method - corrects matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~`, $& reference is overrided - corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in unless condition - registers an offense for matching by !~`, $' reference is overrided - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in method before `$~` - registers an offense for matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in class method, `$'` is in other method - corrects matching by !~` in case condition - corrects matching by !~` in class, `$&` is in method - accepts matching by !~` in method with $' in block - corrects matching by !~`, $' reference is overrided - accepts matching by !~` in a class method with $` - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in if condition - registers an offense for matching by !~` in class method, `$`` is in other method - corrects matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with $' - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in method, `$&` is in other method - corrects matching by !~` in method before `$~` - registers an offense for matching by !~` in class, `$100` is in method - corrects matching by !~`, $& reference is overrided - accepts matching by !~` in guard condition with $2 is used in the line after that - corrects matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in module, `$'` is in method - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~` in method, `$100` is in other method - corrects matching by !~` in method definition - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with $` before unless - accepts matching by !~` in method with $2 before unless - corrects matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in class method, `$&` is in other method - accepts matching by !~` in method with $1 - accepts matching by !~` in method with Regexp.last_match before if - corrects matching by !~` in module, `$MATCH` is in method - corrects matching by !~` in class, `$MATCH` is in method - corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in method, `$100` is in other method - corrects matching by !~` in method before `$2` - accepts matching by !~` in method with Regexp.last_match(1) before if - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by !~` in method with $100 - accepts matching by !~` in method with $& before if - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in if guard condition with $' is used in another method - accepts matching by !~` in method with $~ before if - corrects matching by !~` in ternary operator - corrects matching by !~` in class, `$100` is in method - corrects matching by !~` in elsif condition - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in method, `$~` is in other method - corrects matching by !~` in module, `$`` is in method - accepts matching by !~` in method with Regexp.last_match before unless - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in class method, `$2` is in other method - corrects matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in method before `$2` - registers an offense for matching by !~`, $2 reference is overrided - accepts matching by !~` in method with $1 in block - corrects matching by !~`, $` reference is overrided - accepts matching by !~` in method with $& before unless - accepts matching by !~` in method with $100 before unless - corrects matching by !~` in method, `$`` is in other method - corrects matching by !~` in module, `$'` is in method - corrects matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in class, `$~` is in method - accepts matching by !~` in method with $MATCH before if - corrects matching by !~` in method before `$'` - corrects matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in method before `$1` - corrects matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in method with $MATCH before unless - accepts matching by !~` in method with $100 in block - registers an offense for matching by !~` in method definition - corrects matching by !~`, $MATCH reference is overrided - accepts matching by !~` in method with $1 before unless - accepts matching by !~` in method with $` before if - registers an offense for matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in class, `$~` is in method - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in if guard condition with $` is used in another method - accepts matching by !~` in a class method with $' - accepts matching by !~` in method with $2 before if - corrects matching by !~` in class, `$`` is in method - corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in method with $100 before if - registers an offense for matching by !~` in class, `$&` is in method - registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in guard condition with $` is used in the line after that - corrects matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~`, $100 reference is overrided - accepts matching by !~` in a class method with $1 - accepts matching by !~` in method with $2 in block - corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in class method, `$&` is in other method - accepts matching by !~` in guard condition with $100 is used in the line after that - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in guard condition with $& is used in the line after that - accepts matching by !~` in method with $1 before if - corrects matching by !~` in method, `$1` is in other method - accepts matching by !~` in method with Regexp.last_match in block - corrects matching by !~` in class method, `$1` is in other method - corrects matching by !~` in method before `Regexp.last_match(1)` - registers an offense for matching by !~` in method before `$`` - registers an offense for matching by !~` in elsif condition - accepts matching by !~` in guard condition with $~ is used in the line after that - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by !~` in guard condition with $1 is used in the line after that - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in method before `$100` - registers an offense for matching by !~` in module, `$1` is in method - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in method before `$&` - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - accepts matching by !~` in a class method with $100 - corrects matching by !~` in method before `$`` - registers an offense for matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with $' before if - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in guard condition with $' is used in the line after that - corrects matching by !~` in class method, `$~` is in other method - accepts matching by !~` in method with $2 - registers an offense for matching by !~` in if condition + corrects Regexp#match method call in class, `Regexp.last_match` is in method + accepts Regexp#match method call in method with Regexp.last_match before unless + registers an offense for Regexp#match method call in if guard condition with $` is used in another method behaves like all legacy match methods - corrects matching by =~` in method before `$100` - registers an offense for matching by =~` in elsif condition - registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in method with Regexp.last_match before if - accepts matching by =~` in a class method with $& - accepts matching by =~` in guard condition with $~ is used in the line after that - accepts matching by =~` in a class method with $1 - corrects matching by =~` in if guard condition with $& is used in another method registers an offense for matching by =~` in class method, `$MATCH` is in other method - accepts matching by =~` in method with Regexp.last_match(1) - corrects matching by =~`, $' reference is overrided - registers an offense for matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in method with $100 in block - accepts matching by =~` in method with Regexp.last_match(1) before unless - accepts matching by =~` in method with $` before if - corrects matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in elsif condition - accepts matching by =~` in method with $2 - accepts matching by =~` in method with $100 - accepts matching by =~` in method with $' before unless - registers an offense for matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in unless condition + corrects matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in method, `$'` is in other method + accepts matching by =~` in a class method with $2 corrects matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in method before `$'` - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in method with $' - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by =~` in a class method with Regexp.last_match - accepts matching by =~` in method with Regexp.last_match - corrects matching by =~`, $100 reference is overrided - corrects matching by =~` in module, `$2` is in method - accepts matching by =~` in method with Regexp.last_match before unless - registers an offense for matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in class, `$&` is in method - corrects matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in method with $' before if - corrects matching by =~`, $` reference is overrided + registers an offense for matching by =~` in class method, `$~` is in other method registers an offense for matching by =~` in method before `$MATCH` + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by =~` in class method, `$1` is in other method + accepts matching by =~` in method with $~ before if accepts matching by =~` in method with $` in block + registers an offense for matching by =~` in if condition + accepts matching by =~` in method with $2 before unless + corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in class method, `$&` is in other method + accepts matching by =~` in method with Regexp.last_match before unless + accepts matching by =~` in method with $` + accepts matching by =~` in method with Regexp.last_match(1) corrects matching by =~` in method before `$MATCH` - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in ternary operator - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~` in method, `$&` is in other method - accepts matching by =~` in a class method with $2 - corrects matching by =~` in class, `$~` is in method - accepts matching by =~` in a class method with $` - corrects matching by =~` in class, `$1` is in method - corrects matching by =~` in method before `$`` - accepts matching by =~` in method with $~ before unless - corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in method with $100 before if - corrects matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method registers an offense for matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in if condition - corrects matching by =~` in method before `$~` - accepts matching by =~` in method with $1 before if - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~`, $100 reference is overrided - accepts matching by =~` in method with $MATCH before if - accepts matching by =~` in a class method with $' - registers an offense for matching by =~` in class, `$'` is in method - corrects matching by =~`, $2 reference is overrided - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in method with $` before unless - accepts matching by =~` in guard condition with $& is used in the line after that - accepts matching by =~` in method with $& in block - registers an offense for matching by =~` in class method, `$~` is in other method - corrects matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in method before `$`` - accepts matching by =~` in method with Regexp.last_match in block - registers an offense for matching by =~` in method definition - accepts matching by =~` in a class method with Regexp.last_match(1) - accepts matching by =~` in method with $1 in block - corrects matching by =~` in class method, `$2` is in other method - corrects matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in method before `$1` - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $2 in block - corrects matching by =~` in method, `$'` is in other method - registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in unless condition - accepts matching by =~` in method with $& before if - corrects matching by =~`, Regexp.last_match reference is overrided - registers an offense for matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $1 before unless + registers an offense for matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in a class method with $100 corrects matching by =~` in method, `$~` is in other method - accepts matching by =~` in method with $MATCH in block - corrects matching by =~` in method definition - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~`, $& reference is overrided - corrects matching by =~` in class method, `$`` is in other method - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in module, `$'` is in method - accepts matching by =~` in guard condition with $' is used in the line after that - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by =~` in class, `Regexp.last_match` is in method accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in a class method with $& + accepts matching by =~` in method with $100 + registers an offense for matching by =~`, $& reference is overrided + registers an offense for matching by =~` in module, `$~` is in method + corrects matching by =~` in method definition + corrects matching by =~` in method before `$2` accepts matching by =~` in method with $MATCH before unless - registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~`, $` reference is overrided + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in unless condition + corrects matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in method with $1 + registers an offense for matching by =~` in case condition accepts matching by =~` in method with $MATCH - registers an offense for matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in class, `$`` is in method - corrects matching by =~` in module, `$&` is in method - corrects matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in method with $& - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in module, `$'` is in method - accepts matching by =~` in method with $~ before if - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with Regexp.last_match before if + corrects matching by =~` in class, `$&` is in method + accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in method with $100 before unless + accepts matching by =~` in a class method with Regexp.last_match(1) + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $& before unless + corrects matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in a class method with $` + corrects matching by =~`, $' reference is overrided accepts matching by =~` in method with $2 before if - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in if condition - registers an offense for matching by =~`, $' reference is overrided - corrects matching by =~` in case condition - registers an offense for matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in method before `$1` - accepts matching by =~` in a class method with $100 - registers an offense for matching by =~` in module, `$2` is in method - accepts matching by =~` in method with $~ - accepts matching by =~` in method with $2 before unless - corrects matching by =~` in method before `$2` - accepts matching by =~` in method with $~ in block - corrects matching by =~`, $& reference is overrided + accepts matching by =~` in method with $1 before if + corrects matching by =~` in method before `$`` + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in module, `$1` is in method + corrects matching by =~` in class, `$2` is in method registers an offense for matching by =~` in method before `$2` - corrects matching by =~` in ternary operator - corrects matching by =~` in class method, `$1` is in other method - accepts matching by =~` in guard condition with $100 is used in the line after that - accepts matching by =~` in guard condition with $` is used in the line after that - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in class, `$'` is in method - accepts matching by =~` in a class method with $MATCH - registers an offense for matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in method, `$~` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - registers an offense for matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with $` - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in method, `$`` is in other method - corrects matching by =~` in unless condition - registers an offense for matching by =~` in method before `$~` - corrects matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in if guard condition with $2 is used in another method registers an offense for matching by =~` in method, `$100` is in other method - corrects matching by =~` in class, `$MATCH` is in method - accepts matching by =~` in method with Regexp.last_match(1) before if - registers an offense for matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in if condition - corrects matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $1 - accepts matching by =~` in method with $' in block - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in method, `$`` is in other method + accepts matching by =~` in method with $~ before unless + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $2 in block + accepts matching by =~` in method with $100 before if + corrects matching by =~`, $2 reference is overrided + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in method, `$&` is in other method accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~` in class method, `$&` is in other method - corrects matching by =~`, $~ reference is overrided - corrects matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in method, `$MATCH` is in other method registers an offense for matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in class method, `$'` is in other method - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in method, `$2` is in other method - corrects matching by =~` in class method, `$100` is in other method - accepts matching by =~` in guard condition with $MATCH is used in the line after that registers an offense for matching by =~` in unless condition - corrects matching by =~` in class, `$&` is in method - registers an offense for matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in method before `$100` - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before unless corrects matching by =~` in method, `$1` is in other method - corrects matching by =~` in method, `$2` is in other method - corrects matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in if condition - registers an offense for matching by =~`, $` reference is overrided - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~`, $MATCH reference is overrided - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in method before `$&` - corrects matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in method before `$&` - behaves like all legacy match methods - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in class, `$&` is in method - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with $MATCH - corrects matching by =~`, $1 reference is overrided + corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~` in method before `$100` + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in module, `$2` is in method + accepts matching by =~` in method with $' + corrects matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in method, `$&` is in other method + corrects matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $& before if + corrects matching by =~` in module, `$100` is in method registers an offense for matching by =~` in class method, `$&` is in other method - corrects matching by =~`, $& reference is overrided - registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~` in class method, `$MATCH` is in other method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by =~` in method before `$`` - corrects matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method registers an offense for matching by =~` in method before `$'` - corrects matching by =~`, $2 reference is overrided - corrects matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in method with Regexp.last_match before unless - registers an offense for matching by =~` in method before `$~` - corrects matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in method before `$2` - accepts matching by =~` in method with $` in block - registers an offense for matching by =~` in elsif condition - accepts matching by =~` in a class method with $2 - accepts matching by =~` in method with $1 before if - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by =~` in a class method with $MATCH - accepts matching by =~` in method with $& in block - accepts matching by =~` in method with $& - corrects matching by =~` in method before `$1` - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~`, $100 reference is overrided + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~`, $MATCH reference is overrided + corrects matching by =~` in class, `$1` is in method + accepts matching by =~` in method with $~ in block + corrects matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in class, `$`` is in method + corrects matching by =~` in elsif condition + registers an offense for matching by =~` in method definition + accepts matching by =~` in method with $1 before unless + accepts matching by =~` in method with $1 in block + registers an offense for matching by =~`, $1 reference is overrided + accepts matching by =~` in method with Regexp.last_match + registers an offense for matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by =~` in method, `$`` is in other method + corrects matching by =~`, $` reference is overrided corrects matching by =~` in unless condition + registers an offense for matching by =~` in module, `$`` is in method + corrects matching by =~` in ternary operator + registers an offense for matching by =~` in if guard condition with $' is used in another method corrects matching by =~` in module, `$~` is in method - corrects matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in class method, `$~` is in other method - accepts matching by =~` in method with Regexp.last_match(1) before unless - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~`, $2 reference is overrided - corrects matching by =~` in if condition - accepts matching by =~` in guard condition with $2 is used in the line after that - corrects matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $2 before unless - accepts matching by =~` in a class method with $1 - accepts matching by =~` in method with $100 - corrects matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in class method, `$'` is in other method - corrects matching by =~` in module, `$100` is in method + corrects matching by =~` in method, `$2` is in other method + corrects matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method registers an offense for matching by =~` in if condition - corrects matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in method, `$`` is in other method - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $2 before if + accepts matching by =~` in method with Regexp.last_match in block + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~` in method before `$~` corrects matching by =~` in method, `$100` is in other method - corrects matching by =~` in method before `$2` - accepts matching by =~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by =~`, $MATCH reference is overrided - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in module, `$MATCH` is in method - corrects matching by =~`, $MATCH reference is overrided corrects matching by =~` in module, `$'` is in method - accepts matching by =~` in method with $' in block - accepts matching by =~` in method with $' before unless - corrects matching by =~` in method, `$&` is in other method - registers an offense for matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in class method, `$~` is in other method + corrects matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in method before `$&` + registers an offense for matching by =~` in class method, `$`` is in other method corrects matching by =~` in class, `$'` is in method - corrects matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with $& before if - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in method with $' - registers an offense for matching by =~` in if condition - corrects matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in unless condition - corrects matching by =~` in class method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $2 - corrects matching by =~` in if condition - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in method definition - accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in method with $' in block corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in method before `$MATCH` - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $~ before if - corrects matching by =~` in method before `$100` - corrects matching by =~` in class, `$1` is in method + corrects matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in method with $' before if + accepts matching by =~` in method with $' before unless + accepts matching by =~` in guard condition with $& is used in the line after that + registers an offense for matching by =~` in method, `$~` is in other method registers an offense for matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in method with $MATCH before if + accepts matching by =~` in method with $` before unless accepts matching by =~` in guard condition with $' is used in the line after that - corrects matching by =~` in ternary operator - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in module, `$1` is in method - accepts matching by =~` in method with Regexp.last_match before if - corrects matching by =~` in method, `$~` is in other method - accepts matching by =~` in method with $` before if - accepts matching by =~` in method with $MATCH before unless - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in case condition - corrects matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in method with $~ in block - registers an offense for matching by =~` in method, `$1` is in other method - corrects matching by =~` in class method, `$`` is in other method - corrects matching by =~` in method, `$2` is in other method - corrects matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~`, $' reference is overrided - registers an offense for matching by =~` in method, `$2` is in other method - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - accepts matching by =~` in a class method with Regexp.last_match - registers an offense for matching by =~`, $100 reference is overrided - accepts matching by =~` in guard condition with $` is used in the line after that - accepts matching by =~` in method with $100 before if - accepts matching by =~` in method with $~ - corrects matching by =~` in method before `$&` - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in ternary operator - accepts matching by =~` in a class method with $' - corrects matching by =~` in case condition - registers an offense for matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in class method, `$1` is in other method - accepts matching by =~` in a class method with $` - accepts matching by =~` in method with $2 in block - registers an offense for matching by =~` in method definition - accepts matching by =~` in method with $~ before unless - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in method with $1 in block - accepts matching by =~` in guard condition with $1 is used in the line after that - registers an offense for matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with Regexp.last_match in block - registers an offense for matching by =~` in if guard condition with $' is used in another method registers an offense for matching by =~` in method before `$100` - registers an offense for matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in method with $` - registers an offense for matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in method before `$1` - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~` in method, `$MATCH` is in other method - corrects matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in method, `$'` is in other method + corrects matching by =~` in class method, `$MATCH` is in other method accepts matching by =~` in guard condition with $100 is used in the line after that - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in module, `$&` is in method - accepts matching by =~` in method with $1 - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~`, $& reference is overrided - corrects matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in class, `$2` is in method + corrects matching by =~` in if condition + registers an offense for matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with $~ + registers an offense for matching by =~` in method before `$&` corrects matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in method before `$MATCH` - accepts matching by =~` in guard condition with $& is used in the line after that - accepts matching by =~` in method with Regexp.last_match(1) in block - accepts matching by =~` in method with Regexp.last_match(1) - accepts matching by =~` in method with $& before unless - accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in unless condition + registers an offense for matching by =~`, $2 reference is overrided accepts matching by =~` in method with $MATCH in block - registers an offense for matching by =~` in unless condition - corrects matching by =~` in if guard condition with $MATCH is used in another method - accepts matching by =~` in method with $` before unless - registers an offense for matching by =~` in method before `$&` - accepts matching by =~` in method with $' before if - registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~`, $' reference is overrided - accepts matching by =~` in a class method with $100 - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $MATCH before if - registers an offense for matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in method before `$`` + corrects matching by =~` in method before `$'` + corrects matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in unless condition + registers an offense for matching by =~` in class method, `$'` is in other method + accepts matching by =~` in method with $` before if + registers an offense for matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in method before `$1` + registers an offense for matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in if condition + corrects matching by =~`, $~ reference is overrided + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class method, `$1` is in other method + accepts matching by =~` in a class method with $~ + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method, `$2` is in other method corrects matching by =~` in class method, `$2` is in other method - corrects matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~`, $` reference is overrided - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in method, `$&` is in other method - corrects matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in class, `$2` is in method + corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with $& + registers an offense for matching by =~` in class, `$1` is in method + accepts matching by =~` in method with $100 in block registers an offense for matching by =~` in class method, `$100` is in other method - corrects matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in a class method with $& - accepts matching by =~` in a class method with Regexp.last_match(1) - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in elsif condition + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in method, `$'` is in other method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class, `$~` is in method + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~` in method before `$1` + registers an offense for matching by =~`, $' reference is overrided + accepts matching by =~` in a class method with $' + accepts matching by =~` in method with $2 + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~` in module, `Regexp.last_match` is in method registers an offense for matching by =~` in class, `$'` is in method + accepts matching by =~` in a class method with Regexp.last_match + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in case condition + accepts matching by =~` in a class method with $MATCH + registers an offense for matching by =~` in elsif condition + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in method before `$~` + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + accepts matching by =~` in a class method with $1 + corrects matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with $& in block + corrects matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in class, `$`` is in method + corrects matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in if guard condition with $~ is used in another method behaves like all legacy match methods + registers an offense for matching by !~` in method, `$100` is in other method + corrects matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in method, `$'` is in other method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with Regexp.last_match(1) in block + registers an offense for matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in method, `$~` is in other method + accepts matching by !~` in guard condition with $1 is used in the line after that + accepts matching by !~` in method with $1 in block + registers an offense for matching by !~` in class method, `$&` is in other method + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that accepts matching by !~` in method with $' before unless - accepts matching by !~` in guard condition with $` is used in the line after that + registers an offense for matching by !~` in class, `$2` is in method + corrects matching by !~` in method, `$2` is in other method + registers an offense for matching by !~` in method before `$MATCH` + registers an offense for matching by !~` in class, `$~` is in method + corrects matching by !~`, Regexp.last_match reference is overrided + accepts matching by !~` in method with $~ before if + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in class, `$&` is in method + accepts matching by !~` in a class method with $1 + registers an offense for matching by !~` in class method, `$2` is in other method + corrects matching by !~` in case condition + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in if condition + accepts matching by !~` in a class method with $MATCH + corrects matching by !~` in class method, `$~` is in other method + accepts matching by !~` in method with Regexp.last_match(1) before if + registers an offense for matching by !~`, $& reference is overrided + corrects matching by !~` in class method, `$1` is in other method + corrects matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in module, `$100` is in method + corrects matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in a class method with Regexp.last_match(1) + accepts matching by !~` in a class method with $` + registers an offense for matching by !~`, $100 reference is overrided + accepts matching by !~` in a class method with $2 + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in a class method with $100 + corrects matching by !~` in class, `$1` is in method + accepts matching by !~` in method with Regexp.last_match before unless + corrects matching by !~` in class method, `$`` is in other method + corrects matching by !~` in method before `$100` + corrects matching by !~` in method before `$`` + corrects matching by !~` in module, `$`` is in method + registers an offense for matching by !~`, $1 reference is overrided + corrects matching by !~` in method, `$'` is in other method + accepts matching by !~` in method with $` in block + corrects matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in class method, `$~` is in other method registers an offense for matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in ternary operator - accepts matching by !~` in method with Regexp.last_match - registers an offense for matching by !~` in class, `$'` is in method - accepts matching by !~` in guard condition with $2 is used in the line after that + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in module, `$&` is in method + registers an offense for matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~`, $' reference is overrided + accepts matching by !~` in method with $` + registers an offense for matching by !~` in method, `$`` is in other method corrects matching by !~` in if guard condition with $& is used in another method + corrects matching by !~` in method, `$&` is in other method + corrects matching by !~` in class, `$`` is in method + accepts matching by !~` in method with $2 in block + registers an offense for matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in method before `$2` + corrects matching by !~` in module, `$1` is in method + corrects matching by !~` in method before `$MATCH` + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with $~ + corrects matching by !~`, $1 reference is overrided + accepts matching by !~` in method with $~ before unless + corrects matching by !~` in method before `$&` + corrects matching by !~` in class method, `$2` is in other method + accepts matching by !~` in method with $1 before if + corrects matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in method, `$2` is in other method + corrects matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in method, `$~` is in other method + registers an offense for matching by !~`, $` reference is overrided + accepts matching by !~` in method with $` before unless + corrects matching by !~`, $~ reference is overrided + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in method definition + corrects matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in method before `$~` + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in case condition + registers an offense for matching by !~` in elsif condition + corrects matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in ternary operator + corrects matching by !~` in method, `$MATCH` is in other method + accepts matching by !~` in method with $MATCH before unless corrects matching by !~` in elsif condition + accepts matching by !~` in method with $MATCH before if + accepts matching by !~` in method with Regexp.last_match(1) before unless + registers an offense for matching by !~` in class, `$100` is in method + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in method with $1 + registers an offense for matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in unless condition + corrects matching by !~` in unless condition + corrects matching by !~` in method before `$2` + corrects matching by !~` in module, `$100` is in method + corrects matching by !~` in class, `$&` is in method + registers an offense for matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in method with $100 + corrects matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in if condition + accepts matching by !~` in method with $~ in block + accepts matching by !~` in guard condition with $100 is used in the line after that + corrects matching by !~` in method before `$1` + corrects matching by !~` in if guard condition with $MATCH is used in another method + accepts matching by !~` in method with $100 in block + corrects matching by !~`, $& reference is overrided + corrects matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in method before `$'` + accepts matching by !~` in method with $2 before if + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in unless condition + registers an offense for matching by !~` in method before `$1` + accepts matching by !~` in method with $' in block + accepts matching by !~` in a class method with Regexp.last_match + accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~` in module, `$~` is in method + registers an offense for matching by !~`, $~ reference is overrided + accepts matching by !~` in guard condition with $MATCH is used in the line after that + corrects matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in class, `$`` is in method + corrects matching by !~` in class, `Regexp.last_match` is in method + accepts matching by !~` in method with $100 before if + registers an offense for matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~` in module, `$&` is in method + corrects matching by !~`, $` reference is overrided + accepts matching by !~` in method with $& before unless + accepts matching by !~` in method with $` before if + accepts matching by !~` in method with $2 before unless corrects matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with Regexp.last_match in block + accepts matching by !~` in method with $' + registers an offense for matching by !~` in module, `$2` is in method + corrects matching by !~` in method definition + corrects matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in class, `$'` is in method + accepts matching by !~` in method with $& + accepts matching by !~` in method with $' before if + registers an offense for matching by !~` in ternary operator + accepts matching by !~` in guard condition with $` is used in the line after that + accepts matching by !~` in method with Regexp.last_match before if + accepts matching by !~` in method with $MATCH + corrects matching by !~` in if condition + corrects matching by !~` in class, `$2` is in method + registers an offense for matching by !~`, Regexp.last_match reference is overrided + accepts matching by !~` in guard condition with $~ is used in the line after that + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in method before `Regexp.last_match(1)` corrects matching by !~` in class method, `$MATCH` is in other method - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~`, $& reference is overrided + corrects matching by !~` in class, `$'` is in method + accepts matching by !~` in method with Regexp.last_match + corrects matching by !~` in method, `$`` is in other method + accepts matching by !~` in method with $MATCH in block + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in class, `$MATCH` is in method + corrects matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in method before `$'` registers an offense for matching by !~` in unless condition - corrects matching by !~` in unless condition - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in if guard condition with $100 is used in another method + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in method before `$~` + registers an offense for matching by !~`, $' reference is overrided + corrects matching by !~` in class method, `$'` is in other method + accepts matching by !~` in method with $1 before unless + registers an offense for matching by !~` in method before `$`` + registers an offense for matching by !~` in method before `$100` + registers an offense for matching by !~` in module, `$1` is in method + accepts matching by !~` in method with $100 before unless + corrects matching by !~` in if guard condition with $100 is used in another method + accepts matching by !~` in guard condition with $& is used in the line after that + registers an offense for matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $& before if + registers an offense for matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in guard condition with $2 is used in the line after that + accepts matching by !~` in method with Regexp.last_match(1) + accepts matching by !~` in a class method with $& + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in module, `$`` is in method accepts matching by !~` in a class method with $' - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in if guard condition with $2 is used in another method + accepts matching by !~` in method with $& in block + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method corrects matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method registers an offense for matching by !~` in if guard condition with $1 is used in another method - accepts matching by !~` in method with $1 before if - accepts matching by !~` in method with $2 in block - corrects matching by !~` in method, `$2` is in other method - accepts matching by !~` in method with $& before unless - registers an offense for matching by !~` in method before `$100` + registers an offense for matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with $2 + corrects matching by !~` in if guard condition with $' is used in another method corrects matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in guard condition with $100 is used in the line after that - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in method before `$MATCH` - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method, `$100` is in other method + accepts matching by !~` in method with Regexp.last_match in block + behaves like all legacy match methods + registers an offense for matching by !~` in method definition + corrects matching by !~` in if guard condition with $MATCH is used in another method accepts matching by !~` in method with $' - corrects matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in method, `$'` is in other method - corrects matching by !~` in module, `$'` is in method + accepts matching by !~` in method with Regexp.last_match before if + accepts matching by !~` in method with $MATCH in block + accepts matching by !~` in method with Regexp.last_match(1) + accepts matching by !~` in method with $MATCH before if + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in class method, `$1` is in other method + corrects matching by !~` in module, `$&` is in method corrects matching by !~`, $1 reference is overrided - corrects matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in method before `$~` - registers an offense for matching by !~` in class method, `$'` is in other method - accepts matching by !~` in method with $1 in block - corrects matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~`, $100 reference is overrided + accepts matching by !~` in a class method with $MATCH + registers an offense for matching by !~` in class, `$'` is in method + accepts matching by !~` in guard condition with $` is used in the line after that + corrects matching by !~` in method, `$`` is in other method + corrects matching by !~` in method before `$'` + registers an offense for matching by !~` in module, `$~` is in method + corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in class method, `$~` is in other method + corrects matching by !~` in unless condition + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in method with $& in block + accepts matching by !~` in a class method with Regexp.last_match + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by !~` in method before `$100` + corrects matching by !~` in method before `$`` + corrects matching by !~` in class, `$'` is in method + accepts matching by !~` in method with $1 before if + corrects matching by !~` in module, `$2` is in method + accepts matching by !~` in method with $& before if + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + accepts matching by !~` in method with $2 before if + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method corrects matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in method with $100 before if - accepts matching by !~` in a class method with $100 + corrects matching by !~`, $MATCH reference is overrided + corrects matching by !~` in method before `$MATCH` + corrects matching by !~`, Regexp.last_match reference is overrided + accepts matching by !~` in method with $` before if + accepts matching by !~` in method with $~ before unless + corrects matching by !~` in class, `$~` is in method + registers an offense for matching by !~`, $2 reference is overrided + accepts matching by !~` in method with $1 before unless + registers an offense for matching by !~` in method before `$'` + registers an offense for matching by !~` in class, `$2` is in method + registers an offense for matching by !~`, $` reference is overrided + accepts matching by !~` in method with $' before if + corrects matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in method, `$&` is in other method + accepts matching by !~` in guard condition with $' is used in the line after that + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in method, `$2` is in other method + registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in method with Regexp.last_match(1) in block + corrects matching by !~` in method before `$100` + registers an offense for matching by !~` in class method, `$~` is in other method + registers an offense for matching by !~`, $MATCH reference is overrided + accepts matching by !~` in method with $` in block + registers an offense for matching by !~` in method before `Regexp.last_match` corrects matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in method before `$`` + accepts matching by !~` in a class method with $1 + accepts matching by !~` in a class method with Regexp.last_match(1) + corrects matching by !~` in class, `$2` is in method + accepts matching by !~` in method with $100 + registers an offense for matching by !~` in module, `$`` is in method + corrects matching by !~` in method before `$&` + corrects matching by !~` in if condition + corrects matching by !~` in class, `$1` is in method + corrects matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~` in class method, `$&` is in other method + accepts matching by !~` in a class method with $100 + corrects matching by !~` in module, `$`` is in method + accepts matching by !~` in method with $` + registers an offense for matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in if condition + registers an offense for matching by !~` in method, `$`` is in other method + accepts matching by !~` in method with $& before unless + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in method before `$1` + corrects matching by !~` in method, `$2` is in other method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in a class method with $' + accepts matching by !~` in method with $` before unless + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $' before unless + registers an offense for matching by !~` in method before `$~` + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in class, `$1` is in method + accepts matching by !~` in method with Regexp.last_match + registers an offense for matching by !~` in unless condition + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in module, `$'` is in method registers an offense for matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in if guard condition with $~ is used in another method + accepts matching by !~` in method with $MATCH before unless + registers an offense for matching by !~` in class, `$&` is in method + registers an offense for matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in elsif condition + corrects matching by !~` in if guard condition with $2 is used in another method corrects matching by !~` in unless condition - accepts matching by !~` in a class method with $~ - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in method before `$`` - registers an offense for matching by !~`, $100 reference is overrided - accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in module, `$100` is in method - corrects matching by !~` in if guard condition with $1 is used in another method - accepts matching by !~` in method with $MATCH before if + registers an offense for matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in class, `$&` is in method + corrects matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in a class method with $` + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in guard condition with $2 is used in the line after that corrects matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~`, $MATCH reference is overrided + accepts matching by !~` in guard condition with $~ is used in the line after that + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that accepts matching by !~` in method with $& - accepts matching by !~` in method with $' in block - corrects matching by !~` in class method, `$100` is in other method + corrects matching by !~` in method, `$~` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in module, `$2` is in method + registers an offense for matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in class, `$`` is in method + corrects matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in module, `$'` is in method + corrects matching by !~` in class method, `$2` is in other method + corrects matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in method, `$100` is in other method + accepts matching by !~` in a class method with $2 + accepts matching by !~` in method with $100 before if + corrects matching by !~` in method before `$1` + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in method before `$2` + accepts matching by !~` in method with $1 + corrects matching by !~`, $' reference is overrided + corrects matching by !~` in if guard condition with $' is used in another method registers an offense for matching by !~` in if guard condition with $& is used in another method - accepts matching by !~` in method with Regexp.last_match(1) before unless - corrects matching by !~` in method before `$`` - corrects matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in elsif condition + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in if guard condition with $& is used in another method + accepts matching by !~` in guard condition with $1 is used in the line after that + accepts matching by !~` in method with $2 + accepts matching by !~` in method with Regexp.last_match in block + accepts matching by !~` in method with $1 in block + accepts matching by !~` in method with $2 before unless + corrects matching by !~` in method, `$'` is in other method accepts matching by !~` in method with $MATCH - corrects matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $MATCH before unless + corrects matching by !~` in class method, `$100` is in other method + accepts matching by !~` in guard condition with $100 is used in the line after that + registers an offense for matching by !~` in method, `$'` is in other method + corrects matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $~ in block + registers an offense for matching by !~` in class, `$100` is in method corrects matching by !~` in method, `$&` is in other method - corrects matching by !~` in class, `$'` is in method - registers an offense for matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in class, `$&` is in method - registers an offense for matching by !~` in method, `$2` is in other method - corrects matching by !~` in class method, `$2` is in other method - accepts matching by !~` in guard condition with $1 is used in the line after that - corrects matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $2 in block + registers an offense for matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in class, `$100` is in method + accepts matching by !~` in a class method with $& + registers an offense for matching by !~`, $& reference is overrided + corrects matching by !~`, $& reference is overrided + corrects matching by !~` in if guard condition with $100 is used in another method + accepts matching by !~` in method with $~ before if + corrects matching by !~`, $~ reference is overrided + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $100 in block registers an offense for matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in class method, `$2` is in other method + accepts matching by !~` in guard condition with $& is used in the line after that + accepts matching by !~` in method with $100 before unless registers an offense for matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~` in elsif condition + registers an offense for matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~` in case condition + corrects matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in method, `$~` is in other method + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in module, `$1` is in method + registers an offense for matching by !~`, $1 reference is overrided + corrects matching by !~` in ternary operator + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~` in method before `$MATCH` corrects matching by !~` in method before `$~` - accepts matching by !~` in method with $& in block - accepts matching by !~` in guard condition with $~ is used in the line after that - corrects matching by !~` in class, `$&` is in method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with Regexp.last_match(1) - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in if condition + registers an offense for matching by !~`, $' reference is overrided + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in if guard condition with $' is used in another method + corrects matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in class method, `$100` is in other method + accepts matching by !~` in method with Regexp.last_match(1) before if + registers an offense for matching by !~` in ternary operator + registers an offense for matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $' in block + corrects matching by !~` in method, `$100` is in other method + corrects matching by !~` in case condition + corrects matching by !~` in method definition + registers an offense for matching by !~` in module, `$100` is in method + accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in a class method with $~ + accepts matching by !~` in method with $~ + registers an offense for matching by !~` in class, `$`` is in method accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~` in class method, `$`` is in other method - accepts matching by !~` in guard condition with $' is used in the line after that - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + behaves like all legacy match methods corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by !~` in module, `$100` is in method - accepts matching by !~` in method with $` before unless - corrects matching by !~`, $2 reference is overrided - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in class method, `$&` is in other method - corrects matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in a class method with $100 + registers an offense for matching by !~` in method, `$100` is in other method corrects matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in module, `$~` is in method - corrects matching by !~` in method before `$100` - corrects matching by !~` in class method, `$1` is in other method - accepts matching by !~` in a class method with $2 + corrects matching by !~` in if guard condition with $' is used in another method + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in unless condition + accepts matching by !~` in method with $& in block + corrects matching by !~` in class, `$100` is in method + accepts matching by !~` in method with $' before if + registers an offense for matching by !~` in method, `$2` is in other method corrects matching by !~` in if condition - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in method, `$2` is in other method + accepts matching by !~` in method with $100 before unless + corrects matching by !~` in method before `$2` + accepts matching by !~` in method with $' + registers an offense for matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in module, `$'` is in method + accepts matching by !~` in a class method with $' + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method before `$100` + corrects matching by !~` in module, `$&` is in method + corrects matching by !~` in method before `$`` + registers an offense for matching by !~`, $~ reference is overrided + corrects matching by !~`, $' reference is overrided + registers an offense for matching by !~` in class method, `$&` is in other method + accepts matching by !~` in method with $2 before if + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in module, `$2` is in method + corrects matching by !~` in elsif condition + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in method before `$'` registers an offense for matching by !~` in module, `$1` is in method + corrects matching by !~` in if guard condition with $` is used in another method + accepts matching by !~` in method with $2 + corrects matching by !~` in module, `$1` is in method + accepts matching by !~` in method with $~ before unless corrects matching by !~` in class method, `$'` is in other method - corrects matching by !~`, Regexp.last_match(1) reference is overrided - accepts matching by !~` in method with $` in block - corrects matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by !~`, $' reference is overrided - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with Regexp.last_match before if + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in method before `$&` + accepts matching by !~` in guard condition with $& is used in the line after that + corrects matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in ternary operator + corrects matching by !~`, $~ reference is overrided + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with $1 + accepts matching by !~` in method with Regexp.last_match in block registers an offense for matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in a class method with Regexp.last_match(1) - accepts matching by !~` in method with $' before if + corrects matching by !~` in module, `$~` is in method + corrects matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in unless condition + registers an offense for matching by !~` in case condition + corrects matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~`, $2 reference is overrided + corrects matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in method before `$2` + corrects matching by !~` in class method, `$2` is in other method + corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in case condition + accepts matching by !~` in a class method with $1 + registers an offense for matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~`, $MATCH reference is overrided accepts matching by !~` in method with $& before if - registers an offense for matching by !~`, $' reference is overrided - accepts matching by !~` in method with $100 before unless - accepts matching by !~` in method with Regexp.last_match before unless - corrects matching by !~` in method before `$1` - corrects matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in if condition + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with $100 in block + registers an offense for matching by !~` in method before `$100` + corrects matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~`, $2 reference is overrided + accepts matching by !~` in guard condition with $~ is used in the line after that + registers an offense for matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in if guard condition with $100 is used in another method + registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in method with $2 in block + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in module, `$`` is in method + accepts matching by !~` in method with $1 before if + accepts matching by !~` in a class method with $& + corrects matching by !~` in class method, `$~` is in other method + accepts matching by !~` in guard condition with $MATCH is used in the line after that + corrects matching by !~` in class method, `$1` is in other method + corrects matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in class, `$2` is in method corrects matching by !~` in method, `$100` is in other method - corrects matching by !~` in method before `$'` - registers an offense for matching by !~` in module, `$&` is in method - corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in method, `$~` is in other method + corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in class, `$&` is in method + corrects matching by !~`, $100 reference is overrided + corrects matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $MATCH before unless + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $1 before unless accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + accepts matching by !~` in method with $MATCH in block + accepts matching by !~` in method with $~ before if + registers an offense for matching by !~` in method before `$MATCH` + accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in elsif condition + registers an offense for matching by !~` in class method, `$~` is in other method + accepts matching by !~` in method with $~ + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with Regexp.last_match(1) in block + corrects matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in class method, `$'` is in other method + corrects matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in method with $100 before if + registers an offense for matching by !~` in method before `$1` + registers an offense for matching by !~` in method before `$~` + accepts matching by !~` in method with $MATCH before if + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by !~` in method with $' in block + accepts matching by !~` in method with $& before unless accepts matching by !~` in method with $100 + accepts matching by !~` in guard condition with $' is used in the line after that + accepts matching by !~` in a class method with $` + corrects matching by !~` in method before `$1` + registers an offense for matching by !~` in module, `$&` is in method + registers an offense for matching by !~` in class, `$&` is in method + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in class method, `$100` is in other method + corrects matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in ternary operator + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~`, $` reference is overrided + registers an offense for matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in class method, `$1` is in other method + accepts matching by !~` in guard condition with $` is used in the line after that + corrects matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with $1 in block + accepts matching by !~` in a class method with Regexp.last_match + accepts matching by !~` in method with $~ in block + registers an offense for matching by !~` in module, `$~` is in method registers an offense for matching by !~` in method definition - corrects matching by !~` in module, `$~` is in method - accepts matching by !~` in method with $100 in block + accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method before `$'` + registers an offense for matching by !~` in module, `$`` is in method + accepts matching by !~` in guard condition with $100 is used in the line after that + registers an offense for matching by !~` in method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $1 is used in the line after that + registers an offense for matching by !~` in unless condition registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in class, `$2` is in method + accepts matching by !~` in a class method with $2 + registers an offense for matching by !~`, $' reference is overrided + corrects matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~`, $& reference is overrided + accepts matching by !~` in a class method with $MATCH + corrects matching by !~` in method, `$1` is in other method + corrects matching by !~` in unless condition corrects matching by !~`, $& reference is overrided - accepts matching by !~` in a class method with $` - registers an offense for matching by !~` in class method, `$2` is in other method - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in method with $` before if - accepts matching by !~` in method with $` - corrects matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~` in method before `$1` - corrects matching by !~` in module, `$MATCH` is in method - corrects matching by !~` in method before `$&` - accepts matching by !~` in method with $~ before if - registers an offense for matching by !~` in module, `$`` is in method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in method, `$~` is in other method - corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in class, `$`` is in method + corrects matching by !~` in class, `$~` is in method + accepts matching by !~` in method with Regexp.last_match before unless + accepts matching by !~` in method with $& + registers an offense for matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in if guard condition with $& is used in another method corrects matching by !~` in method, `$`` is in other method - registers an offense for matching by !~` in case condition - registers an offense for matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in case condition + accepts matching by !~` in method with $2 before unless + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with $` before unless + corrects matching by !~` in method definition + corrects matching by !~` in class, `$'` is in method + accepts matching by !~` in method with $' before unless + corrects matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in method with $` before if + corrects matching by !~` in method before `$~` + accepts matching by !~` in method with Regexp.last_match(1) before unless + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $` in block + corrects matching by !~` in method before `$MATCH` corrects matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in method, `$'` is in other method + corrects matching by !~` in method, `$&` is in other method + corrects matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in method before `$`` + registers an offense for matching by !~` in class, `$'` is in method + accepts matching by !~` in method with $` + accepts matching by !~` in method with $MATCH + registers an offense for matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with Regexp.last_match(1) + corrects matching by !~`, $1 reference is overrided + accepts matching by !~` in guard condition with $2 is used in the line after that + behaves like all legacy match methods + registers an offense for matching by !~` in method definition + corrects matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with $& before unless + accepts matching by !~` in method with $100 + registers an offense for matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in method before `$MATCH` + registers an offense for matching by !~` in method, `$~` is in other method + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in method, `$2` is in other method accepts matching by !~` in method with Regexp.last_match before if - registers an offense for matching by !~`, Regexp.last_match reference is overrided + accepts matching by !~` in method with $' before unless + corrects matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~`, $MATCH reference is overrided + corrects matching by !~`, $` reference is overrided + corrects matching by !~`, Regexp.last_match(1) reference is overrided accepts matching by !~` in method with $~ - corrects matching by !~` in class, `$`` is in method - corrects matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in method, `$100` is in other method - accepts matching by !~` in method with $2 before unless - registers an offense for matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in method, `$MATCH` is in other method - corrects matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in unless condition + accepts matching by !~` in guard condition with $' is used in the line after that + accepts matching by !~` in method with $1 before unless + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in ternary operator + accepts matching by !~` in method with $1 + accepts matching by !~` in method with $100 before if + corrects matching by !~` in method before `$`` + corrects matching by !~` in method before `$~` + registers an offense for matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in module, `$&` is in method + registers an offense for matching by !~`, $100 reference is overrided + corrects matching by !~` in class, `$'` is in method + accepts matching by !~` in method with $100 before unless + corrects matching by !~` in unless condition + accepts matching by !~` in method with $& before if + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in guard condition with $` is used in the line after that + corrects matching by !~` in class, `$&` is in method + accepts matching by !~` in a class method with Regexp.last_match(1) + accepts matching by !~` in method with Regexp.last_match in block + corrects matching by !~` in method, `$~` is in other method corrects matching by !~`, $100 reference is overrided - accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $100 in block + corrects matching by !~` in class, `$`` is in method accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in class, `$`` is in method - accepts matching by !~` in method with $2 - accepts matching by !~` in a class method with $& - registers an offense for matching by !~`, $1 reference is overrided + corrects matching by !~` in module, `$`` is in method registers an offense for matching by !~` in class, `$1` is in method - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in method before `$2` - accepts matching by !~` in method with $1 corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in module, `$'` is in method corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in a class method with $1 - corrects matching by !~` in if condition - corrects matching by !~` in if guard condition with $' is used in another method - accepts matching by !~` in method with $1 before unless - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in ternary operator - corrects matching by !~` in method before `$2` - accepts matching by !~` in method with $2 before if + registers an offense for matching by !~` in class, `$&` is in method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in method with $1 in block + accepts matching by !~` in a class method with $100 + registers an offense for matching by !~` in method before `$~` corrects matching by !~`, $MATCH reference is overrided - accepts matching by !~` in method with $~ in block - accepts matching by !~` in method with $MATCH in block - registers an offense for matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in class, `$MATCH` is in method - corrects matching by !~` in method definition - behaves like all legacy match methods - accepts matching by =~` in method with $' before if - corrects matching by =~` in class, `$'` is in method - accepts matching by =~` in method with $1 before unless - accepts matching by =~` in method with Regexp.last_match(1) before if - corrects matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in if condition - accepts matching by =~` in method with $` before if - registers an offense for matching by =~` in method, `$2` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - registers an offense for matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in ternary operator - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in guard condition with $MATCH is used in the line after that - accepts matching by =~` in method with $2 - registers an offense for matching by =~`, $100 reference is overrided - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~`, $~ reference is overrided - accepts matching by =~` in a class method with $` - registers an offense for matching by =~` in class method, `$&` is in other method - accepts matching by =~` in a class method with $MATCH - registers an offense for matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in class method, `$100` is in other method - corrects matching by =~` in method definition - corrects matching by =~` in class method, `$2` is in other method - corrects matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~`, $& reference is overrided - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in method definition - corrects matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in method with $' - registers an offense for matching by =~` in method before `$100` - corrects matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in class, `$'` is in method - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in a class method with Regexp.last_match - corrects matching by =~` in class, `$2` is in method - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in method before `$MATCH` - accepts matching by =~` in method with Regexp.last_match(1) in block - accepts matching by =~` in a class method with $100 - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $MATCH in block - registers an offense for matching by =~`, $` reference is overrided - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~`, $100 reference is overrided - accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in if condition - corrects matching by =~` in method before `$`` - accepts matching by =~` in method with $100 before unless - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in method before `$`` - corrects matching by =~` in class, `$100` is in method - corrects matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in case condition - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in method before `$&` - corrects matching by =~` in class method, `$MATCH` is in other method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by =~` in guard condition with $2 is used in the line after that - registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with Regexp.last_match(1) before unless - corrects matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in method, `$&` is in other method - accepts matching by =~` in method with $100 - corrects matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in guard condition with $' is used in the line after that - accepts matching by =~` in method with $2 in block - corrects matching by =~` in elsif condition - registers an offense for matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $MATCH - accepts matching by =~` in method with $& before unless - accepts matching by =~` in method with $2 before if - corrects matching by =~` in method before `$100` - registers an offense for matching by =~` in method, `$100` is in other method - corrects matching by =~` in class, `$1` is in method - corrects matching by =~` in method, `$2` is in other method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~`, $1 reference is overrided - accepts matching by =~` in method with $' in block - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in module, `$100` is in method - corrects matching by =~`, $1 reference is overrided - accepts matching by =~` in a class method with $1 - corrects matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in method before `$~` - accepts matching by =~` in method with Regexp.last_match before if - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $100 before if - registers an offense for matching by =~` in class method, `$'` is in other method - accepts matching by =~` in method with $` - accepts matching by =~` in method with $~ - accepts matching by =~` in method with $1 before if - accepts matching by =~` in guard condition with $100 is used in the line after that - registers an offense for matching by =~` in class method, `$100` is in other method - corrects matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~`, $& reference is overrided - accepts matching by =~` in method with $~ in block - accepts matching by =~` in a class method with $& - accepts matching by =~` in method with $& - registers an offense for matching by =~` in method before `$~` - corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in method before `$'` - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in class method, `$`` is in other method - corrects matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in method with $' before unless - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $2 before unless - registers an offense for matching by =~`, $' reference is overrided - corrects matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in if condition - accepts matching by =~` in method with $` in block - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $& before if - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in class, `$&` is in method - corrects matching by =~` in class, `$~` is in method - accepts matching by =~` in method with $1 in block - corrects matching by =~`, $` reference is overrided - registers an offense for matching by =~`, $2 reference is overrided - accepts matching by =~` in a class method with $' - accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in guard condition with $& is used in the line after that - corrects matching by =~` in module, `$'` is in method - corrects matching by =~`, $2 reference is overrided - corrects matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with $~ before unless - registers an offense for matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in class, `$2` is in method - accepts matching by =~` in method with Regexp.last_match before unless - registers an offense for matching by =~` in method before `$1` - corrects matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in guard condition with $` is used in the line after that - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $~ before if - accepts matching by =~` in method with $1 - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in ternary operator - accepts matching by =~` in method with $& in block - registers an offense for matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in method before `$2` - accepts matching by =~` in a class method with $2 - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in method with $` before unless - accepts matching by =~` in method with Regexp.last_match in block - registers an offense for matching by =~` in elsif condition - accepts matching by =~` in method with Regexp.last_match - corrects matching by =~` in method before `$2` - registers an offense for matching by =~` in method, `$`` is in other method - corrects matching by =~` in module, `$1` is in method - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in module, `$~` is in method - corrects matching by =~` in method before `$&` - accepts matching by =~` in a class method with Regexp.last_match(1) - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in module, `$2` is in method - corrects matching by =~` in unless condition - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in if guard condition with $100 is used in another method - accepts matching by =~` in method with $MATCH before if - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in method before `$1` - corrects matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in module, `$1` is in method - registers an offense for matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in if condition - corrects matching by =~` in unless condition - registers an offense for matching by =~` in module, `$`` is in method - accepts matching by =~` in method with Regexp.last_match(1) - corrects matching by =~`, $' reference is overrided - behaves like all legacy match methods - accepts matching by !~` in method with $1 in block - corrects matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in method definition - corrects matching by !~` in if condition - registers an offense for matching by !~` in module, `$100` is in method - accepts matching by !~` in guard condition with $1 is used in the line after that - registers an offense for matching by !~` in method before `$2` - corrects matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~` in class, `$'` is in method - accepts matching by !~` in method with $' before unless - corrects matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with $1 before unless - registers an offense for matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in class, `$2` is in method - corrects matching by !~` in class, `$&` is in method - accepts matching by !~` in method with $2 before unless - registers an offense for matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - registers an offense for matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in method, `$1` is in other method - corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in method before `$1` - accepts matching by !~` in method with Regexp.last_match(1) before if - corrects matching by !~` in module, `$'` is in method - registers an offense for matching by !~` in if condition - corrects matching by !~`, $~ reference is overrided - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in module, `$~` is in method - accepts matching by !~` in guard condition with $100 is used in the line after that - accepts matching by !~` in a class method with $& - accepts matching by !~` in method with $` before unless - corrects matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in method before `$100` + registers an offense for matching by !~` in method, `$'` is in other method accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~` in class, `$&` is in method - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in method with $` before if - registers an offense for matching by !~` in ternary operator - accepts matching by !~` in a class method with $MATCH + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in if guard condition with $& is used in another method registers an offense for matching by !~` in class method, `$'` is in other method - accepts matching by !~` in guard condition with $` is used in the line after that + corrects matching by !~` in elsif condition + corrects matching by !~`, Regexp.last_match reference is overrided + accepts matching by !~` in method with $` + corrects matching by !~` in method, `$&` is in other method + accepts matching by !~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by !~` in case condition + corrects matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with $' + accepts matching by !~` in method with Regexp.last_match(1) in block + corrects matching by !~` in method, `$'` is in other method + accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in method before `$`` + corrects matching by !~` in if guard condition with $100 is used in another method corrects matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~` in method before `$1` + corrects matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in if guard condition with $100 is used in another method corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in class method, `$~` is in other method + corrects matching by !~` in class, `$1` is in method + corrects matching by !~` in method, `$1` is in other method + accepts matching by !~` in a class method with $& + corrects matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in method with Regexp.last_match(1) registers an offense for matching by !~` in module, `$1` is in method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in method before `Regexp.last_match` + registers an offense for matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in elsif condition + corrects matching by !~` in module, `$1` is in method + accepts matching by !~` in method with $` in block + accepts matching by !~` in guard condition with $1 is used in the line after that + corrects matching by !~` in method before `$100` + accepts matching by !~` in guard condition with $100 is used in the line after that + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in method with $` before if + corrects matching by !~`, $1 reference is overrided + corrects matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in module, `$'` is in method + corrects matching by !~` in if condition + registers an offense for matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in class, `$~` is in method corrects matching by !~` in method, `$100` is in other method - corrects matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in method with $1 - accepts matching by !~` in method with $& - accepts matching by !~` in method with Regexp.last_match(1) before unless - registers an offense for matching by !~`, $' reference is overrided - registers an offense for matching by !~` in module, `$MATCH` is in method - corrects matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in method with $' before if - registers an offense for matching by !~`, $MATCH reference is overrided - accepts matching by !~` in method with $& before unless - accepts matching by !~` in a class method with $1 + corrects matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in method before `Regexp.last_match` + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method accepts matching by !~` in method with $MATCH + corrects matching by !~` in module, `$2` is in method + accepts matching by !~` in method with $MATCH in block + corrects matching by !~` in class method, `$2` is in other method + accepts matching by !~` in method with $2 before if + corrects matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in method before `$'` + registers an offense for matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in case condition + registers an offense for matching by !~`, $& reference is overrided + corrects matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in if guard condition with $~ is used in another method + accepts matching by !~` in method with $` before unless + accepts matching by !~` in method with $' in block + corrects matching by !~` in unless condition + corrects matching by !~` in ternary operator corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in method before `$100` - corrects matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in method with $& in block - accepts matching by !~` in method with $~ - accepts matching by !~` in method with $' - corrects matching by !~` in class, `$'` is in method - registers an offense for matching by !~` in class, `$2` is in method + corrects matching by !~` in method before `$'` + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method corrects matching by !~`, $' reference is overrided - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in module, `$`` is in method - corrects matching by !~` in module, `$`` is in method - corrects matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in method, `$~` is in other method - corrects matching by !~` in unless condition - corrects matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in method with $100 before if - accepts matching by !~` in method with $2 before if + accepts matching by !~` in a class method with $' + corrects matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in method before `$&` + corrects matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in module, `$2` is in method corrects matching by !~` in if condition + corrects matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in a class method with $` + corrects matching by !~` in module, `$'` is in method + accepts matching by !~` in a class method with Regexp.last_match corrects matching by !~` in method, `$2` is in other method - accepts matching by !~` in method with $` - corrects matching by !~` in module, `$1` is in method - accepts matching by !~` in guard condition with $~ is used in the line after that - accepts matching by !~` in method with Regexp.last_match before unless - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in class, `$'` is in method + corrects matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~` in method before `$MATCH` + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method registers an offense for matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in case condition + registers an offense for matching by !~` in if guard condition with $& is used in another method + corrects matching by !~` in method definition + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by !~` in a class method with $1 + accepts matching by !~` in method with $MATCH before unless + accepts matching by !~` in guard condition with $2 is used in the line after that + accepts matching by !~` in method with Regexp.last_match(1) before unless + registers an offense for matching by !~` in class method, `$&` is in other method + accepts matching by !~` in method with $~ in block registers an offense for matching by !~` in method, `$100` is in other method - corrects matching by !~`, $100 reference is overrided - accepts matching by !~` in method with Regexp.last_match before if - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in class method, `$~` is in other method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~`, $~ reference is overrided - corrects matching by !~` in method before `$~` + accepts matching by !~` in method with $& in block + accepts matching by !~` in method with $~ before if registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in module, `$~` is in method - corrects matching by !~` in class, `$1` is in method - accepts matching by !~` in guard condition with $MATCH is used in the line after that - corrects matching by !~` in method before `Regexp.last_match` - corrects matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in guard condition with $2 is used in the line after that - registers an offense for matching by !~` in unless condition - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~`, $2 reference is overrided + accepts matching by !~` in a class method with $2 registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~`, $2 reference is overrided + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided corrects matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in module, `$~` is in method + corrects matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in method before `$2` + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~` in method, `$1` is in other method + corrects matching by !~` in class, `$2` is in method + registers an offense for matching by !~` in class method, `$~` is in other method + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in class method, `$100` is in other method + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~` in class method, `$100` is in other method + corrects matching by !~` in method before `$1` + registers an offense for matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $& is used in the line after that + registers an offense for matching by !~` in class, `$2` is in method + corrects matching by !~` in class method, `$&` is in other method + accepts matching by !~` in method with $1 before if + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~`, $' reference is overrided + registers an offense for matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in method with $' before if + registers an offense for matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in class, `$~` is in method + accepts matching by !~` in method with $2 in block + accepts matching by !~` in method with $MATCH before if corrects matching by !~`, $& reference is overrided - registers an offense for matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in method before `$1` + registers an offense for matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in class method, `$1` is in other method + accepts matching by !~` in method with $& + accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~` in module, `$&` is in method + accepts matching by !~` in guard condition with $~ is used in the line after that + registers an offense for matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $~ before unless + accepts matching by !~` in method with $2 before unless + accepts matching by !~` in method with $2 + registers an offense for matching by !~` in if condition + behaves like all legacy match methods + corrects matching by !~` in elsif condition + corrects matching by !~`, $100 reference is overrided + corrects matching by !~` in method before `$MATCH` + accepts matching by !~` in method with $~ before if + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~` in case condition registers an offense for matching by !~` in class, `$1` is in method - accepts matching by !~` in a class method with Regexp.last_match(1) - corrects matching by !~` in if guard condition with $1 is used in another method corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in method with Regexp.last_match(1) - accepts matching by !~` in method with $MATCH before if - registers an offense for matching by !~` in elsif condition - corrects matching by !~` in unless condition - corrects matching by !~` in method, `$`` is in other method - corrects matching by !~` in method, `$1` is in other method + corrects matching by !~` in if condition + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by !~` in method with $& before if corrects matching by !~` in module, `$&` is in method - corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in a class method with $' - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in method with $' in block - accepts matching by !~` in method with Regexp.last_match in block - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with Regexp.last_match(1) + registers an offense for matching by !~` in method, `$~` is in other method + accepts matching by !~` in method with $100 before if + accepts matching by !~` in method with $` before unless + registers an offense for matching by !~`, $` reference is overrided + registers an offense for matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $` is used in the line after that + registers an offense for matching by !~` in if condition + corrects matching by !~` in method before `$100` + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in method with Regexp.last_match(1) before if + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in module, `$`` is in method + accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~` in if guard condition with $1 is used in another method + accepts matching by !~` in guard condition with $MATCH is used in the line after that + accepts matching by !~` in method with $100 + corrects matching by !~` in class, `$100` is in method registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in method before `$`` - accepts matching by !~` in a class method with $2 - corrects matching by !~` in method before `$`` accepts matching by !~` in a class method with $~ - accepts matching by !~` in method with $MATCH before unless - corrects matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in method, `$`` is in other method - accepts matching by !~` in a class method with $` - corrects matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~` in method before `$100` - accepts matching by !~` in method with $1 before if - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in method definition - corrects matching by !~` in ternary operator - registers an offense for matching by !~` in method, `$2` is in other method - corrects matching by !~` in case condition - accepts matching by !~` in method with $100 in block - accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in class method, `$&` is in other method - accepts matching by !~` in method with $~ in block registers an offense for matching by !~` in class method, `$1` is in other method - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in class method, `$MATCH` is in other method - registers an offense for matching by !~` in if guard condition with $~ is used in another method - corrects matching by !~` in method before `$&` - corrects matching by !~` in class method, `$~` is in other method - corrects matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in class, `$`` is in method + registers an offense for matching by !~`, $' reference is overrided + registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~`, $& reference is overrided + corrects matching by !~` in method before `Regexp.last_match(1)` corrects matching by !~` in method, `$&` is in other method - corrects matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in method with $& before if - accepts matching by !~` in method with $2 - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by !~` in method with $100 - registers an offense for matching by !~` in class, `$`` is in method - accepts matching by !~` in method with $MATCH in block - registers an offense for matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in elsif condition - corrects matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in class, `$~` is in method - registers an offense for matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in if guard condition with $` is used in another method - accepts matching by !~` in method with $2 in block - accepts matching by !~` in a class method with $100 - corrects matching by !~` in module, `$100` is in method - registers an offense for matching by !~`, $& reference is overrided - registers an offense for matching by !~`, $1 reference is overrided - accepts matching by !~` in method with $~ before if - corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in method before `$'` accepts matching by !~` in method with Regexp.last_match - registers an offense for matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in method before `$'` - accepts matching by !~` in guard condition with $' is used in the line after that - registers an offense for matching by !~` in method before `$MATCH` + accepts matching by !~` in method with $1 before if accepts matching by !~` in method with $` in block - corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in class method, `$~` is in other method + corrects matching by !~` in method before `$1` + accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~` in module, `$100` is in method + registers an offense for matching by !~`, Regexp.last_match reference is overrided corrects matching by !~`, $1 reference is overrided - corrects matching by !~` in method before `$MATCH` - behaves like all legacy match methods - corrects Symbol#match method call in module, `$~` is in method - registers an offense for Symbol#match method call in method before `Regexp.last_match` - accepts Symbol#match method call in a class method with $1 - corrects Symbol#match method call in elsif condition - registers an offense for Symbol#match method call, Regexp.last_match reference is overrided - registers an offense for Symbol#match method call in class method, `$1` is in other method - corrects Symbol#match method call in if guard condition with $2 is used in another method - corrects Symbol#match method call in class, `Regexp.last_match` is in method - accepts Symbol#match method call in guard condition with Regexp.last_match(1) is used in the line after that - corrects Symbol#match method call in class method, `$~` is in other method - corrects Symbol#match method call in module, `$1` is in method - registers an offense for Symbol#match method call in class, `$`` is in method - accepts Symbol#match method call in a class method with $~ - accepts Symbol#match method call in guard condition with $1 is used in the line after that - registers an offense for Symbol#match method call in method before `$'` - accepts Symbol#match method call in method with $100 before unless - registers an offense for Symbol#match method call in method, `$`` is in other method - corrects Symbol#match method call in method before `$~` - corrects Symbol#match method call in method, `$&` is in other method - accepts Symbol#match method call in method with $` before unless - accepts Symbol#match method call in guard condition with $~ is used in the line after that - corrects Symbol#match method call in method before `Regexp.last_match(1)` - accepts Symbol#match method call in method with Regexp.last_match(1) before if - corrects Symbol#match method call in class method, `$MATCH` is in other method - registers an offense for Symbol#match method call, Regexp.last_match(1) reference is overrided - registers an offense for Symbol#match method call in if guard condition with $` is used in another method - corrects Symbol#match method call in module, `$`` is in method - registers an offense for Symbol#match method call in class method, `$&` is in other method - corrects Symbol#match method call, $MATCH reference is overrided - corrects Symbol#match method call, $` reference is overrided - corrects Symbol#match method call in method before `$&` - corrects Symbol#match method call in method before `Regexp.last_match` - accepts Symbol#match method call in method with Regexp.last_match before if - registers an offense for Symbol#match method call in method, `$'` is in other method - corrects Symbol#match method call in method before `$100` - accepts Symbol#match method call in method with $MATCH - corrects Symbol#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call in method, `Regexp.last_match` is in other method - registers an offense for Symbol#match method call in class, `Regexp.last_match(1)` is in method - accepts Symbol#match method call in method with Regexp.last_match in block - accepts Symbol#match method call in a class method with $100 - registers an offense for Symbol#match method call in module, `Regexp.last_match` is in method - registers an offense for Symbol#match method call in if guard condition with $1 is used in another method - corrects Symbol#match method call in method, `$100` is in other method - corrects Symbol#match method call in class, `$`` is in method - registers an offense for Symbol#match method call in method, `$2` is in other method - accepts Symbol#match method call in method with $~ - corrects Symbol#match method call in class, `$MATCH` is in method - registers an offense for Symbol#match method call in class, `$~` is in method - registers an offense for Symbol#match method call in if condition - registers an offense for Symbol#match method call in module, `$MATCH` is in method - registers an offense for Symbol#match method call in method, `$100` is in other method - accepts Symbol#match method call in method with $100 - corrects Symbol#match method call in if condition - corrects Symbol#match method call, $2 reference is overrided - corrects Symbol#match method call in method before `$MATCH` - registers an offense for Symbol#match method call in module, `$`` is in method - accepts Symbol#match method call in method with $2 - accepts Symbol#match method call in method with Regexp.last_match - accepts Symbol#match method call in guard condition with Regexp.last_match is used in the line after that - registers an offense for Symbol#match method call in method before `$~` - registers an offense for Symbol#match method call in if guard condition with Regexp.last_match is used in another method - accepts Symbol#match method call in a class method with Regexp.last_match(1) - registers an offense for Symbol#match method call in class method, `$~` is in other method - registers an offense for Symbol#match method call in method before `$2` - corrects Symbol#match method call in class method, `$`` is in other method - registers an offense for Symbol#match method call in method before `$1` - corrects Symbol#match method call in unless condition - accepts Symbol#match method call in method with Regexp.last_match(1) before unless - corrects Symbol#match method call in method definition - accepts Symbol#match method call in method with $~ before if - accepts Symbol#match method call in method with $2 in block - registers an offense for Symbol#match method call in module, `$~` is in method - corrects Symbol#match method call in unless condition - registers an offense for Symbol#match method call, $MATCH reference is overrided - registers an offense for Symbol#match method call in method before `Regexp.last_match(1)` - accepts Symbol#match method call in method with $~ in block - accepts Symbol#match method call in method with $& in block - registers an offense for Symbol#match method call in if guard condition with $& is used in another method - registers an offense for Symbol#match method call in class method, `$`` is in other method - registers an offense for Symbol#match method call in elsif condition - corrects Symbol#match method call in ternary operator - accepts Symbol#match method call in method with Regexp.last_match before unless - corrects Symbol#match method call in class method, `$'` is in other method - registers an offense for Symbol#match method call, $2 reference is overrided - corrects Symbol#match method call in method, `$~` is in other method - accepts Symbol#match method call in guard condition with $100 is used in the line after that - accepts Symbol#match method call in method with $1 before unless - registers an offense for Symbol#match method call in module, `Regexp.last_match(1)` is in method - corrects Symbol#match method call in class method, `$1` is in other method - accepts Symbol#match method call in method with $MATCH before unless - registers an offense for Symbol#match method call in module, `$1` is in method - corrects Symbol#match method call in method before `$'` - registers an offense for Symbol#match method call in unless condition - registers an offense for Symbol#match method call in class method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call in class, `$MATCH` is in method - corrects Symbol#match method call in class, `Regexp.last_match(1)` is in method - accepts Symbol#match method call in method with $~ before unless - accepts Symbol#match method call in guard condition with $` is used in the line after that - corrects Symbol#match method call in class, `$1` is in method - corrects Symbol#match method call in class, `$~` is in method - accepts Symbol#match method call in method with $` in block - corrects Symbol#match method call in if guard condition with $~ is used in another method - registers an offense for Symbol#match method call in method before `$100` - registers an offense for Symbol#match method call in method, `$1` is in other method - registers an offense for Symbol#match method call in if guard condition with $100 is used in another method - registers an offense for Symbol#match method call in class, `Regexp.last_match` is in method - accepts Symbol#match method call in method with $' in block - accepts Symbol#match method call in method with Regexp.last_match(1) - corrects Symbol#match method call in method before `$`` - accepts Symbol#match method call in a class method with $2 - registers an offense for Symbol#match method call in module, `$100` is in method - registers an offense for Symbol#match method call, $1 reference is overrided - accepts Symbol#match method call in method with $MATCH in block - corrects Symbol#match method call in if guard condition with $100 is used in another method - corrects Symbol#match method call in if guard condition with $' is used in another method - registers an offense for Symbol#match method call in if guard condition with Regexp.last_match(1) is used in another method - corrects Symbol#match method call in method, `$1` is in other method - accepts Symbol#match method call in method with $100 before if - accepts Symbol#match method call in method with $' - accepts Symbol#match method call in method with $' before unless - corrects Symbol#match method call in method, `$`` is in other method - registers an offense for Symbol#match method call in method, `$MATCH` is in other method - registers an offense for Symbol#match method call in class, `$&` is in method - corrects Symbol#match method call in method, `$2` is in other method - registers an offense for Symbol#match method call in class, `$2` is in method - registers an offense for Symbol#match method call, $100 reference is overrided - corrects Symbol#match method call, $' reference is overrided - corrects Symbol#match method call in if guard condition with Regexp.last_match is used in another method - accepts Symbol#match method call in guard condition with $& is used in the line after that - registers an offense for Symbol#match method call in class method, `$MATCH` is in other method - accepts Symbol#match method call in guard condition with $' is used in the line after that - accepts Symbol#match method call in method with $' before if - accepts Symbol#match method call in a class method with $MATCH - corrects Symbol#match method call, Regexp.last_match reference is overrided - registers an offense for Symbol#match method call in method before `$`` - accepts Symbol#match method call in method with $2 before if - corrects Symbol#match method call in method before `$2` - corrects Symbol#match method call in class, `$'` is in method - accepts Symbol#match method call in guard condition with $MATCH is used in the line after that - registers an offense for Symbol#match method call in if guard condition with $2 is used in another method - registers an offense for Symbol#match method call in method, `$&` is in other method - corrects Symbol#match method call in if condition - registers an offense for Symbol#match method call in method before `$&` - corrects Symbol#match method call in method, `$MATCH` is in other method - corrects Symbol#match method call in module, `$MATCH` is in method - accepts Symbol#match method call in method with $& before if - registers an offense for Symbol#match method call in unless condition - registers an offense for Symbol#match method call in ternary operator - accepts Symbol#match method call in a class method with Regexp.last_match - corrects Symbol#match method call in class method, `$100` is in other method - registers an offense for Symbol#match method call in method before `$MATCH` - corrects Symbol#match method call in class, `$100` is in method - corrects Symbol#match method call in class method, `Regexp.last_match` is in other method - accepts Symbol#match method call in a class method with $` - registers an offense for Symbol#match method call in module, `$2` is in method - accepts Symbol#match method call in method with $` before if - registers an offense for Symbol#match method call in if guard condition with $' is used in another method - registers an offense for Symbol#match method call in if guard condition with $MATCH is used in another method - registers an offense for Symbol#match method call in class method, `$'` is in other method - corrects Symbol#match method call in class method, `$2` is in other method - registers an offense for Symbol#match method call, $` reference is overrided - corrects Symbol#match method call in class, `$&` is in method - corrects Symbol#match method call, $~ reference is overrided - registers an offense for Symbol#match method call in class method, `$2` is in other method - accepts Symbol#match method call in method with Regexp.last_match(1) in block - corrects Symbol#match method call in if guard condition with $1 is used in another method - accepts Symbol#match method call in method with $2 before unless - registers an offense for Symbol#match method call in case condition - corrects Symbol#match method call in module, `Regexp.last_match(1)` is in method - registers an offense for Symbol#match method call in method definition - registers an offense for Symbol#match method call in class, `$1` is in method - registers an offense for Symbol#match method call in method, `$~` is in other method - corrects Symbol#match method call, $1 reference is overrided - registers an offense for Symbol#match method call in class, `$'` is in method - corrects Symbol#match method call in case condition - corrects Symbol#match method call in module, `$100` is in method - accepts Symbol#match method call in method with $` - corrects Symbol#match method call, $& reference is overrided - corrects Symbol#match method call in if guard condition with $& is used in another method - registers an offense for Symbol#match method call in class method, `$100` is in other method - accepts Symbol#match method call in guard condition with $2 is used in the line after that - accepts Symbol#match method call in method with $1 before if - accepts Symbol#match method call in method with $1 - registers an offense for Symbol#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call, $& reference is overrided - corrects Symbol#match method call in method before `$1` - corrects Symbol#match method call in class, `$2` is in method - corrects Symbol#match method call in class method, `Regexp.last_match(1)` is in other method - corrects Symbol#match method call in module, `$2` is in method - registers an offense for Symbol#match method call in module, `$&` is in method - registers an offense for Symbol#match method call in class method, `Regexp.last_match` is in other method - accepts Symbol#match method call in a class method with $' - accepts Symbol#match method call in method with $& - corrects Symbol#match method call, Regexp.last_match(1) reference is overrided - corrects Symbol#match method call in if guard condition with $MATCH is used in another method - corrects Symbol#match method call, $100 reference is overrided - accepts Symbol#match method call in method with $& before unless - corrects Symbol#match method call in class method, `$&` is in other method - corrects Symbol#match method call in module, `$&` is in method - registers an offense for Symbol#match method call in class, `$100` is in method - accepts Symbol#match method call in method with $100 in block - registers an offense for Symbol#match method call, $' reference is overrided - corrects Symbol#match method call in method, `$'` is in other method - corrects Symbol#match method call in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for Symbol#match method call in module, `$'` is in method - registers an offense for Symbol#match method call in if condition - registers an offense for Symbol#match method call, $~ reference is overrided - accepts Symbol#match method call in a class method with $& - corrects Symbol#match method call in module, `Regexp.last_match` is in method - accepts Symbol#match method call in method with $1 in block - corrects Symbol#match method call in method, `Regexp.last_match` is in other method - corrects Symbol#match method call in if guard condition with $` is used in another method - accepts Symbol#match method call in method with $MATCH before if - corrects Symbol#match method call in module, `$'` is in method - registers an offense for Symbol#match method call in if guard condition with $~ is used in another method - behaves like all legacy match methods - registers an offense for matching by !~`, $1 reference is overrided - corrects matching by !~` in case condition - corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in module, `$100` is in method - accepts matching by !~` in method with $& before if + accepts matching by !~` in guard condition with $~ is used in the line after that + accepts matching by !~` in guard condition with $2 is used in the line after that + registers an offense for matching by !~` in method, `$`` is in other method + accepts matching by !~` in method with $~ in block + registers an offense for matching by !~` in class, `$&` is in method + corrects matching by !~` in module, `$'` is in method + corrects matching by !~` in method definition + accepts matching by !~` in a class method with $MATCH registers an offense for matching by !~` in method, `$1` is in other method - corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in module, `$100` is in method + accepts matching by !~` in method with $100 in block + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in method before `$2` + corrects matching by !~` in method, `$`` is in other method + corrects matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in class, `$~` is in method + corrects matching by !~` in method, `$2` is in other method + accepts matching by !~` in a class method with $` + corrects matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in class method, `$1` is in other method + corrects matching by !~`, $MATCH reference is overrided accepts matching by !~` in method with $MATCH before if - accepts matching by !~` in method with $1 + registers an offense for matching by !~` in class method, `$&` is in other method + accepts matching by !~` in method with $& in block + registers an offense for matching by !~` in method before `$'` + corrects matching by !~`, $' reference is overrided + accepts matching by !~` in a class method with $100 + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in if condition + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by !~` in case condition accepts matching by !~` in method with $2 before unless - accepts matching by !~` in method with $MATCH - corrects matching by !~` in ternary operator - corrects matching by !~` in method before `$`` - corrects matching by !~` in module, `$100` is in method - accepts matching by !~` in method with $100 - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with $2 in block + corrects matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in class, `$`` is in method + registers an offense for matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in if guard condition with $& is used in another method + accepts matching by !~` in a class method with $' + corrects matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in module, `$1` is in method corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in method before `Regexp.last_match` registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in ternary operator registers an offense for matching by !~` in method before `$`` - corrects matching by !~` in class, `$&` is in method - corrects matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in method before `$'` - registers an offense for matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in method with $2 before if - corrects matching by !~`, $100 reference is overrided - accepts matching by !~` in a class method with $' + corrects matching by !~` in module, `$~` is in method + accepts matching by !~` in method with $' before if + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + accepts matching by !~` in a class method with $2 + registers an offense for matching by !~` in class method, `$2` is in other method registers an offense for matching by !~` in method before `$1` - registers an offense for matching by !~` in module, `$1` is in method + accepts matching by !~` in a class method with $1 + accepts matching by !~` in method with $~ before unless registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in module, `$`` is in method - accepts matching by !~` in method with $& in block - accepts matching by !~` in guard condition with $1 is used in the line after that - accepts matching by !~` in method with $` before unless - registers an offense for matching by !~` in class, `$~` is in method - corrects matching by !~` in method, `$'` is in other method - corrects matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in class method, `$2` is in other method - accepts matching by !~` in method with $100 before unless - corrects matching by !~` in module, `$'` is in method - corrects matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in method with Regexp.last_match(1) before if - corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in method before `$&` + accepts matching by !~` in method with $' registers an offense for matching by !~` in module, `$'` is in method - corrects matching by !~` in module, `$~` is in method - accepts matching by !~` in method with $2 in block - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~` in class, `$100` is in method - corrects matching by !~` in class, `$2` is in method - accepts matching by !~` in guard condition with $~ is used in the line after that - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in method before `$100` - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in class, `$'` is in method - corrects matching by !~` in unless condition - registers an offense for matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in module, `$`` is in method - accepts matching by !~` in guard condition with $& is used in the line after that - accepts matching by !~` in method with $` - accepts matching by !~` in method with Regexp.last_match - corrects matching by !~` in unless condition - accepts matching by !~` in method with $100 in block - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in method before `$MATCH` - accepts matching by !~` in a class method with $2 - corrects matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in method before `$~` - registers an offense for matching by !~` in if condition - corrects matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~`, $MATCH reference is overrided - accepts matching by !~` in method with $` before if - accepts matching by !~` in method with Regexp.last_match before if - registers an offense for matching by !~` in class method, `$&` is in other method - corrects matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in method with $~ before if - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method accepts matching by !~` in method with $& - registers an offense for matching by !~` in class, `$2` is in method - registers an offense for matching by !~`, $` reference is overrided - corrects matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in class method, `$~` is in other method - corrects matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in guard condition with $' is used in the line after that - corrects matching by !~` in module, `$1` is in method - corrects matching by !~` in method before `$&` - registers an offense for matching by !~` in if guard condition with $~ is used in another method - corrects matching by !~` in class method, `$2` is in other method + accepts matching by !~` in method with $MATCH before unless + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in method before `$'` accepts matching by !~` in method with $~ - accepts matching by !~` in method with $' - registers an offense for matching by !~`, $MATCH reference is overrided - accepts matching by !~` in a class method with $MATCH + registers an offense for matching by !~` in module, `$&` is in method + registers an offense for matching by !~` in method, `$2` is in other method registers an offense for matching by !~` in module, `$~` is in method - accepts matching by !~` in a class method with $` - accepts matching by !~` in method with Regexp.last_match before unless - corrects matching by !~` in class, `$~` is in method - registers an offense for matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before unless - registers an offense for matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in method, `$100` is in other method - registers an offense for matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in method with Regexp.last_match(1) - corrects matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~` in method before `$100` + corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in class, `$&` is in method accepts matching by !~` in method with $' in block - corrects matching by !~` in if condition - registers an offense for matching by !~` in case condition - corrects matching by !~`, $' reference is overrided - corrects matching by !~` in class method, `$&` is in other method - corrects matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by !~` in method, `$'` is in other method - corrects matching by !~` in method, `$`` is in other method - corrects matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~`, $~ reference is overrided - corrects matching by !~` in elsif condition - registers an offense for matching by !~`, $& reference is overrided - corrects matching by !~` in class method, `$100` is in other method - corrects matching by !~` in class, `$1` is in method - corrects matching by !~`, $~ reference is overrided - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in a class method with $1 - accepts matching by !~` in method with $MATCH in block - accepts matching by !~` in method with $' before unless - accepts matching by !~` in method with $~ in block - registers an offense for matching by !~` in method definition - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in class method, `$1` is in other method - registers an offense for matching by !~` in method before `$2` - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in method with $` in block - accepts matching by !~` in a class method with $100 - corrects matching by !~` in module, `$&` is in method - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in if guard condition with $2 is used in another method + accepts matching by !~` in method with Regexp.last_match(1) in block + corrects matching by !~` in method, `$'` is in other method + accepts matching by !~` in method with $1 before unless + corrects matching by !~` in module, `$1` is in method + accepts matching by !~` in guard condition with $& is used in the line after that + registers an offense for matching by !~` in class, `$2` is in method + registers an offense for matching by !~` in method before `$MATCH` + corrects matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in class, `$'` is in method registers an offense for matching by !~`, $2 reference is overrided corrects matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in method definition + corrects matching by !~`, Regexp.last_match reference is overrided corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~`, $' reference is overrided - corrects matching by !~` in method before `$2` - accepts matching by !~` in method with $~ before unless - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in method with $1 before unless - corrects matching by !~` in method definition - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in method, `$&` is in other method + corrects matching by !~` in class method, `$`` is in other method + accepts matching by !~` in method with Regexp.last_match before if + corrects matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in method with $MATCH + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in a class method with $& + corrects matching by !~` in method before `$`` + corrects matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in method with $1 + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method registers an offense for matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with $' before if - accepts matching by !~` in guard condition with $` is used in the line after that - corrects matching by !~` in if condition - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - accepts matching by !~` in method with $100 before if - corrects matching by !~`, $& reference is overrided + accepts matching by !~` in guard condition with $100 is used in the line after that + registers an offense for matching by !~` in class, `$100` is in method + accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~` in class method, `$MATCH` is in other method registers an offense for matching by !~` in method, `$100` is in other method - corrects matching by !~` in class, `Regexp.last_match` is in method - accepts matching by !~` in method with $1 in block + registers an offense for matching by !~` in module, `Regexp.last_match` is in method registers an offense for matching by !~` in module, `$2` is in method - corrects matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in method before `$1` - accepts matching by !~` in guard condition with $100 is used in the line after that - corrects matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in module, `$&` is in method - corrects matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~` in if guard condition with $` is used in another method + accepts matching by !~` in method with $` + registers an offense for matching by !~` in method, `$&` is in other method + corrects matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in method, `$~` is in other method accepts matching by !~` in method with $2 + accepts matching by !~` in method with $' before unless + corrects matching by !~` in if condition + corrects matching by !~` in if guard condition with $2 is used in another method + accepts matching by !~` in method with $2 before if + corrects matching by !~` in class, `$'` is in method + corrects matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in class, `$MATCH` is in method + corrects matching by !~` in if guard condition with $& is used in another method corrects matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in a class method with $& - accepts matching by !~` in guard condition with $2 is used in the line after that - corrects matching by !~` in class method, `$`` is in other method - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - accepts matching by !~` in a class method with $~ - accepts matching by !~` in method with $1 before if - registers an offense for matching by !~` in method, `$~` is in other method - corrects matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in ternary operator - registers an offense for matching by !~` in method, `$&` is in other method - corrects matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in if guard condition with $` is used in another method - corrects matching by !~`, $1 reference is overrided - corrects matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in class, `$`` is in method - accepts matching by !~` in method with $& before unless - corrects matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in method with $MATCH before unless - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in unless condition + corrects matching by !~` in class, `$2` is in method + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in class method, `$~` is in other method + corrects matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in method, `$1` is in other method corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in method before `$~` + registers an offense for matching by !~` in module, `$MATCH` is in method + registers an offense for matching by !~` in method, `$'` is in other method + registers an offense for matching by !~`, $& reference is overrided + registers an offense for matching by !~`, $MATCH reference is overrided + corrects matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in method with $& before unless + corrects matching by !~` in ternary operator + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in module, `$`` is in method + corrects matching by !~` in unless condition + corrects matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~` in class method, `$100` is in other method + accepts matching by !~` in method with $` before if + corrects matching by !~` in method, `$100` is in other method + accepts matching by !~` in method with $100 before unless + accepts matching by !~` in method with $MATCH in block + registers an offense for matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in class, `$~` is in method + accepts matching by !~` in a class method with Regexp.last_match accepts matching by !~` in method with Regexp.last_match in block - registers an offense for matching by !~` in class, `$&` is in method + corrects matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in method before `$&` + corrects matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in unless condition + accepts matching by !~` in guard condition with $1 is used in the line after that + registers an offense for matching by !~` in if guard condition with $~ is used in another method + accepts matching by !~` in method with $1 in block + corrects matching by !~` in method before `$~` + registers an offense for matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~` in unless condition behaves like all legacy match methods - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~` in class, `$'` is in method - registers an offense for matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in class method, `$&` is in other method - corrects matching by =~` in if guard condition with $` is used in another method - corrects matching by =~`, Regexp.last_match(1) reference is overrided + corrects match method call for a variable with position in method before `$MATCH` + registers an offense for match method call for a variable with position in method, `$1` is in other method + accepts match method call for a variable with position in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for match method call for a variable with position in unless condition + registers an offense for match method call for a variable with position in module, `$~` is in method + corrects match method call for a variable with position, $' reference is overrided + accepts match method call for a variable with position in guard condition with $2 is used in the line after that + corrects match method call for a variable with position in module, `$MATCH` is in method + corrects match method call for a variable with position in if guard condition with $& is used in another method + registers an offense for match method call for a variable with position in module, `$100` is in method + registers an offense for match method call for a variable with position in method, `$100` is in other method + accepts match method call for a variable with position in a class method with $' + registers an offense for match method call for a variable with position, $100 reference is overrided + registers an offense for match method call for a variable with position in module, `$2` is in method + registers an offense for match method call for a variable with position in module, `Regexp.last_match(1)` is in method + registers an offense for match method call for a variable with position in method, `$&` is in other method + registers an offense for match method call for a variable with position in if guard condition with $& is used in another method + accepts match method call for a variable with position in a class method with $& + corrects match method call for a variable with position in ternary operator + corrects match method call for a variable with position in method definition + corrects match method call for a variable with position in class method, `Regexp.last_match` is in other method + corrects match method call for a variable with position in class, `Regexp.last_match` is in method + corrects match method call for a variable with position in module, `$2` is in method + registers an offense for match method call for a variable with position in if guard condition with $' is used in another method + corrects match method call for a variable with position in method before `$1` + corrects match method call for a variable with position in class method, `$&` is in other method + registers an offense for match method call for a variable with position in class method, `$100` is in other method + accepts match method call for a variable with position in a class method with $100 + registers an offense for match method call for a variable with position in method, `Regexp.last_match` is in other method + corrects match method call for a variable with position in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for match method call for a variable with position in class, `$`` is in method + corrects match method call for a variable with position in method before `$&` + registers an offense for match method call for a variable with position in ternary operator + registers an offense for match method call for a variable with position in module, `$'` is in method + corrects match method call for a variable with position in if guard condition with $100 is used in another method + registers an offense for match method call for a variable with position in class method, `$1` is in other method + corrects match method call for a variable with position in if condition + registers an offense for match method call for a variable with position in class, `$~` is in method + accepts match method call for a variable with position in a class method with $2 + accepts match method call for a variable with position in method with $2 before if + registers an offense for match method call for a variable with position in class, `$2` is in method + registers an offense for match method call for a variable with position in method before `$100` + corrects match method call for a variable with position in class, `$'` is in method + accepts match method call for a variable with position in method with $` before unless + accepts match method call for a variable with position in method with $100 before unless + accepts match method call for a variable with position in method with Regexp.last_match + corrects match method call for a variable with position in class method, `$`` is in other method + accepts match method call for a variable with position in method with $& + corrects match method call for a variable with position in method, `$`` is in other method + corrects match method call for a variable with position in method, `$MATCH` is in other method + registers an offense for match method call for a variable with position, Regexp.last_match reference is overrided + registers an offense for match method call for a variable with position, $MATCH reference is overrided + corrects match method call for a variable with position in case condition + corrects match method call for a variable with position in if guard condition with $~ is used in another method + registers an offense for match method call for a variable with position in method before `$1` + accepts match method call for a variable with position in method with $2 + corrects match method call for a variable with position in if guard condition with $' is used in another method + corrects match method call for a variable with position in class method, `$MATCH` is in other method + registers an offense for match method call for a variable with position in method, `$`` is in other method + accepts match method call for a variable with position in method with $& in block + accepts match method call for a variable with position in method with $' before if + registers an offense for match method call for a variable with position in module, `$`` is in method + corrects match method call for a variable with position in class, `$`` is in method + accepts match method call for a variable with position in method with $` in block + accepts match method call for a variable with position in method with $100 in block + accepts match method call for a variable with position in guard condition with $& is used in the line after that + accepts match method call for a variable with position in guard condition with $~ is used in the line after that + registers an offense for match method call for a variable with position in class, `$100` is in method + corrects match method call for a variable with position in module, `$100` is in method + corrects match method call for a variable with position in method, `$100` is in other method + accepts match method call for a variable with position in method with $& before unless + corrects match method call for a variable with position in method before `$'` + corrects match method call for a variable with position in method before `$2` + corrects match method call for a variable with position in if condition + corrects match method call for a variable with position in method, `$~` is in other method + registers an offense for match method call for a variable with position in method, `$~` is in other method + accepts match method call for a variable with position in a class method with $` + corrects match method call for a variable with position in class, `$&` is in method + registers an offense for match method call for a variable with position in class method, `$&` is in other method + accepts match method call for a variable with position in a class method with $~ + accepts match method call for a variable with position in method with Regexp.last_match(1) + accepts match method call for a variable with position in method with $1 before unless + registers an offense for match method call for a variable with position in class method, `Regexp.last_match` is in other method + registers an offense for match method call for a variable with position in if guard condition with $1 is used in another method + corrects match method call for a variable with position in method, `$2` is in other method + corrects match method call for a variable with position in class, `$100` is in method + accepts match method call for a variable with position in method with Regexp.last_match(1) before unless + registers an offense for match method call for a variable with position in method definition + registers an offense for match method call for a variable with position in class, `$&` is in method + registers an offense for match method call for a variable with position in class method, `$'` is in other method + corrects match method call for a variable with position, $~ reference is overrided + accepts match method call for a variable with position in guard condition with $MATCH is used in the line after that + corrects match method call for a variable with position in module, `$'` is in method + registers an offense for match method call for a variable with position in if guard condition with $100 is used in another method + accepts match method call for a variable with position in a class method with Regexp.last_match + accepts match method call for a variable with position in method with $1 before if + registers an offense for match method call for a variable with position, $` reference is overrided + corrects match method call for a variable with position in class method, `$~` is in other method + registers an offense for match method call for a variable with position in if condition + accepts match method call for a variable with position in method with $~ before unless + corrects match method call for a variable with position in method before `$`` + registers an offense for match method call for a variable with position in class, `Regexp.last_match(1)` is in method + corrects match method call for a variable with position in method, `Regexp.last_match(1)` is in other method + accepts match method call for a variable with position in method with $~ + corrects match method call for a variable with position in if guard condition with $2 is used in another method + registers an offense for match method call for a variable with position in method before `$2` + corrects match method call for a variable with position in elsif condition + corrects match method call for a variable with position in class method, `$2` is in other method + corrects match method call for a variable with position, Regexp.last_match reference is overrided + corrects match method call for a variable with position in module, `$`` is in method + registers an offense for match method call for a variable with position in if guard condition with $2 is used in another method + corrects match method call for a variable with position in method, `$1` is in other method + corrects match method call for a variable with position in class method, `Regexp.last_match(1)` is in other method + corrects match method call for a variable with position, Regexp.last_match(1) reference is overrided + accepts match method call for a variable with position in method with Regexp.last_match(1) in block + corrects match method call for a variable with position in method before `$100` + corrects match method call for a variable with position in method, `Regexp.last_match` is in other method + accepts match method call for a variable with position in guard condition with $' is used in the line after that + registers an offense for match method call for a variable with position in method, `$2` is in other method + corrects match method call for a variable with position in module, `$1` is in method + registers an offense for match method call for a variable with position in method before `$`` + accepts match method call for a variable with position in method with $MATCH before unless + corrects match method call for a variable with position in method before `Regexp.last_match(1)` + accepts match method call for a variable with position in method with Regexp.last_match before if + registers an offense for match method call for a variable with position in if guard condition with $MATCH is used in another method + corrects match method call for a variable with position in class method, `$'` is in other method + corrects match method call for a variable with position in method, `$'` is in other method + accepts match method call for a variable with position in method with $` + accepts match method call for a variable with position in method with $~ in block + accepts match method call for a variable with position in method with $~ before if + registers an offense for match method call for a variable with position in class, `$MATCH` is in method + registers an offense for match method call for a variable with position in class, `$'` is in method + accepts match method call for a variable with position in method with $& before if + registers an offense for match method call for a variable with position in module, `$MATCH` is in method + accepts match method call for a variable with position in method with $MATCH in block + corrects match method call for a variable with position in if guard condition with $1 is used in another method + accepts match method call for a variable with position in method with $100 before if + corrects match method call for a variable with position in module, `Regexp.last_match(1)` is in method + accepts match method call for a variable with position in method with $` before if + registers an offense for match method call for a variable with position in method before `Regexp.last_match(1)` + registers an offense for match method call for a variable with position in module, `$1` is in method + accepts match method call for a variable with position in method with $1 in block + corrects match method call for a variable with position in class, `$1` is in method + accepts match method call for a variable with position in guard condition with $100 is used in the line after that + corrects match method call for a variable with position, $` reference is overrided + corrects match method call for a variable with position in unless condition + registers an offense for match method call for a variable with position in class method, `Regexp.last_match(1)` is in other method + corrects match method call for a variable with position in class, `$~` is in method + corrects match method call for a variable with position in class, `$MATCH` is in method + accepts match method call for a variable with position in method with Regexp.last_match before unless + registers an offense for match method call for a variable with position in class method, `$`` is in other method + corrects match method call for a variable with position in unless condition + accepts match method call for a variable with position in method with $2 in block + registers an offense for match method call for a variable with position in method, `$'` is in other method + corrects match method call for a variable with position, $1 reference is overrided + corrects match method call for a variable with position, $MATCH reference is overrided + registers an offense for match method call for a variable with position in class, `$1` is in method + registers an offense for match method call for a variable with position, $& reference is overrided + corrects match method call for a variable with position in method before `Regexp.last_match` + accepts match method call for a variable with position in a class method with $1 + accepts match method call for a variable with position in a class method with $MATCH + registers an offense for match method call for a variable with position in if condition + registers an offense for match method call for a variable with position in class method, `$MATCH` is in other method + corrects match method call for a variable with position in if guard condition with Regexp.last_match is used in another method + registers an offense for match method call for a variable with position in method before `Regexp.last_match` + registers an offense for match method call for a variable with position in method, `$MATCH` is in other method + registers an offense for match method call for a variable with position in method before `$~` + corrects match method call for a variable with position in class method, `$1` is in other method + corrects match method call for a variable with position in module, `Regexp.last_match` is in method + accepts match method call for a variable with position in method with $' in block + registers an offense for match method call for a variable with position in if guard condition with Regexp.last_match(1) is used in another method + corrects match method call for a variable with position in method, `$&` is in other method + registers an offense for match method call for a variable with position in if guard condition with $` is used in another method + corrects match method call for a variable with position in class, `Regexp.last_match(1)` is in method + accepts match method call for a variable with position in method with $MATCH + registers an offense for match method call for a variable with position in if guard condition with Regexp.last_match is used in another method + accepts match method call for a variable with position in guard condition with $1 is used in the line after that + registers an offense for match method call for a variable with position, $1 reference is overrided + accepts match method call for a variable with position in guard condition with $` is used in the line after that + registers an offense for match method call for a variable with position, $~ reference is overrided + accepts match method call for a variable with position in method with Regexp.last_match(1) before if + corrects match method call for a variable with position in if guard condition with $MATCH is used in another method + accepts match method call for a variable with position in guard condition with Regexp.last_match is used in the line after that + corrects match method call for a variable with position in class method, `$100` is in other method + registers an offense for match method call for a variable with position in class method, `$2` is in other method + registers an offense for match method call for a variable with position in if guard condition with $~ is used in another method + registers an offense for match method call for a variable with position, Regexp.last_match(1) reference is overrided + corrects match method call for a variable with position, $& reference is overrided + registers an offense for match method call for a variable with position, $' reference is overrided + corrects match method call for a variable with position, $100 reference is overrided + accepts match method call for a variable with position in method with $' + registers an offense for match method call for a variable with position in case condition + corrects match method call for a variable with position in class, `$2` is in method + corrects match method call for a variable with position, $2 reference is overrided + accepts match method call for a variable with position in a class method with Regexp.last_match(1) + registers an offense for match method call for a variable with position in elsif condition + registers an offense for match method call for a variable with position in method before `$MATCH` + accepts match method call for a variable with position in method with $100 + corrects match method call for a variable with position in module, `$~` is in method + accepts match method call for a variable with position in method with Regexp.last_match in block + accepts match method call for a variable with position in method with $' before unless + accepts match method call for a variable with position in method with $2 before unless + corrects match method call for a variable with position in if guard condition with $` is used in another method + registers an offense for match method call for a variable with position in class, `Regexp.last_match` is in method + registers an offense for match method call for a variable with position in module, `Regexp.last_match` is in method + registers an offense for match method call for a variable with position in unless condition + accepts match method call for a variable with position in method with $MATCH before if + registers an offense for match method call for a variable with position in class method, `$~` is in other method + registers an offense for match method call for a variable with position in method, `Regexp.last_match(1)` is in other method + registers an offense for match method call for a variable with position in method before `$'` + registers an offense for match method call for a variable with position in method before `$&` + corrects match method call for a variable with position in method before `$~` + registers an offense for match method call for a variable with position in module, `$&` is in method + registers an offense for match method call for a variable with position, $2 reference is overrided + corrects match method call for a variable with position in module, `$&` is in method + accepts match method call for a variable with position in method with $1 + behaves like all legacy match methods + registers an offense for matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in class method, `$`` is in other method + accepts matching by =~` in guard condition with $1 is used in the line after that + accepts matching by =~` in method with $& before if + corrects matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~` in class, `$&` is in method + accepts matching by =~` in method with Regexp.last_match + registers an offense for matching by =~` in method before `$~` + registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in unless condition accepts matching by =~` in method with Regexp.last_match(1) - registers an offense for matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in method before `$'` + corrects matching by =~`, $' reference is overrided + accepts matching by =~` in method with $& + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~` in method before `$'` accepts matching by =~` in method with $& before unless - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in class, `$`` is in method - corrects matching by =~` in method definition - registers an offense for matching by =~` in class method, `$'` is in other method - accepts matching by =~` in method with $' - accepts matching by =~` in method with $` before if + registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in case condition + accepts matching by =~` in method with $MATCH before if corrects matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in module, `$'` is in method - accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~`, $2 reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in class method, `$1` is in other method + corrects matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in ternary operator + registers an offense for matching by =~` in method, `$MATCH` is in other method accepts matching by =~` in method with $` before unless - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by =~` in a class method with $MATCH - registers an offense for matching by =~` in method definition - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in method with $1 before if + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in method, `$100` is in other method accepts matching by =~` in method with $2 - accepts matching by =~` in guard condition with $MATCH is used in the line after that - corrects matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in method before `$1` - accepts matching by =~` in a class method with $` - accepts matching by =~` in method with $& in block - accepts matching by =~` in method with Regexp.last_match(1) before if + registers an offense for matching by =~` in method before `$2` + corrects matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in module, `$&` is in method + corrects matching by =~` in class method, `$2` is in other method + corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in method, `$2` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that + corrects matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in method with $' in block corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in if condition - corrects matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in method with $MATCH - registers an offense for matching by =~` in unless condition + corrects matching by =~` in class, `$`` is in method + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in method definition + corrects matching by =~` in method before `$2` + registers an offense for matching by =~`, $MATCH reference is overrided + corrects matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in method with $~ before if + corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in method definition registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $& before if - corrects matching by =~` in class method, `$'` is in other method + accepts matching by =~` in a class method with $MATCH + registers an offense for matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with $& - accepts matching by =~` in a class method with $& - registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~` in case condition - accepts matching by =~` in a class method with $100 - registers an offense for matching by =~` in class method, `$2` is in other method - accepts matching by =~` in a class method with $1 - corrects matching by =~` in class, `$'` is in method - corrects matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in if condition - accepts matching by =~` in method with $~ before unless - registers an offense for matching by =~` in case condition - accepts matching by =~` in method with $~ in block - accepts matching by =~` in method with $1 - corrects matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in method, `$'` is in other method + corrects matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in if guard condition with $' is used in another method + corrects matching by =~`, $MATCH reference is overrided registers an offense for matching by =~` in ternary operator - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with Regexp.last_match before unless - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $100 before if + accepts matching by =~` in guard condition with $100 is used in the line after that registers an offense for matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in class method, `$1` is in other method - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in if guard condition with $' is used in another method - corrects matching by =~`, $' reference is overrided - registers an offense for matching by =~` in method, `$`` is in other method - accepts matching by =~` in method with $~ before if - corrects matching by =~` in method, `$100` is in other method - accepts matching by =~` in guard condition with $& is used in the line after that + accepts matching by =~` in method with $' before if + accepts matching by =~` in method with $2 before if + registers an offense for matching by =~`, $` reference is overrided + registers an offense for matching by =~` in module, `$`` is in method + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by =~` in class method, `$100` is in other method corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in class method, `$2` is in other method - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in method before `$&` - corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class, `$~` is in method + corrects matching by =~` in class method, `$&` is in other method + corrects matching by =~` in class, `$'` is in method corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in elsif condition - corrects matching by =~`, $~ reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~`, $100 reference is overrided - corrects matching by =~`, $1 reference is overrided - corrects matching by =~` in class method, `$~` is in other method + corrects matching by =~` in method before `$&` accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in method, `$2` is in other method + accepts matching by =~` in a class method with $2 + corrects matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in a class method with Regexp.last_match registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~`, $' reference is overrided - accepts matching by =~` in method with $MATCH before if + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $2 in block + accepts matching by =~` in method with $MATCH in block + accepts matching by =~` in method with Regexp.last_match before unless + registers an offense for matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in class, `$`` is in method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `$&` is in other method + accepts matching by =~` in guard condition with $` is used in the line after that + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~`, $& reference is overrided + registers an offense for matching by =~` in unless condition + accepts matching by =~` in method with $1 + accepts matching by =~` in a class method with $1 + accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in method with $1 in block + registers an offense for matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with $` before if + accepts matching by =~` in a class method with $& + corrects matching by =~` in class method, `$~` is in other method + corrects matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in method before `$MATCH` + accepts matching by =~` in method with $MATCH + corrects matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in module, `$2` is in method + accepts matching by =~` in guard condition with $' is used in the line after that + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in method with Regexp.last_match(1) before if + registers an offense for matching by =~`, $100 reference is overrided + accepts matching by =~` in guard condition with $MATCH is used in the line after that + corrects matching by =~` in method before `$100` + accepts matching by =~` in method with $~ before unless + corrects matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in module, `$~` is in method accepts matching by =~` in a class method with Regexp.last_match(1) - corrects matching by =~`, $MATCH reference is overrided - corrects matching by =~`, $2 reference is overrided - accepts matching by =~` in method with $100 before unless - accepts matching by =~` in method with $` in block - registers an offense for matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in method with $' in block - corrects matching by =~` in class, `$`` is in method registers an offense for matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in case condition + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in method before `$100` + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in module, `$~` is in method + corrects matching by =~` in class method, `$100` is in other method accepts matching by =~` in method with Regexp.last_match in block - registers an offense for matching by =~`, $& reference is overrided - corrects matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in method, `$&` is in other method + accepts matching by =~` in method with $100 before if + corrects matching by =~` in method, `$'` is in other method + corrects matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in class method, `$'` is in other method + accepts matching by =~` in method with $2 before unless + accepts matching by =~` in method with $1 before unless + accepts matching by =~` in a class method with $100 registers an offense for matching by =~` in method, `$~` is in other method + accepts matching by =~` in method with $& in block + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method corrects matching by =~`, $` reference is overrided - corrects matching by =~` in module, `$2` is in method - corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~`, $1 reference is overrided - corrects matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with Regexp.last_match - accepts matching by =~` in method with $2 before if - corrects matching by =~` in unless condition - accepts matching by =~` in guard condition with $1 is used in the line after that - registers an offense for matching by =~` in module, `$`` is in method - corrects matching by =~` in method before `$&` - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in method before `$1` - registers an offense for matching by =~`, $100 reference is overrided - corrects matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in a class method with $2 - corrects matching by =~` in method before `$100` - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in unless condition + accepts matching by =~` in a class method with $` + registers an offense for matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with $' before unless + registers an offense for matching by =~` in if guard condition with $1 is used in another method corrects matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided corrects matching by =~` in if condition - registers an offense for matching by =~` in class, `$~` is in method - accepts matching by =~` in guard condition with $' is used in the line after that - accepts matching by =~` in method with $1 before if - corrects matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with $' before if - corrects matching by =~` in class, `$&` is in method - accepts matching by =~` in method with $2 in block - corrects matching by =~` in method before `$2` - accepts matching by =~` in method with $100 accepts matching by =~` in method with $100 in block - accepts matching by =~` in method with Regexp.last_match before if - registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with Regexp.last_match(1) in block + registers an offense for matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in elsif condition + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~`, $~ reference is overrided + accepts matching by =~` in a class method with $~ + corrects matching by =~` in module, `$100` is in method accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in guard condition with $100 is used in the line after that - registers an offense for matching by =~` in module, `$2` is in method + accepts matching by =~` in method with $100 before unless + corrects matching by =~` in method before `$`` registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with Regexp.last_match(1) before unless - corrects matching by =~` in class, `$~` is in method - accepts matching by =~` in a class method with $' - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with $1 in block - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in module, `$1` is in method - accepts matching by =~` in method with $2 before unless - registers an offense for matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $` - corrects matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in class, `$2` is in method + accepts matching by =~` in method with Regexp.last_match before if + registers an offense for matching by =~` in class method, `$MATCH` is in other method corrects matching by =~` in method before `$~` + accepts matching by =~` in method with $~ + corrects matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in class, `$1` is in method + accepts matching by =~` in method with $` registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in module, `$1` is in method + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in if condition + corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in method with $' + corrects matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in elsif condition + registers an offense for matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in method before `$1` + registers an offense for matching by =~` in class, `$'` is in method + corrects matching by =~`, $& reference is overrided + accepts matching by =~` in method with $100 + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~` in method before `$1` + corrects matching by =~` in unless condition + registers an offense for matching by =~` in class method, `$2` is in other method + corrects matching by =~`, $100 reference is overrided + accepts matching by =~` in method with $` in block + corrects matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in a class method with $' registers an offense for matching by =~` in class, `$MATCH` is in method + behaves like all legacy match methods + accepts matching by =~` in a class method with $2 + registers an offense for matching by =~` in if condition + corrects matching by =~` in if condition + accepts matching by =~` in method with $MATCH + accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in class method, `$&` is in other method + accepts matching by =~` in method with $~ before unless + accepts matching by =~` in a class method with $MATCH + registers an offense for matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in method with $2 in block + corrects matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~` in method before `Regexp.last_match` + registers an offense for matching by =~` in method before `$`` + accepts matching by =~` in method with $& before unless + corrects matching by =~` in class, `$1` is in method + corrects matching by =~`, $~ reference is overrided + accepts matching by =~` in method with $' before unless + registers an offense for matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in method before `$MATCH` corrects matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $MATCH in block - corrects matching by =~` in if guard condition with $' is used in another method + accepts matching by =~` in method with Regexp.last_match in block + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~`, $& reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by =~` in class, `$'` is in method + accepts matching by =~` in method with $2 before unless + registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in method before `$2` + corrects matching by =~` in module, `$~` is in method + corrects matching by =~` in class, `$MATCH` is in method + corrects matching by =~`, $100 reference is overrided + accepts matching by =~` in method with $1 + corrects matching by =~` in method before `$100` + corrects matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $' + corrects matching by =~` in method, `$&` is in other method + corrects matching by =~` in ternary operator + registers an offense for matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in module, `$'` is in method registers an offense for matching by =~` in class method, `$1` is in other method - corrects matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $` in block + registers an offense for matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in method, `$`` is in other method + corrects matching by =~` in unless condition + registers an offense for matching by =~` in case condition + registers an offense for matching by =~` in class, `$~` is in method + accepts matching by =~` in a class method with $~ registers an offense for matching by =~` in elsif condition + registers an offense for matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + accepts matching by =~` in method with $` + registers an offense for matching by =~` in if guard condition with $100 is used in another method + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in class, `$&` is in method registers an offense for matching by =~` in unless condition - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in method before `$`` - registers an offense for matching by =~`, $2 reference is overrided - corrects matching by =~` in module, `$'` is in method - corrects matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in unless condition - registers an offense for matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in module, `$&` is in method - accepts matching by =~` in method with $~ - registers an offense for matching by =~` in method before `$~` - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in if guard condition with $~ is used in another method - accepts matching by =~` in a class method with Regexp.last_match - corrects matching by =~` in module, `$MATCH` is in method + accepts matching by =~` in method with $2 before if + accepts matching by =~` in a class method with $` + registers an offense for matching by =~` in module, `$'` is in method + accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in method with Regexp.last_match(1) before unless + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method registers an offense for matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in ternary operator - registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in module, `$100` is in method + corrects matching by =~`, $1 reference is overrided registers an offense for matching by =~` in method before `$100` - registers an offense for matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with $' before unless - registers an offense for matching by =~` in method, `$2` is in other method - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in method before `$'` - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~`, $& reference is overrided - corrects matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in class method, `$`` is in other method - accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in method with $1 in block + corrects matching by =~` in method before `$&` + accepts matching by =~` in a class method with $100 + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $2 registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in method, `$100` is in other method - corrects matching by =~` in method, `$2` is in other method - behaves like all legacy match methods - registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $` - accepts matching by =~` in a class method with $& - registers an offense for matching by =~` in class, `$&` is in method - accepts matching by =~` in guard condition with $& is used in the line after that - registers an offense for matching by =~`, $& reference is overrided + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in case condition + accepts matching by =~` in method with $100 before if + registers an offense for matching by =~` in method, `$MATCH` is in other method accepts matching by =~` in guard condition with $` is used in the line after that - corrects matching by =~`, $~ reference is overrided - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in module, `$100` is in method - accepts matching by =~` in method with $' - corrects matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in method, `$&` is in other method + accepts matching by =~` in method with $~ before if + registers an offense for matching by =~`, $1 reference is overrided registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~` in class, `$`` is in method - corrects matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~`, $& reference is overrided - accepts matching by =~` in method with $MATCH before unless - corrects matching by =~` in module, `$100` is in method - corrects matching by =~` in class method, `$'` is in other method - corrects matching by =~`, $` reference is overrided - corrects matching by =~` in module, `$&` is in method - corrects matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in method, `$2` is in other method - accepts matching by =~` in a class method with $` - corrects matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in elsif condition - accepts matching by =~` in guard condition with $~ is used in the line after that - registers an offense for matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in method before `$2` - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in a class method with $MATCH - accepts matching by =~` in method with $~ + accepts matching by =~` in method with $MATCH before if registers an offense for matching by =~` in method before `$~` - corrects matching by =~` in method before `$2` - accepts matching by =~` in method with $` in block - accepts matching by =~` in method with $& before if - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in class, `$2` is in method - corrects matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~` in class method, `$'` is in other method + corrects matching by =~` in module, `$1` is in method registers an offense for matching by =~` in method before `$1` - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in class, `$MATCH` is in method - corrects matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in class, `$'` is in method - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in if condition - accepts matching by =~` in method with Regexp.last_match(1) - accepts matching by =~` in method with $2 before if - accepts matching by =~` in a class method with $2 - registers an offense for matching by =~` in method before `$`` - accepts matching by =~` in method with Regexp.last_match in block - accepts matching by =~` in method with Regexp.last_match before if - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~`, $' reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) before unless - accepts matching by =~` in method with $' before if - corrects matching by =~` in method before `$1` - accepts matching by =~` in a class method with Regexp.last_match - corrects matching by =~` in method before `$'` - accepts matching by =~` in method with $MATCH - accepts matching by =~` in method with $' in block - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in method before `$`` + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~`, $& reference is overrided + corrects matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in method with $MATCH before unless + accepts matching by =~` in method with $100 in block + registers an offense for matching by =~` in method definition corrects matching by =~` in if condition - registers an offense for matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in method, `$2` is in other method - accepts matching by =~` in a class method with Regexp.last_match(1) - accepts matching by =~` in method with Regexp.last_match(1) before if - registers an offense for matching by =~` in method, `$~` is in other method - accepts matching by =~` in method with $MATCH before if - accepts matching by =~` in method with $` before if - corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $& in block + registers an offense for matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~`, $~ reference is overrided + corrects matching by =~` in method before `$1` + registers an offense for matching by =~` in class method, `$MATCH` is in other method accepts matching by =~` in a class method with $1 - registers an offense for matching by =~` in module, `$&` is in method - corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` registers an offense for matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in module, `Regexp.last_match` is in method corrects matching by =~` in class, `$&` is in method - corrects matching by =~` in method, `$~` is in other method - accepts matching by =~` in method with $& + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $& before if accepts matching by =~` in method with $100 - accepts matching by =~` in method with $2 in block - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in unless condition - corrects matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in module, `$`` is in method + accepts matching by =~` in method with $& registers an offense for matching by =~` in method before `$'` - accepts matching by =~` in method with $& in block - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in if condition - registers an offense for matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in ternary operator - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in class method, `$100` is in other method - corrects matching by =~`, $100 reference is overrided - corrects matching by =~` in method, `$100` is in other method - accepts matching by =~` in method with $100 before if + accepts matching by =~` in method with Regexp.last_match before if + registers an offense for matching by =~` in class, `$1` is in method + accepts matching by =~` in method with Regexp.last_match + accepts matching by =~` in method with Regexp.last_match(1) before if accepts matching by =~` in guard condition with $MATCH is used in the line after that + corrects matching by =~` in class method, `$1` is in other method accepts matching by =~` in method with $1 before if - registers an offense for matching by =~` in method definition + accepts matching by =~` in guard condition with $~ is used in the line after that + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that registers an offense for matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in class, `$100` is in method + registers an offense for matching by =~` in method, `$1` is in other method + registers an offense for matching by =~` in class method, `$~` is in other method + accepts matching by =~` in method with $' in block + corrects matching by =~` in class, `$2` is in method corrects matching by =~` in module, `$MATCH` is in method - corrects matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in method, `$100` is in other method - corrects matching by =~` in class, `$'` is in method + accepts matching by =~` in a class method with Regexp.last_match + corrects matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method before `$`` + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class method, `$100` is in other method + corrects matching by =~` in module, `$&` is in method + corrects matching by =~` in class, `$~` is in method + corrects matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in method before `$2` corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~`, $2 reference is overrided corrects matching by =~` in elsif condition - corrects matching by =~`, $1 reference is overrided - accepts matching by =~` in method with $2 - accepts matching by =~` in guard condition with $2 is used in the line after that - corrects matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $100 before unless - accepts matching by =~` in a class method with $' - accepts matching by =~` in guard condition with $' is used in the line after that - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in class, `$MATCH` is in method - accepts matching by =~` in method with $' before unless corrects matching by =~` in method before `$~` - accepts matching by =~` in method with $1 in block - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in module, `$`` is in method + corrects matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in method with $MATCH in block + corrects matching by =~` in class method, `$'` is in other method + corrects matching by =~`, $' reference is overrided + corrects matching by =~` in method, `$2` is in other method + accepts matching by =~` in method with $` before unless + registers an offense for matching by =~` in class, `$2` is in method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with $` before if + accepts matching by =~` in method with Regexp.last_match(1) in block + registers an offense for matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in a class method with $' + corrects matching by =~` in method, `$100` is in other method corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in method before `$100` - registers an offense for matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in class method, `$2` is in other method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in class, `$1` is in method + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in method with $100 before unless + accepts matching by =~` in a class method with $& + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in method with $2 before unless - corrects matching by =~` in class method, `$2` is in other method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by =~` in class method, `$~` is in other method - corrects matching by =~` in class, `$~` is in method - corrects matching by =~` in class, `$2` is in method - registers an offense for matching by =~`, $1 reference is overrided - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in method before `$&` - registers an offense for matching by =~` in method, `$MATCH` is in other method - corrects matching by =~` in method before `$100` - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in module, `$'` is in method - corrects matching by =~` in method before `$&` - registers an offense for matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in method with $~ before unless - accepts matching by =~` in method with $~ before if - accepts matching by =~` in a class method with $100 - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in class method, `$100` is in other method + accepts matching by =~` in method with $1 before unless + accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in method before `$'` + registers an offense for matching by =~` in class method, `$'` is in other method + corrects matching by =~` in method, `$~` is in other method + accepts matching by =~` in method with Regexp.last_match(1) + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in if guard condition with $' is used in another method registers an offense for matching by =~` in unless condition - corrects matching by =~` in method, `$1` is in other method - corrects matching by =~` in method, `$MATCH` is in other method - corrects matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in guard condition with $100 is used in the line after that - corrects matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in method with $1 - corrects matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in case condition - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in module, `$MATCH` is in method - corrects matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in ternary operator - accepts matching by =~` in method with $` before unless + corrects matching by =~`, $MATCH reference is overrided + corrects matching by =~`, $` reference is overrided + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in method, `$'` is in other method corrects matching by =~` in method definition - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~`, $' reference is overrided + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in method with Regexp.last_match before unless + corrects matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in method before `$&` + registers an offense for matching by =~` in method, `$2` is in other method + corrects matching by =~` in class, `$'` is in method + registers an offense for matching by =~`, $` reference is overrided corrects matching by =~` in unless condition - registers an offense for matching by =~`, $2 reference is overrided - corrects matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that + accepts matching by =~` in method with $' before if + corrects matching by =~` in class, `$100` is in method + corrects matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $~ registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in method with Regexp.last_match before unless - accepts matching by =~` in method with $MATCH in block - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in module, `$1` is in method - corrects matching by =~` in method, `$'` is in other method - behaves like all legacy match methods - registers an offense for match method call for a variable with position in method, `$MATCH` is in other method - corrects match method call for a variable with position, $MATCH reference is overrided - registers an offense for match method call for a variable with position in class, `$&` is in method - accepts match method call for a variable with position in method with Regexp.last_match - accepts match method call for a variable with position in method with $` before if - registers an offense for match method call for a variable with position in method, `$'` is in other method - registers an offense for match method call for a variable with position in method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable with position in method before `$MATCH` - registers an offense for match method call for a variable with position in class, `Regexp.last_match(1)` is in method - accepts match method call for a variable with position in guard condition with $& is used in the line after that - accepts match method call for a variable with position in method with Regexp.last_match(1) - registers an offense for match method call for a variable with position in class method, `$~` is in other method - accepts match method call for a variable with position in method with $& in block - registers an offense for match method call for a variable with position in module, `$2` is in method - registers an offense for match method call for a variable with position, $MATCH reference is overrided - corrects match method call for a variable with position in method before `Regexp.last_match(1)` - corrects match method call for a variable with position in method before `$~` - registers an offense for match method call for a variable with position, $` reference is overrided - registers an offense for match method call for a variable with position in class, `$'` is in method - accepts match method call for a variable with position in method with $1 in block - corrects match method call for a variable with position in class, `$100` is in method - corrects match method call for a variable with position in method, `Regexp.last_match` is in other method - corrects match method call for a variable with position in if guard condition with $100 is used in another method - registers an offense for match method call for a variable with position in method before `Regexp.last_match(1)` - corrects match method call for a variable with position in if guard condition with Regexp.last_match is used in another method - accepts match method call for a variable with position in method with $1 before if - registers an offense for match method call for a variable with position in class method, `$'` is in other method - corrects match method call for a variable with position in method, `$~` is in other method - registers an offense for match method call for a variable with position in if guard condition with $` is used in another method - corrects match method call for a variable with position in if guard condition with $MATCH is used in another method - accepts match method call for a variable with position in method with $MATCH - accepts match method call for a variable with position in a class method with $~ - corrects match method call for a variable with position in method before `$1` - registers an offense for match method call for a variable with position in method before `$&` - corrects match method call for a variable with position in elsif condition - accepts match method call for a variable with position in a class method with $MATCH - corrects match method call for a variable with position, $100 reference is overrided - corrects match method call for a variable with position, $` reference is overrided - registers an offense for match method call for a variable with position in ternary operator - corrects match method call for a variable with position in module, `$'` is in method - accepts match method call for a variable with position in method with $100 - accepts match method call for a variable with position in method with $MATCH in block - corrects match method call for a variable with position in if guard condition with $~ is used in another method - registers an offense for match method call for a variable with position in class method, `$MATCH` is in other method - corrects match method call for a variable with position in class method, `$MATCH` is in other method - accepts match method call for a variable with position in method with Regexp.last_match(1) in block - corrects match method call for a variable with position in method, `$2` is in other method - registers an offense for match method call for a variable with position, $100 reference is overrided - registers an offense for match method call for a variable with position in method before `$`` - accepts match method call for a variable with position in a class method with $` - accepts match method call for a variable with position in method with $1 - corrects match method call for a variable with position in method, `$&` is in other method - corrects match method call for a variable with position in class, `Regexp.last_match` is in method - corrects match method call for a variable with position in method, `$1` is in other method - registers an offense for match method call for a variable with position in class method, `$1` is in other method - accepts match method call for a variable with position in method with $' - registers an offense for match method call for a variable with position in method, `Regexp.last_match(1)` is in other method - corrects match method call for a variable with position, Regexp.last_match(1) reference is overrided - corrects match method call for a variable with position in class, `$&` is in method - registers an offense for match method call for a variable with position in class, `$`` is in method - accepts match method call for a variable with position in guard condition with $' is used in the line after that - registers an offense for match method call for a variable with position in module, `$`` is in method - accepts match method call for a variable with position in guard condition with $100 is used in the line after that - registers an offense for match method call for a variable with position in module, `$'` is in method - accepts match method call for a variable with position in a class method with $100 - corrects match method call for a variable with position in class method, `$100` is in other method - corrects match method call for a variable with position in module, `Regexp.last_match(1)` is in method - registers an offense for match method call for a variable with position in class method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable with position in class, `$100` is in method - corrects match method call for a variable with position in method before `$MATCH` - corrects match method call for a variable with position in case condition - registers an offense for match method call for a variable with position in method, `$&` is in other method - accepts match method call for a variable with position in a class method with Regexp.last_match(1) - registers an offense for match method call for a variable with position, Regexp.last_match(1) reference is overrided - corrects match method call for a variable with position in method before `$&` - registers an offense for match method call for a variable with position in unless condition - registers an offense for match method call for a variable with position, $1 reference is overrided - corrects match method call for a variable with position in ternary operator - corrects match method call for a variable with position in class method, `$1` is in other method - corrects match method call for a variable with position in class method, `$'` is in other method - corrects match method call for a variable with position, $& reference is overrided - accepts match method call for a variable with position in method with $~ - registers an offense for match method call for a variable with position in if condition - corrects match method call for a variable with position, $1 reference is overrided - accepts match method call for a variable with position in guard condition with Regexp.last_match(1) is used in the line after that - corrects match method call for a variable with position in class method, `$`` is in other method - corrects match method call for a variable with position in module, `$&` is in method - registers an offense for match method call for a variable with position in module, `$100` is in method - registers an offense for match method call for a variable with position in class method, `$2` is in other method - accepts match method call for a variable with position in guard condition with $1 is used in the line after that - corrects match method call for a variable with position in if guard condition with $' is used in another method - accepts match method call for a variable with position in method with $100 in block - accepts match method call for a variable with position in method with $` in block - corrects match method call for a variable with position in module, `Regexp.last_match` is in method - corrects match method call for a variable with position in method before `$'` - accepts match method call for a variable with position in method with Regexp.last_match before unless - corrects match method call for a variable with position in class, `$`` is in method - accepts match method call for a variable with position in method with $2 - registers an offense for match method call for a variable with position in method before `Regexp.last_match` - corrects match method call for a variable with position in module, `$100` is in method - registers an offense for match method call for a variable with position in class method, `$&` is in other method - corrects match method call for a variable with position in if guard condition with $1 is used in another method - registers an offense for match method call for a variable with position in method, `$1` is in other method - registers an offense for match method call for a variable with position in module, `Regexp.last_match(1)` is in method - accepts match method call for a variable with position in method with $100 before unless - accepts match method call for a variable with position in guard condition with $2 is used in the line after that - accepts match method call for a variable with position in a class method with $2 - corrects match method call for a variable with position in class, `$MATCH` is in method - accepts match method call for a variable with position in method with $' before unless - accepts match method call for a variable with position in method with $1 before unless - registers an offense for match method call for a variable with position in method, `$~` is in other method - accepts match method call for a variable with position in method with $2 before unless - accepts match method call for a variable with position in method with Regexp.last_match(1) before if - corrects match method call for a variable with position in class method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable with position in method, `$`` is in other method - corrects match method call for a variable with position in method, `$'` is in other method - accepts match method call for a variable with position in method with $' before if - registers an offense for match method call for a variable with position in class, `$MATCH` is in method - corrects match method call for a variable with position in class method, `Regexp.last_match(1)` is in other method - corrects match method call for a variable with position in unless condition - corrects match method call for a variable with position in method before `$2` - accepts match method call for a variable with position in method with $~ before if - corrects match method call for a variable with position, $2 reference is overrided - accepts match method call for a variable with position in method with $` before unless - registers an offense for match method call for a variable with position in method, `$2` is in other method - registers an offense for match method call for a variable with position, Regexp.last_match reference is overrided - registers an offense for match method call for a variable with position in if guard condition with $1 is used in another method - accepts match method call for a variable with position in a class method with $' - registers an offense for match method call for a variable with position in case condition - registers an offense for match method call for a variable with position in if guard condition with $~ is used in another method - registers an offense for match method call for a variable with position in if guard condition with Regexp.last_match(1) is used in another method - corrects match method call for a variable with position in method before `$`` - corrects match method call for a variable with position in method before `$100` - accepts match method call for a variable with position in method with $~ in block - registers an offense for match method call for a variable with position in if guard condition with $' is used in another method - registers an offense for match method call for a variable with position in module, `$&` is in method - accepts match method call for a variable with position in method with $' in block - registers an offense for match method call for a variable with position, $~ reference is overrided - registers an offense for match method call for a variable with position in method before `$~` - corrects match method call for a variable with position in module, `$`` is in method - corrects match method call for a variable with position, $~ reference is overrided - registers an offense for match method call for a variable with position in module, `$~` is in method - corrects match method call for a variable with position in method, `$`` is in other method - corrects match method call for a variable with position in method definition - corrects match method call for a variable with position in method, `Regexp.last_match(1)` is in other method - accepts match method call for a variable with position in guard condition with Regexp.last_match is used in the line after that - registers an offense for match method call for a variable with position in class, `$2` is in method - corrects match method call for a variable with position, $' reference is overrided - accepts match method call for a variable with position in method with $MATCH before if - registers an offense for match method call for a variable with position in class, `Regexp.last_match` is in method - registers an offense for match method call for a variable with position in method before `$1` - registers an offense for match method call for a variable with position in class, `$1` is in method - corrects match method call for a variable with position in class method, `$&` is in other method - corrects match method call for a variable with position in method before `Regexp.last_match` - accepts match method call for a variable with position in guard condition with $MATCH is used in the line after that - registers an offense for match method call for a variable with position in class method, `$`` is in other method - corrects match method call for a variable with position in if guard condition with $2 is used in another method - registers an offense for match method call for a variable with position, $& reference is overrided - corrects match method call for a variable with position in method, `$MATCH` is in other method - corrects match method call for a variable with position in if guard condition with $` is used in another method - accepts match method call for a variable with position in method with $100 before if - accepts match method call for a variable with position in a class method with $1 - corrects match method call for a variable with position in class, `Regexp.last_match(1)` is in method - accepts match method call for a variable with position in method with Regexp.last_match(1) before unless - accepts match method call for a variable with position in method with $MATCH before unless - registers an offense for match method call for a variable with position in class method, `$100` is in other method - registers an offense for match method call for a variable with position in elsif condition - corrects match method call for a variable with position in class method, `$2` is in other method - corrects match method call for a variable with position in class method, `$~` is in other method - registers an offense for match method call for a variable with position in class, `$~` is in method - corrects match method call for a variable with position in unless condition - corrects match method call for a variable with position in module, `$2` is in method - registers an offense for match method call for a variable with position in if guard condition with Regexp.last_match is used in another method - registers an offense for match method call for a variable with position, $2 reference is overrided - accepts match method call for a variable with position in method with $& - corrects match method call for a variable with position in class, `$~` is in method - registers an offense for match method call for a variable with position in if guard condition with $MATCH is used in another method - registers an offense for match method call for a variable with position in unless condition - registers an offense for match method call for a variable with position in module, `$1` is in method - accepts match method call for a variable with position in method with $& before unless - corrects match method call for a variable with position in method, `$100` is in other method - corrects match method call for a variable with position in class, `$'` is in method - corrects match method call for a variable with position in if guard condition with $& is used in another method - registers an offense for match method call for a variable with position in if guard condition with $& is used in another method - registers an offense for match method call for a variable with position in if guard condition with $100 is used in another method - accepts match method call for a variable with position in guard condition with $` is used in the line after that - registers an offense for match method call for a variable with position in method before `$100` - registers an offense for match method call for a variable with position in if guard condition with $2 is used in another method - accepts match method call for a variable with position in method with $& before if - registers an offense for match method call for a variable with position in method before `$'` - accepts match method call for a variable with position in method with Regexp.last_match in block - accepts match method call for a variable with position in a class method with $& - corrects match method call for a variable with position, Regexp.last_match reference is overrided - corrects match method call for a variable with position in module, `$~` is in method - registers an offense for match method call for a variable with position in class method, `Regexp.last_match(1)` is in other method - corrects match method call for a variable with position in class, `$1` is in method - corrects match method call for a variable with position in class, `$2` is in method - registers an offense for match method call for a variable with position in if condition - registers an offense for match method call for a variable with position in module, `$MATCH` is in method - corrects match method call for a variable with position in module, `$1` is in method - accepts match method call for a variable with position in method with $2 before if - accepts match method call for a variable with position in method with $2 in block - accepts match method call for a variable with position in a class method with Regexp.last_match - registers an offense for match method call for a variable with position in method definition - corrects match method call for a variable with position in if condition - registers an offense for match method call for a variable with position in method before `$2` - accepts match method call for a variable with position in method with $` - registers an offense for match method call for a variable with position, $' reference is overrided - accepts match method call for a variable with position in method with $~ before unless - registers an offense for match method call for a variable with position in method, `$100` is in other method - corrects match method call for a variable with position in module, `$MATCH` is in method - accepts match method call for a variable with position in guard condition with $~ is used in the line after that - accepts match method call for a variable with position in method with Regexp.last_match before if - corrects match method call for a variable with position in if guard condition with Regexp.last_match(1) is used in another method - corrects match method call for a variable with position in if condition - registers an offense for match method call for a variable with position in module, `Regexp.last_match` is in method - behaves like all legacy match methods - corrects matching by ===` in module, `$1` is in method - accepts matching by ===` in method with $1 before if - registers an offense for matching by ===` in if guard condition with $MATCH is used in another method - accepts matching by ===` in method with $~ - accepts matching by ===` in method with $1 - registers an offense for matching by ===` in elsif condition - corrects matching by ===` in class, `$&` is in method - corrects matching by ===` in module, `Regexp.last_match` is in method - registers an offense for matching by ===`, $& reference is overrided - accepts matching by ===` in a class method with $& - corrects matching by ===` in class, `$~` is in method - corrects matching by ===` in class method, `$MATCH` is in other method - registers an offense for matching by ===` in module, `$2` is in method - corrects matching by ===` in ternary operator - registers an offense for matching by ===` in method before `Regexp.last_match(1)` - registers an offense for matching by ===` in class, `Regexp.last_match` is in method - registers an offense for matching by ===` in ternary operator - corrects matching by ===` in class, `$`` is in method - corrects matching by ===` in method, `Regexp.last_match` is in other method - registers an offense for matching by ===` in module, `Regexp.last_match(1)` is in method - accepts matching by ===` in method with Regexp.last_match before if - corrects matching by ===` in if condition - corrects matching by ===` in method, `$100` is in other method - registers an offense for matching by ===` in method, `$100` is in other method - registers an offense for matching by ===` in method before `$1` - corrects matching by ===` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by ===` in method with $MATCH before unless - accepts matching by ===` in guard condition with $` is used in the line after that - registers an offense for matching by ===` in if guard condition with $& is used in another method - registers an offense for matching by ===` in method, `$1` is in other method - registers an offense for matching by ===` in method before `$&` - registers an offense for matching by ===` in method before `Regexp.last_match` - corrects matching by ===` in unless condition - registers an offense for matching by ===` in class method, `Regexp.last_match` is in other method - accepts matching by ===` in method with $& before unless - registers an offense for matching by ===`, $2 reference is overrided - corrects matching by ===` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by ===`, $MATCH reference is overrided - corrects matching by ===` in method before `$~` - registers an offense for matching by ===` in if guard condition with Regexp.last_match is used in another method - accepts matching by ===` in a class method with $100 - corrects matching by ===` in method before `$100` - registers an offense for matching by ===`, Regexp.last_match reference is overrided - accepts matching by ===` in method with $` in block - accepts matching by ===` in method with Regexp.last_match in block - corrects matching by ===` in if guard condition with $2 is used in another method - corrects matching by ===` in if guard condition with $` is used in another method - registers an offense for matching by ===` in module, `$'` is in method - registers an offense for matching by ===` in class method, `$&` is in other method - corrects matching by ===` in class, `$2` is in method - registers an offense for matching by ===`, Regexp.last_match(1) reference is overrided - corrects matching by ===` in method, `$MATCH` is in other method - accepts matching by ===` in method with $100 in block - corrects matching by ===` in class method, `$~` is in other method - corrects matching by ===` in method, `$&` is in other method - registers an offense for matching by ===` in class method, `$~` is in other method - accepts matching by ===` in guard condition with Regexp.last_match is used in the line after that - corrects matching by ===` in if guard condition with Regexp.last_match is used in another method - accepts matching by ===` in method with $100 before if - accepts matching by ===` in method with Regexp.last_match before unless - accepts matching by ===` in method with $' in block - corrects matching by ===` in if guard condition with $MATCH is used in another method - registers an offense for matching by ===` in class, `$~` is in method - accepts matching by ===` in method with $` - accepts matching by ===` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by ===`, $` reference is overrided - corrects matching by ===` in class method, `$'` is in other method - registers an offense for matching by ===` in module, `$`` is in method - corrects matching by ===` in class, `$1` is in method - registers an offense for matching by ===` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by ===` in method with $MATCH before if - corrects matching by ===` in class method, `$&` is in other method - corrects matching by ===` in class, `Regexp.last_match` is in method - registers an offense for matching by ===` in method, `$&` is in other method - registers an offense for matching by ===` in class, `$&` is in method - accepts matching by ===` in a class method with $2 - registers an offense for matching by ===` in class, `$MATCH` is in method - corrects matching by ===` in method before `$&` - registers an offense for matching by ===` in if guard condition with $' is used in another method - registers an offense for matching by ===` in method before `$2` - corrects matching by ===` in module, `$`` is in method - corrects matching by ===` in method, `$`` is in other method - accepts matching by ===` in method with $1 in block - corrects matching by ===` in module, `$100` is in method - corrects matching by ===` in if guard condition with $1 is used in another method - accepts matching by ===` in method with $' before unless - corrects matching by ===`, $& reference is overrided - registers an offense for matching by ===` in class method, `$1` is in other method - corrects matching by ===` in method before `$'` - corrects matching by ===` in method before `Regexp.last_match` - corrects matching by ===` in case condition - corrects matching by ===` in method before `$MATCH` - registers an offense for matching by ===`, $' reference is overrided - accepts matching by ===` in method with $` before if - registers an offense for matching by ===` in method, `$'` is in other method - corrects matching by ===` in module, `$2` is in method - registers an offense for matching by ===`, $100 reference is overrided - corrects matching by ===`, $1 reference is overrided - accepts matching by ===` in guard condition with $1 is used in the line after that - corrects matching by ===`, $2 reference is overrided - registers an offense for matching by ===` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by ===` in method, `$2` is in other method - accepts matching by ===` in a class method with $` - corrects matching by ===` in class, `$MATCH` is in method - accepts matching by ===` in guard condition with $& is used in the line after that - accepts matching by ===` in guard condition with $~ is used in the line after that - accepts matching by ===` in method with Regexp.last_match(1) before unless - accepts matching by ===` in a class method with Regexp.last_match(1) - corrects matching by ===` in method, `$'` is in other method - registers an offense for matching by ===` in module, `Regexp.last_match` is in method - accepts matching by ===` in method with $' before if - accepts matching by ===` in method with $100 before unless - registers an offense for matching by ===` in if guard condition with $2 is used in another method - accepts matching by ===` in method with $2 in block - registers an offense for matching by ===` in method before `$'` - corrects matching by ===` in class method, `$`` is in other method - accepts matching by ===` in method with $2 before unless - corrects matching by ===` in method before `$1` - accepts matching by ===` in method with $` before unless - registers an offense for matching by ===` in class, `$2` is in method - corrects matching by ===` in class method, `Regexp.last_match(1)` is in other method - corrects matching by ===` in class, `$100` is in method - accepts matching by ===` in a class method with $' - registers an offense for matching by ===`, $1 reference is overrided - corrects matching by ===` in if guard condition with $~ is used in another method - corrects matching by ===` in method before `$`` - registers an offense for matching by ===` in if guard condition with $~ is used in another method - accepts matching by ===` in method with Regexp.last_match(1) - accepts matching by ===` in method with Regexp.last_match(1) before if - accepts matching by ===` in method with $& in block - registers an offense for matching by ===` in module, `$100` is in method - accepts matching by ===` in a class method with Regexp.last_match - accepts matching by ===` in method with $2 before if - accepts matching by ===` in a class method with $~ - registers an offense for matching by ===` in class, `Regexp.last_match(1)` is in method - corrects matching by ===` in method, `Regexp.last_match(1)` is in other method - corrects matching by ===` in method before `Regexp.last_match(1)` - corrects matching by ===`, $MATCH reference is overrided - accepts matching by ===` in method with Regexp.last_match - registers an offense for matching by ===` in method before `$`` - corrects matching by ===` in class method, `Regexp.last_match` is in other method - registers an offense for matching by ===` in class, `$1` is in method - accepts matching by ===` in method with $~ in block - corrects matching by ===` in if condition - registers an offense for matching by ===` in module, `$~` is in method - registers an offense for matching by ===` in class, `$'` is in method - accepts matching by ===` in guard condition with $100 is used in the line after that - corrects matching by ===` in method definition - registers an offense for matching by ===` in class method, `Regexp.last_match(1)` is in other method - accepts matching by ===` in method with $100 - registers an offense for matching by ===`, $` reference is overrided - accepts matching by ===` in method with $& before if - accepts matching by ===` in guard condition with $MATCH is used in the line after that - accepts matching by ===` in guard condition with $2 is used in the line after that - registers an offense for matching by ===` in method before `$100` - accepts matching by ===` in guard condition with $' is used in the line after that - corrects matching by ===` in module, `$'` is in method - registers an offense for matching by ===` in method before `$~` - registers an offense for matching by ===` in case condition - corrects matching by ===` in method before `$2` - corrects matching by ===` in method, `$2` is in other method - registers an offense for matching by ===` in unless condition - corrects matching by ===` in module, `$&` is in method - corrects matching by ===` in class, `Regexp.last_match(1)` is in method - corrects matching by ===` in elsif condition - registers an offense for matching by ===` in method before `$MATCH` - registers an offense for matching by ===` in module, `$MATCH` is in method - accepts matching by ===` in method with $' - corrects matching by ===` in module, `$~` is in method - registers an offense for matching by ===` in class, `$`` is in method - corrects matching by ===` in if guard condition with $100 is used in another method - corrects matching by ===` in class method, `$100` is in other method - accepts matching by ===` in a class method with $MATCH - accepts matching by ===` in method with $& - registers an offense for matching by ===` in if guard condition with $` is used in another method - corrects matching by ===` in method, `$~` is in other method - registers an offense for matching by ===` in module, `$1` is in method - corrects matching by ===` in if guard condition with $' is used in another method - corrects matching by ===` in module, `$MATCH` is in method - corrects matching by ===`, Regexp.last_match reference is overrided - accepts matching by ===` in method with $2 - registers an offense for matching by ===` in if condition - registers an offense for matching by ===` in class method, `$'` is in other method - corrects matching by ===`, Regexp.last_match(1) reference is overrided - registers an offense for matching by ===` in method, `$MATCH` is in other method - corrects matching by ===` in method, `$1` is in other method - registers an offense for matching by ===` in if guard condition with $1 is used in another method - corrects matching by ===` in if guard condition with $& is used in another method - registers an offense for matching by ===` in if condition - registers an offense for matching by ===` in class method, `$2` is in other method - accepts matching by ===` in a class method with $1 - corrects matching by ===`, $' reference is overrided - registers an offense for matching by ===` in class method, `$`` is in other method - registers an offense for matching by ===` in method, `$~` is in other method - corrects matching by ===` in unless condition - accepts matching by ===` in method with $~ before unless - registers an offense for matching by ===` in method, `Regexp.last_match` is in other method - registers an offense for matching by ===`, $~ reference is overrided - corrects matching by ===` in class, `$'` is in method - registers an offense for matching by ===` in class method, `$100` is in other method - corrects matching by ===`, $~ reference is overrided - registers an offense for matching by ===` in class method, `$MATCH` is in other method - corrects matching by ===`, $100 reference is overrided - corrects matching by ===` in class method, `$1` is in other method - registers an offense for matching by ===` in unless condition - accepts matching by ===` in method with Regexp.last_match(1) in block - registers an offense for matching by ===` in method, `$`` is in other method - registers an offense for matching by ===` in if guard condition with $100 is used in another method - accepts matching by ===` in method with $~ before if - registers an offense for matching by ===` in module, `$&` is in method - registers an offense for matching by ===` in method definition - accepts matching by ===` in method with $1 before unless - accepts matching by ===` in method with $MATCH - corrects matching by ===` in class method, `$2` is in other method - accepts matching by ===` in method with $MATCH in block - registers an offense for matching by ===` in class, `$100` is in method - behaves like all legacy match methods - accepts matching by !~` in method with $' - accepts matching by !~` in method with Regexp.last_match(1) - accepts matching by !~` in method with $100 in block - corrects matching by !~` in class, `$1` is in method - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by !~` in method before `$MATCH` - corrects matching by !~` in method before `$'` - registers an offense for matching by !~` in module, `$1` is in method - corrects matching by !~` in method, `$`` is in other method - corrects matching by !~` in class, `$~` is in method - corrects matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~` in method before `$~` - corrects matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~`, $` reference is overrided - corrects matching by !~` in unless condition - corrects matching by !~` in method before `$2` - registers an offense for matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~`, $100 reference is overrided - corrects matching by !~` in method before `$`` - accepts matching by !~` in method with $` before if - corrects matching by !~` in module, `$1` is in method - accepts matching by !~` in method with $' before unless - accepts matching by !~` in method with Regexp.last_match in block - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in method with Regexp.last_match(1) before if - accepts matching by !~` in a class method with $& - accepts matching by !~` in a class method with $~ - accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in method, `$&` is in other method - corrects matching by !~`, Regexp.last_match reference is overrided - accepts matching by !~` in a class method with $1 - accepts matching by !~` in method with $100 - accepts matching by !~` in method with $` before unless - corrects matching by !~`, $& reference is overrided - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in a class method with $` - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in method, `$&` is in other method - accepts matching by !~` in method with Regexp.last_match before unless - registers an offense for matching by !~` in class method, `$2` is in other method - accepts matching by !~` in method with $` in block - corrects matching by !~`, $` reference is overrided - corrects matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in a class method with $' - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in module, `$~` is in method - corrects matching by !~` in elsif condition - corrects matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~` in module, `$&` is in method - accepts matching by !~` in guard condition with $` is used in the line after that - registers an offense for matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with Regexp.last_match - accepts matching by !~` in method with $MATCH before if - corrects matching by !~` in class method, `$1` is in other method - registers an offense for matching by !~` in class method, `$~` is in other method - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in method, `$100` is in other method - corrects matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with $MATCH in block - accepts matching by !~` in method with $2 before unless - accepts matching by !~` in method with $~ - corrects matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in module, `$100` is in method - registers an offense for matching by !~`, $1 reference is overrided - accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in module, `$100` is in method - corrects matching by !~` in method, `$MATCH` is in other method - corrects matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in if condition - corrects matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in class method, `$'` is in other method - corrects matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in method with $100 before if - corrects matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in method, `$100` is in other method - registers an offense for matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by !~` in method with $~ before if - registers an offense for matching by !~` in class, `$&` is in method - registers an offense for matching by !~` in method before `$2` - accepts matching by !~` in method with $1 in block - accepts matching by !~` in guard condition with $1 is used in the line after that - accepts matching by !~` in a class method with $100 - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in class, `$~` is in method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in unless condition - registers an offense for matching by !~` in method definition - accepts matching by !~` in method with $& before if - registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in class, `$'` is in method - accepts matching by !~` in method with $& in block - registers an offense for matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in method with $MATCH before unless - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in method with Regexp.last_match(1) before unless - registers an offense for matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in a class method with Regexp.last_match(1) - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in ternary operator - accepts matching by !~` in a class method with $2 - accepts matching by !~` in method with $2 - accepts matching by !~` in method with $~ in block - corrects matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in class method, `$`` is in other method - accepts matching by !~` in method with Regexp.last_match before if - accepts matching by !~` in method with $2 in block - corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in method, `$~` is in other method - corrects matching by !~`, Regexp.last_match(1) reference is overrided - accepts matching by !~` in guard condition with $2 is used in the line after that - accepts matching by !~` in guard condition with $~ is used in the line after that - accepts matching by !~` in guard condition with $' is used in the line after that - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - registers an offense for matching by !~`, $~ reference is overrided - corrects matching by !~`, $' reference is overrided - corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $1 before unless - corrects matching by !~` in if condition - accepts matching by !~` in method with $& - accepts matching by !~` in method with $2 before if - registers an offense for matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in method with $1 - corrects matching by !~` in method before `$1` - corrects matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in module, `$'` is in method - accepts matching by !~` in method with $' before if - registers an offense for matching by !~` in case condition - corrects matching by !~` in case condition - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in class, `$100` is in method - accepts matching by !~` in method with $' in block - accepts matching by !~` in method with $100 before unless - accepts matching by !~` in guard condition with $100 is used in the line after that - corrects matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in class method, `$1` is in other method - registers an offense for matching by !~` in class method, `$&` is in other method - corrects matching by !~` in module, `$'` is in method - registers an offense for matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in ternary operator - registers an offense for matching by !~` in class, `$1` is in method - corrects matching by !~` in method before `$MATCH` - accepts matching by !~` in method with $1 before if - corrects matching by !~` in method definition - corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in method before `$`` - registers an offense for matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in class method, `$100` is in other method - corrects matching by !~` in method before `$&` - accepts matching by !~` in a class method with Regexp.last_match - registers an offense for matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in method with $` - corrects matching by !~` in method, `$2` is in other method - accepts matching by !~` in method with $MATCH - registers an offense for matching by !~`, $' reference is overrided - corrects matching by !~` in module, `$~` is in method - corrects matching by !~` in method, `$1` is in other method - corrects matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in unless condition - corrects matching by !~` in class, `$&` is in method - accepts matching by !~` in method with $& before unless - registers an offense for matching by !~` in method before `$&` - registers an offense for matching by !~` in class, `$`` is in method - corrects matching by !~` in module, `$`` is in method - registers an offense for matching by !~`, $& reference is overrided - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in module, `$2` is in method - corrects matching by !~` in class method, `$&` is in other method - corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in method before `$~` - corrects matching by !~` in if condition - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in method before `$100` - registers an offense for matching by !~` in method before `$1` - registers an offense for matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in module, `$`` is in method - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in if condition behaves like all legacy match methods - corrects matching by =~` in method before `$`` - corrects matching by =~`, $MATCH reference is overrided - corrects matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in a class method with Regexp.last_match(1) - accepts matching by =~` in method with $' before unless - corrects matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in method with $2 before unless - registers an offense for matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in elsif condition - accepts matching by =~` in method with $` before unless - accepts matching by =~` in a class method with $100 - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~`, $2 reference is overrided registers an offense for matching by =~` in method before `$~` - registers an offense for matching by =~` in method before `$1` - accepts matching by =~` in a class method with $1 - accepts matching by =~` in method with $~ - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in method, `$MATCH` is in other method accepts matching by =~` in method with $' in block + corrects matching by =~` in class method, `$`` is in other method corrects matching by =~` in module, `$'` is in method - accepts matching by =~` in method with $2 before if - corrects matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in guard condition with $1 is used in the line after that - registers an offense for matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in method before `$&` - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in method with $& in block - registers an offense for matching by =~` in module, `$MATCH` is in method - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in module, `$100` is in method - accepts matching by =~` in method with $2 in block - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~`, $& reference is overrided - registers an offense for matching by =~` in class method, `$&` is in other method - accepts matching by =~` in method with $1 before if + registers an offense for matching by =~` in module, `$2` is in method + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in ternary operator + accepts matching by =~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~`, $1 reference is overrided corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in method with $& in block + corrects matching by =~` in case condition + corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in method before `$~` + accepts matching by =~` in method with $& before if + corrects matching by =~` in method before `$`` + accepts matching by =~` in method with $100 before unless + accepts matching by =~` in method with $MATCH before if + corrects matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in method before `$`` + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in method before `$1` + accepts matching by =~` in method with $` before if + corrects matching by =~` in module, `$1` is in method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in method before `$'` + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in method before `$2` - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in class, `$~` is in method - accepts matching by =~` in method with $100 before if - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in class, `$`` is in method - corrects matching by =~`, Regexp.last_match reference is overrided - registers an offense for matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in method with $MATCH in block - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in class method, `$2` is in other method - corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in elsif condition + corrects matching by =~` in method, `$'` is in other method + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in case condition + accepts matching by =~` in method with $1 before unless registers an offense for matching by =~` in method, `$2` is in other method - registers an offense for matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in module, `$~` is in method + corrects matching by =~` in if condition registers an offense for matching by =~`, $` reference is overrided - registers an offense for matching by =~` in ternary operator + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in unless condition + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $& before unless + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + accepts matching by =~` in method with $` + corrects matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with $~ + corrects matching by =~` in module, `$2` is in method + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in method before `$&` + accepts matching by =~` in a class method with $~ + corrects matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in class method, `$'` is in other method + corrects matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in a class method with $1 + corrects matching by =~` in method definition + accepts matching by =~` in guard condition with $` is used in the line after that registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in elsif condition - accepts matching by =~` in method with $' before if - registers an offense for matching by =~`, $2 reference is overrided - corrects matching by =~` in method before `$&` - registers an offense for matching by =~` in method before `$`` - corrects matching by =~` in class method, `$1` is in other method + registers an offense for matching by =~` in method, `$1` is in other method + corrects matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~`, $& reference is overrided accepts matching by =~` in method with Regexp.last_match(1) - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $100 - corrects matching by =~`, $` reference is overrided - accepts matching by =~` in method with $` + accepts matching by =~` in method with $2 before if + registers an offense for matching by =~` in method, `$`` is in other method corrects matching by =~` in module, `$&` is in method - accepts matching by =~` in method with Regexp.last_match(1) in block - accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in method before `$'` - corrects matching by =~` in class, `$100` is in method - accepts matching by =~` in method with $~ in block - corrects matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in method definition - corrects matching by =~` in method before `$1` - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - registers an offense for matching by =~` in case condition - corrects matching by =~` in method, `$1` is in other method - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - accepts matching by =~` in guard condition with $~ is used in the line after that + corrects matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in module, `$1` is in method + corrects matching by =~` in if condition + corrects matching by =~`, $100 reference is overrided accepts matching by =~` in method with $& - accepts matching by =~` in a class method with $& - corrects matching by =~` in class method, `$~` is in other method - accepts matching by =~` in method with Regexp.last_match in block - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in method before `$100` - corrects matching by =~` in method, `$'` is in other method - corrects matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in method, `$&` is in other method - accepts matching by =~` in a class method with $2 - corrects matching by =~` in class, `$1` is in method - corrects matching by =~` in class method, `$'` is in other method - corrects matching by =~` in if guard condition with $` is used in another method - corrects matching by =~`, $& reference is overrided - registers an offense for matching by =~`, $' reference is overrided - corrects matching by =~` in class method, `$&` is in other method accepts matching by =~` in method with $MATCH - accepts matching by =~` in guard condition with $100 is used in the line after that - accepts matching by =~` in method with Regexp.last_match before unless - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in class method, `$'` is in other method - accepts matching by =~` in a class method with Regexp.last_match - corrects matching by =~` in method before `$'` - accepts matching by =~` in guard condition with $MATCH is used in the line after that - accepts matching by =~` in method with $` in block - registers an offense for matching by =~` in module, `$`` is in method - corrects matching by =~` in unless condition - registers an offense for matching by =~` in class method, `$100` is in other method - accepts matching by =~` in guard condition with $& is used in the line after that + corrects matching by =~` in method before `$1` + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~`, $100 reference is overrided accepts matching by =~` in method with Regexp.last_match before if - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in method with Regexp.last_match(1) before if + corrects matching by =~` in class, `$&` is in method + corrects matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in method with Regexp.last_match(1) in block + accepts matching by =~` in method with Regexp.last_match before unless + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in method before `$100` + corrects matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in method before `$100` + corrects matching by =~` in method, `$~` is in other method + accepts matching by =~` in guard condition with $2 is used in the line after that + registers an offense for matching by =~` in class, `$'` is in method registers an offense for matching by =~` in method before `$MATCH` - corrects matching by =~` in if guard condition with $100 is used in another method + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~`, $' reference is overrided + accepts matching by =~` in a class method with $& + corrects matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in method before `$2` corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $' - accepts matching by =~` in a class method with $~ + corrects matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~`, $~ reference is overrided + corrects matching by =~` in method, `$1` is in other method + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $` before unless + corrects matching by =~` in unless condition accepts matching by =~` in method with $1 - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in a class method with Regexp.last_match(1) accepts matching by =~` in method with $2 - accepts matching by =~` in method with Regexp.last_match(1) before unless - registers an offense for matching by =~`, $100 reference is overrided - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in module, `$~` is in method - corrects matching by =~` in method, `$~` is in other method - corrects matching by =~` in if condition - registers an offense for matching by =~` in method, `$MATCH` is in other method - corrects matching by =~` in method, `$100` is in other method - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in unless condition - accepts matching by =~` in method with $1 in block - registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $~ before unless + accepts matching by =~` in method with $2 in block + accepts matching by =~` in a class method with $` corrects matching by =~`, $' reference is overrided - registers an offense for matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in method before `$2` - corrects matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with $` before if - corrects matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in method with $& before if - corrects matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in method before `$100` - accepts matching by =~` in guard condition with $` is used in the line after that - corrects matching by =~` in module, `$2` is in method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by =~` in class method, `$`` is in other method - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in if condition - corrects matching by =~`, $~ reference is overrided - corrects matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in method, `$2` is in other method - registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in class method, `$`` is in other method - accepts matching by =~` in guard condition with $2 is used in the line after that - registers an offense for matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $100 before unless - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with Regexp.last_match(1) before if - registers an offense for matching by =~` in class, `$'` is in method + registers an offense for matching by =~` in class, `$1` is in method + accepts matching by =~` in a class method with $' registers an offense for matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in method with $& before unless + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~` in method, `$100` is in other method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~` in class, `$'` is in method registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in a class method with $` + accepts matching by =~` in method with $1 before if + accepts matching by =~` in guard condition with $~ is used in the line after that + accepts matching by =~` in method with $2 before unless + registers an offense for matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in method before `$2` + corrects matching by =~` in elsif condition + registers an offense for matching by =~` in module, `$`` is in method + corrects matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in guard condition with $1 is used in the line after that + registers an offense for matching by =~` in if guard condition with $' is used in another method + accepts matching by =~` in method with $' before unless + accepts matching by =~` in method with $~ before if + corrects matching by =~` in method before `Regexp.last_match` registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in method, `$1` is in other method - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with Regexp.last_match in block + registers an offense for matching by =~` in unless condition + registers an offense for matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $' before if + corrects matching by =~` in method before `$'` + accepts matching by =~` in method with Regexp.last_match + accepts matching by =~` in method with $' + corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in module, `$&` is in method + accepts matching by =~` in a class method with Regexp.last_match + registers an offense for matching by =~` in method, `$~` is in other method + accepts matching by =~` in a class method with $MATCH + accepts matching by =~` in guard condition with $& is used in the line after that + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in class method, `$100` is in other method + corrects matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in class, `$~` is in method + accepts matching by =~` in method with $100 before if + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in class method, `$100` is in other method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $MATCH in block + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in method, `$&` is in other method registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in module, `$2` is in method - accepts matching by =~` in method with $~ before unless - corrects matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in method definition - registers an offense for matching by =~` in method, `$~` is in other method + corrects matching by =~`, $2 reference is overrided + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $1 in block + accepts matching by =~` in a class method with $100 + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~`, $MATCH reference is overrided + corrects matching by =~` in if guard condition with $~ is used in another method registers an offense for matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in unless condition - corrects matching by =~` in if condition - registers an offense for matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in class, `$'` is in method - corrects matching by =~` in case condition - corrects matching by =~` in method before `$~` - corrects matching by =~` in class, `$&` is in method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by =~` in a class method with $' - corrects matching by =~` in ternary operator - corrects matching by =~` in method before `$MATCH` - accepts matching by =~` in method with $~ before if - registers an offense for matching by =~` in if guard condition with $2 is used in another method - accepts matching by =~` in a class method with $MATCH + accepts matching by =~` in method with $100 in block + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in class, `$2` is in method + accepts matching by =~` in method with $` in block + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in class method, `$`` is in other method + accepts matching by =~` in method with $MATCH before unless + registers an offense for matching by =~` in method definition + registers an offense for matching by =~` in if condition + corrects matching by =~` in if guard condition with $' is used in another method + accepts matching by =~` in a class method with $2 + registers an offense for matching by =~` in if condition + registers an offense for matching by =~`, $2 reference is overrided + corrects matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in method before `$&` + registers an offense for matching by =~`, $MATCH reference is overrided registers an offense for matching by =~` in unless condition - accepts matching by =~` in method with $MATCH before if + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in class method, `$&` is in other method + accepts matching by =~` in method with $100 + corrects matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in class, `$`` is in method behaves like all legacy match methods - accepts String#match method call with position in method with $& before unless - accepts String#match method call with position in method with Regexp.last_match in block - accepts String#match method call with position in a class method with $MATCH - registers an offense for String#match method call with position in module, `$'` is in method - corrects String#match method call with position in class, `Regexp.last_match` is in method - accepts String#match method call with position in method with $& before if - registers an offense for String#match method call with position in class, `Regexp.last_match(1)` is in method - corrects String#match method call with position in class, `$&` is in method - registers an offense for String#match method call with position in module, `$~` is in method - accepts String#match method call with position in method with $2 - accepts String#match method call with position in method with $1 before unless - registers an offense for String#match method call with position in elsif condition - registers an offense for String#match method call with position in method before `$1` + accepts String#match method call with position in method with Regexp.last_match(1) in block registers an offense for String#match method call with position in class, `$100` is in method - corrects String#match method call with position in if guard condition with $100 is used in another method - accepts String#match method call with position in a class method with Regexp.last_match - registers an offense for String#match method call with position, $~ reference is overrided - accepts String#match method call with position in method with $100 before unless - registers an offense for String#match method call with position, $` reference is overrided - registers an offense for String#match method call with position in method before `$&` + accepts String#match method call with position in method with Regexp.last_match before if + accepts String#match method call with position in method with $100 + accepts String#match method call with position in method with $` before unless + corrects String#match method call with position in class, `Regexp.last_match(1)` is in method + corrects String#match method call with position in module, `$2` is in method + accepts String#match method call with position in guard condition with $~ is used in the line after that + registers an offense for String#match method call with position in method before `Regexp.last_match(1)` + corrects String#match method call with position in method, `$2` is in other method + registers an offense for String#match method call with position in if guard condition with $& is used in another method + registers an offense for String#match method call with position, $MATCH reference is overrided + registers an offense for String#match method call with position in class method, `$&` is in other method + accepts String#match method call with position in a class method with $~ + accepts String#match method call with position in method with Regexp.last_match(1) before if + corrects String#match method call with position, $2 reference is overrided + corrects String#match method call with position, $100 reference is overrided + accepts String#match method call with position in method with Regexp.last_match accepts String#match method call with position in method with $& - registers an offense for String#match method call with position, $2 reference is overrided - corrects String#match method call with position in method before `$&` + corrects String#match method call with position in module, `$100` is in method + corrects String#match method call with position in method before `$~` + corrects String#match method call with position in if guard condition with $& is used in another method + registers an offense for String#match method call with position in if guard condition with $~ is used in another method + accepts String#match method call with position in method with $` before if + corrects String#match method call with position in class, `$'` is in method + corrects String#match method call with position in unless condition + accepts String#match method call with position in method with $100 before unless registers an offense for String#match method call with position in method before `Regexp.last_match` - accepts String#match method call with position in guard condition with $MATCH is used in the line after that - corrects String#match method call with position in class, `$`` is in method - accepts String#match method call with position in method with $~ in block - accepts String#match method call with position in a class method with $1 - registers an offense for String#match method call with position in method before `$`` - accepts String#match method call with position in method with $` in block - corrects String#match method call with position in class method, `$'` is in other method - registers an offense for String#match method call with position in if guard condition with $` is used in another method + registers an offense for String#match method call with position in class method, `$'` is in other method registers an offense for String#match method call with position in module, `Regexp.last_match` is in method - accepts String#match method call with position in a class method with $100 - corrects String#match method call with position in method before `Regexp.last_match` - corrects String#match method call with position in if condition - corrects String#match method call with position in class, `Regexp.last_match(1)` is in method - corrects String#match method call with position, $100 reference is overrided - registers an offense for String#match method call with position in if condition - registers an offense for String#match method call with position in if guard condition with $' is used in another method - registers an offense for String#match method call with position in method before `$2` - accepts String#match method call with position in method with $' in block - accepts String#match method call with position in method with $` - corrects String#match method call with position in method, `$~` is in other method + corrects String#match method call with position in method, `Regexp.last_match(1)` is in other method + accepts String#match method call with position in guard condition with $MATCH is used in the line after that + corrects String#match method call with position, $1 reference is overrided + registers an offense for String#match method call with position, Regexp.last_match(1) reference is overrided + registers an offense for String#match method call with position in module, `$100` is in method + accepts String#match method call with position in method with $MATCH in block corrects String#match method call with position in module, `$&` is in method - registers an offense for String#match method call with position in if guard condition with $& is used in another method - registers an offense for String#match method call with position in method definition - registers an offense for String#match method call with position in if guard condition with $100 is used in another method - accepts String#match method call with position in method with $1 before if - registers an offense for String#match method call with position in class method, `$1` is in other method - corrects String#match method call with position in module, `$1` is in method + registers an offense for String#match method call with position in if guard condition with $1 is used in another method + corrects String#match method call with position in class, `$2` is in method + accepts String#match method call with position in method with $~ before if + registers an offense for String#match method call with position in module, `$MATCH` is in method + corrects String#match method call with position in module, `$'` is in method + corrects String#match method call with position in method, `$MATCH` is in other method + accepts String#match method call with position in method with $& before unless + accepts String#match method call with position in a class method with $` + registers an offense for String#match method call with position in elsif condition + registers an offense for String#match method call with position in module, `$'` is in method + corrects String#match method call with position in if guard condition with $MATCH is used in another method + registers an offense for String#match method call with position in method before `$'` + corrects String#match method call with position in method before `Regexp.last_match(1)` + registers an offense for String#match method call with position in if guard condition with $MATCH is used in another method registers an offense for String#match method call with position in method, `$~` is in other method - corrects String#match method call with position in method before `$2` - registers an offense for String#match method call with position, $1 reference is overrided - registers an offense for String#match method call with position in unless condition - corrects String#match method call with position in if guard condition with $2 is used in another method - registers an offense for String#match method call with position in class, `$~` is in method - accepts String#match method call with position in a class method with $' - corrects String#match method call with position in class, `$100` is in method - accepts String#match method call with position in method with $100 before if corrects String#match method call with position, Regexp.last_match(1) reference is overrided - registers an offense for String#match method call with position, $MATCH reference is overrided - registers an offense for String#match method call with position in class method, `$2` is in other method - accepts String#match method call with position in method with $~ - corrects String#match method call with position in unless condition + registers an offense for String#match method call with position in unless condition + corrects String#match method call with position in method, `$&` is in other method + registers an offense for String#match method call with position in class, `$2` is in method + accepts String#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that + accepts String#match method call with position in method with $100 in block corrects String#match method call with position in class method, `$MATCH` is in other method - corrects String#match method call with position in method before `$1` - registers an offense for String#match method call with position in if guard condition with $MATCH is used in another method - corrects String#match method call with position, $` reference is overrided - registers an offense for String#match method call with position, Regexp.last_match(1) reference is overrided - corrects String#match method call with position in class method, `Regexp.last_match(1)` is in other method - accepts String#match method call with position in guard condition with $& is used in the line after that - corrects String#match method call with position in if guard condition with $~ is used in another method - accepts String#match method call with position in method with $MATCH before if - registers an offense for String#match method call with position in class, `$&` is in method - registers an offense for String#match method call with position, Regexp.last_match reference is overrided + registers an offense for String#match method call with position in class, `$1` is in method + accepts String#match method call with position in a class method with $2 + registers an offense for String#match method call with position in class, `$'` is in method + accepts String#match method call with position in a class method with $& + registers an offense for String#match method call with position in method, `$2` is in other method + accepts String#match method call with position in a class method with $' + corrects String#match method call with position in class method, `$2` is in other method + corrects String#match method call with position in method before `$2` + accepts String#match method call with position in guard condition with Regexp.last_match is used in the line after that + registers an offense for String#match method call with position in method before `$2` + corrects String#match method call with position in if guard condition with $1 is used in another method registers an offense for String#match method call with position in module, `$1` is in method - registers an offense for String#match method call with position in method before `$~` - registers an offense for String#match method call with position in if guard condition with $2 is used in another method - registers an offense for String#match method call with position in if guard condition with $1 is used in another method + registers an offense for String#match method call with position in if guard condition with Regexp.last_match(1) is used in another method + corrects String#match method call with position in case condition corrects String#match method call with position in module, `$MATCH` is in method - corrects String#match method call with position in module, `$'` is in method - corrects String#match method call with position in method before `$~` - corrects String#match method call with position in method before `$'` - corrects String#match method call with position in if guard condition with $1 is used in another method - corrects String#match method call with position in module, `Regexp.last_match` is in method - registers an offense for String#match method call with position in class, `$`` is in method - corrects String#match method call with position, $~ reference is overrided - corrects String#match method call with position in class, `$~` is in method - accepts String#match method call with position in method with Regexp.last_match + corrects String#match method call with position in method before `$100` + corrects String#match method call with position in method definition + corrects String#match method call with position in class method, `$~` is in other method + registers an offense for String#match method call with position in case condition + registers an offense for String#match method call with position in method before `$1` + registers an offense for String#match method call with position in class, `Regexp.last_match(1)` is in method + registers an offense for String#match method call with position in class, `Regexp.last_match` is in method + registers an offense for String#match method call with position in class method, `$~` is in other method + registers an offense for String#match method call with position in module, `$~` is in method + corrects String#match method call with position in class method, `$100` is in other method + corrects String#match method call with position in if guard condition with $~ is used in another method + accepts String#match method call with position in method with $MATCH before unless + corrects String#match method call with position in method before `Regexp.last_match` + corrects String#match method call with position in if guard condition with Regexp.last_match(1) is used in another method registers an offense for String#match method call with position in module, `Regexp.last_match(1)` is in method - registers an offense for String#match method call with position in method, `$MATCH` is in other method - registers an offense for String#match method call with position in class method, `Regexp.last_match(1)` is in other method + corrects String#match method call with position in method, `$`` is in other method + corrects String#match method call with position in method before `$1` accepts String#match method call with position in method with $1 - accepts String#match method call with position in a class method with $2 - accepts String#match method call with position in method with $100 - corrects String#match method call with position, $& reference is overrided + corrects String#match method call with position, $~ reference is overrided + accepts String#match method call with position in method with $MATCH before if + registers an offense for String#match method call with position, $1 reference is overrided + accepts String#match method call with position in method with $~ in block + corrects String#match method call with position, $` reference is overrided + registers an offense for String#match method call with position in if guard condition with $' is used in another method + registers an offense for String#match method call with position in method, `$`` is in other method + accepts String#match method call with position in method with $' in block + registers an offense for String#match method call with position in method, `Regexp.last_match(1)` is in other method + corrects String#match method call with position in module, `Regexp.last_match` is in method + accepts String#match method call with position in method with $2 corrects String#match method call with position in if condition - registers an offense for String#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - accepts String#match method call with position in method with $2 in block + accepts String#match method call with position in method with Regexp.last_match(1) before unless + registers an offense for String#match method call with position in class, `$MATCH` is in method accepts String#match method call with position in method with $~ before unless - registers an offense for String#match method call with position in class method, `$~` is in other method - corrects String#match method call with position in class method, `$100` is in other method - registers an offense for String#match method call with position, $' reference is overrided - corrects String#match method call with position in class method, `Regexp.last_match` is in other method - accepts String#match method call with position in guard condition with $2 is used in the line after that - corrects String#match method call with position in if guard condition with $' is used in another method - registers an offense for String#match method call with position in class method, `$MATCH` is in other method - corrects String#match method call with position in class, `$'` is in method - registers an offense for String#match method call with position in method, `$`` is in other method - corrects String#match method call with position in module, `$100` is in method - corrects String#match method call with position in class, `$2` is in method + corrects String#match method call with position in method, `Regexp.last_match` is in other method corrects String#match method call with position in if guard condition with Regexp.last_match is used in another method - registers an offense for String#match method call with position in class, `$MATCH` is in method - corrects String#match method call with position in ternary operator - registers an offense for String#match method call with position, $& reference is overrided - accepts String#match method call with position in method with $& in block - corrects String#match method call with position in method before `$100` - corrects String#match method call with position, Regexp.last_match reference is overrided - corrects String#match method call with position in case condition - accepts String#match method call with position in method with Regexp.last_match(1) - accepts String#match method call with position in method with Regexp.last_match before unless - registers an offense for String#match method call with position in module, `$MATCH` is in method + accepts String#match method call with position in method with $1 in block + registers an offense for String#match method call with position in class method, `$2` is in other method registers an offense for String#match method call with position in module, `$&` is in method - registers an offense for String#match method call with position in class, `$2` is in method - corrects String#match method call with position, $MATCH reference is overrided - corrects String#match method call with position in module, `$2` is in method - accepts String#match method call with position in method with Regexp.last_match(1) in block - registers an offense for String#match method call with position in class, `Regexp.last_match` is in method - accepts String#match method call with position in method with $MATCH before unless - registers an offense for String#match method call with position in if guard condition with Regexp.last_match is used in another method - registers an offense for String#match method call with position in method, `$2` is in other method - corrects String#match method call with position in class, `$MATCH` is in method - corrects String#match method call with position in method before `Regexp.last_match(1)` - corrects String#match method call with position, $' reference is overrided - registers an offense for String#match method call with position in unless condition - corrects String#match method call with position in method definition - registers an offense for String#match method call with position in if guard condition with $~ is used in another method - corrects String#match method call with position in method, `$&` is in other method - registers an offense for String#match method call with position in method before `Regexp.last_match(1)` - registers an offense for String#match method call with position in method before `$100` + accepts String#match method call with position in method with $2 before unless + corrects String#match method call with position in method before `$'` + accepts String#match method call with position in method with $100 before if + accepts String#match method call with position in guard condition with $` is used in the line after that + corrects String#match method call with position in class, `$&` is in method + accepts String#match method call with position in guard condition with $' is used in the line after that + accepts String#match method call with position in guard condition with $1 is used in the line after that + accepts String#match method call with position in method with Regexp.last_match before unless + registers an offense for String#match method call with position in if condition + accepts String#match method call with position in a class method with Regexp.last_match + corrects String#match method call with position in module, `Regexp.last_match(1)` is in method + registers an offense for String#match method call with position, $~ reference is overrided + accepts String#match method call with position in method with $2 before if + corrects String#match method call with position in if guard condition with $2 is used in another method + registers an offense for String#match method call with position, $& reference is overrided corrects String#match method call with position in method before `$`` - registers an offense for String#match method call with position in class, `$1` is in method - accepts String#match method call with position in method with $' before unless - accepts String#match method call with position in method with $MATCH - accepts String#match method call with position in method with $~ before if - registers an offense for String#match method call with position in module, `$`` is in method - corrects String#match method call with position in method, `$1` is in other method - corrects String#match method call with position in class method, `$&` is in other method - accepts String#match method call with position in method with $' before if - accepts String#match method call with position in method with $` before if - accepts String#match method call with position in method with $MATCH in block + corrects String#match method call with position in module, `$~` is in method + corrects String#match method call with position in if condition + registers an offense for String#match method call with position in unless condition + corrects String#match method call with position in class, `$1` is in method + registers an offense for String#match method call with position in class, `$`` is in method + corrects String#match method call with position in method, `$~` is in other method + corrects String#match method call with position in if guard condition with $' is used in another method + accepts String#match method call with position in method with $2 in block + corrects String#match method call with position in class method, `$'` is in other method + corrects String#match method call with position in unless condition + corrects String#match method call with position in class, `$MATCH` is in method + registers an offense for String#match method call with position in class method, `$1` is in other method + registers an offense for String#match method call with position in if guard condition with $2 is used in another method + accepts String#match method call with position in a class method with $MATCH + corrects String#match method call with position, $& reference is overrided corrects String#match method call with position in class method, `$1` is in other method - accepts String#match method call with position in method with $2 before if + accepts String#match method call with position in a class method with $1 + registers an offense for String#match method call with position in method, `$1` is in other method + registers an offense for String#match method call with position in method before `$`` registers an offense for String#match method call with position in module, `$2` is in method - registers an offense for String#match method call with position in if condition - corrects String#match method call with position in method, `$100` is in other method - registers an offense for String#match method call with position, $100 reference is overrided - corrects String#match method call with position, $2 reference is overrided - registers an offense for String#match method call with position in ternary operator - registers an offense for String#match method call with position in method, `Regexp.last_match(1)` is in other method - accepts String#match method call with position in guard condition with $~ is used in the line after that - corrects String#match method call with position in elsif condition - accepts String#match method call with position in guard condition with $` is used in the line after that - corrects String#match method call with position in module, `$~` is in method - corrects String#match method call with position in method, `$2` is in other method - accepts String#match method call with position in method with $100 in block - corrects String#match method call with position in class method, `$`` is in other method - registers an offense for String#match method call with position in method before `$MATCH` - accepts String#match method call with position in method with Regexp.last_match(1) before if - corrects String#match method call with position, $1 reference is overrided - accepts String#match method call with position in method with $` before unless - accepts String#match method call with position in a class method with $~ + corrects String#match method call with position in method, `$1` is in other method + registers an offense for String#match method call with position in method definition + registers an offense for String#match method call with position in class method, `$MATCH` is in other method + accepts String#match method call with position in method with $' + accepts String#match method call with position in a class method with $100 + registers an offense for String#match method call with position in method, `Regexp.last_match` is in other method + registers an offense for String#match method call with position in class method, `Regexp.last_match` is in other method registers an offense for String#match method call with position in class method, `$100` is in other method - accepts String#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that - corrects String#match method call with position in if guard condition with $& is used in another method + accepts String#match method call with position in method with Regexp.last_match in block + accepts String#match method call with position in method with $' before unless + corrects String#match method call with position in module, `$`` is in method + registers an offense for String#match method call with position, $' reference is overrided + accepts String#match method call with position in guard condition with $2 is used in the line after that + registers an offense for String#match method call with position, Regexp.last_match reference is overrided + corrects String#match method call with position in elsif condition + registers an offense for String#match method call with position in if guard condition with $` is used in another method registers an offense for String#match method call with position in method, `$'` is in other method - accepts String#match method call with position in method with $2 before unless - registers an offense for String#match method call with position in method, `$100` is in other method - corrects String#match method call with position in method, `$`` is in other method - registers an offense for String#match method call with position in class method, `$`` is in other method - corrects String#match method call with position in class, `$1` is in method - registers an offense for String#match method call with position in module, `$100` is in method - corrects String#match method call with position in method, `$'` is in other method + corrects String#match method call with position in class method, `Regexp.last_match(1)` is in other method + accepts String#match method call with position in method with $~ + registers an offense for String#match method call with position in module, `$`` is in method accepts String#match method call with position in guard condition with $100 is used in the line after that - registers an offense for String#match method call with position in method, `$&` is in other method - accepts String#match method call with position in guard condition with Regexp.last_match is used in the line after that - registers an offense for String#match method call with position in method before `$'` + registers an offense for String#match method call with position, $100 reference is overrided + accepts String#match method call with position in method with $& before if + registers an offense for String#match method call with position in class method, `$`` is in other method + registers an offense for String#match method call with position, $2 reference is overrided + corrects String#match method call with position in if guard condition with $` is used in another method + corrects String#match method call with position in module, `$1` is in method + corrects String#match method call with position, Regexp.last_match reference is overrided + registers an offense for String#match method call with position in method before `$~` + accepts String#match method call with position in method with $1 before if + registers an offense for String#match method call with position in method before `$100` + registers an offense for String#match method call with position in method before `$MATCH` + accepts String#match method call with position in method with Regexp.last_match(1) + corrects String#match method call with position in class method, `$`` is in other method + corrects String#match method call with position in class, `$~` is in method corrects String#match method call with position in method before `$MATCH` - registers an offense for String#match method call with position in class method, `Regexp.last_match` is in other method - corrects String#match method call with position in method, `Regexp.last_match` is in other method - accepts String#match method call with position in a class method with $& - corrects String#match method call with position in class method, `$~` is in other method - accepts String#match method call with position in method with $1 in block - registers an offense for String#match method call with position in method, `$1` is in other method - accepts String#match method call with position in method with $' - accepts String#match method call with position in guard condition with $' is used in the line after that - corrects String#match method call with position in class method, `$2` is in other method - accepts String#match method call with position in method with Regexp.last_match before if - corrects String#match method call with position in unless condition - corrects String#match method call with position in module, `$`` is in method - corrects String#match method call with position in method, `$MATCH` is in other method + registers an offense for String#match method call with position in method, `$100` is in other method + accepts String#match method call with position in method with $` in block + registers an offense for String#match method call with position in class method, `Regexp.last_match(1)` is in other method + registers an offense for String#match method call with position in method, `$&` is in other method + corrects String#match method call with position in method, `$100` is in other method + corrects String#match method call with position in class method, `Regexp.last_match` is in other method + registers an offense for String#match method call with position in if guard condition with $100 is used in another method + registers an offense for String#match method call with position in ternary operator + accepts String#match method call with position in method with $' before if + registers an offense for String#match method call with position in method, `$MATCH` is in other method + corrects String#match method call with position in method, `$'` is in other method + corrects String#match method call with position in method before `$&` + registers an offense for String#match method call with position in if guard condition with Regexp.last_match is used in another method + accepts String#match method call with position in method with $1 before unless + accepts String#match method call with position in method with $MATCH + registers an offense for String#match method call with position in method before `$&` + corrects String#match method call with position in class method, `$&` is in other method + accepts String#match method call with position in method with $` + accepts String#match method call with position in guard condition with $& is used in the line after that + registers an offense for String#match method call with position in class, `$&` is in method + registers an offense for String#match method call with position, $` reference is overrided + corrects String#match method call with position in ternary operator + corrects String#match method call with position in if guard condition with $100 is used in another method + registers an offense for String#match method call with position in if condition + registers an offense for String#match method call with position in class, `$~` is in method + corrects String#match method call with position in class, `$100` is in method + corrects String#match method call with position, $MATCH reference is overrided accepts String#match method call with position in a class method with Regexp.last_match(1) - corrects String#match method call with position in method, `Regexp.last_match(1)` is in other method - registers an offense for String#match method call with position in case condition - corrects String#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for String#match method call with position in class method, `$&` is in other method - registers an offense for String#match method call with position in class, `$'` is in method - accepts String#match method call with position in guard condition with $1 is used in the line after that - accepts String#match method call with position in a class method with $` - corrects String#match method call with position in if guard condition with $MATCH is used in another method - corrects String#match method call with position in if guard condition with $` is used in another method - corrects String#match method call with position in module, `Regexp.last_match(1)` is in method - registers an offense for String#match method call with position in method, `Regexp.last_match` is in other method - registers an offense for String#match method call with position in class method, `$'` is in other method - accepts String#match method call with position in method with Regexp.last_match(1) before unless + accepts String#match method call with position in method with $& in block + corrects String#match method call with position in class, `Regexp.last_match` is in method + corrects String#match method call with position, $' reference is overrided + corrects String#match method call with position in class, `$`` is in method behaves like all legacy match methods - corrects matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in module, `$&` is in method - accepts matching by =~` in method with $MATCH in block - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in a class method with $2 - registers an offense for matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in class method, `$MATCH` is in other method - accepts matching by =~` in method with $100 - accepts matching by =~` in a class method with $& - registers an offense for matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $~ before if - registers an offense for matching by =~` in method before `$`` - registers an offense for matching by =~` in class, `$100` is in method - accepts matching by =~` in method with $& before if - corrects matching by =~`, $2 reference is overrided - accepts matching by =~` in method with Regexp.last_match in block - accepts matching by =~` in method with $' - corrects matching by =~` in method definition - registers an offense for matching by =~` in method before `$~` - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in class method, `$1` is in other method + accepts matching by =~` in method with Regexp.last_match before if + registers an offense for matching by =~`, $1 reference is overrided + accepts matching by =~` in method with $MATCH + registers an offense for matching by =~` in module, `$1` is in method + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in method before `Regexp.last_match` + registers an offense for matching by =~` in method before `$&` + registers an offense for matching by =~` in module, `$2` is in method + corrects matching by =~` in unless condition + corrects matching by =~` in class, `$2` is in method + accepts matching by =~` in a class method with $` accepts matching by =~` in method with $MATCH before unless - registers an offense for matching by =~` in ternary operator - accepts matching by =~` in method with $100 before if - registers an offense for matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $` + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in method, `$'` is in other method + corrects matching by =~`, $~ reference is overrided + accepts matching by =~` in method with $' before unless + corrects matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in method with $~ + corrects matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before if + corrects matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in module, `$2` is in method + corrects matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in method with $2 + corrects matching by =~` in module, `$100` is in method + corrects matching by =~` in module, `$1` is in method + corrects matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in class, `$'` is in method + corrects matching by =~` in unless condition + registers an offense for matching by =~` in module, `$~` is in method + accepts matching by =~` in a class method with $MATCH + accepts matching by =~` in a class method with $100 + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in class method, `$1` is in other method + corrects matching by =~` in class, `$&` is in method + registers an offense for matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in method, `$~` is in other method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in a class method with $2 + corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in method, `$`` is in other method accepts matching by =~` in a class method with Regexp.last_match(1) registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in guard condition with $1 is used in the line after that - accepts matching by =~` in a class method with $100 + accepts matching by =~` in method with $1 before unless accepts matching by =~` in method with $2 before if - registers an offense for matching by =~` in method, `$MATCH` is in other method - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with $' + registers an offense for matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in class, `$100` is in method corrects matching by =~`, $& reference is overrided - corrects matching by =~` in elsif condition - corrects matching by =~` in class method, `$'` is in other method - accepts matching by =~` in method with $~ in block - corrects matching by =~` in class, `$2` is in method + corrects matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~`, $& reference is overrided + accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in guard condition with $` is used in the line after that + registers an offense for matching by =~` in if guard condition with $1 is used in another method corrects matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~` in class, `$'` is in method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by =~` in method with Regexp.last_match(1) before unless - corrects matching by =~` in unless condition - registers an offense for matching by =~` in unless condition registers an offense for matching by =~` in method before `$MATCH` - corrects matching by =~` in method, `$~` is in other method - accepts matching by =~` in method with $1 - registers an offense for matching by =~`, $& reference is overrided - corrects matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in method, `$2` is in other method + accepts matching by =~` in method with $~ before unless + corrects matching by =~` in method before `$1` + corrects matching by =~` in method, `$100` is in other method + accepts matching by =~` in method with $100 before if + registers an offense for matching by =~` in class, `$1` is in method + accepts matching by =~` in guard condition with $100 is used in the line after that corrects matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~`, $~ reference is overrided - corrects matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in method, `$`` is in other method - corrects matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $1 in block - registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in if condition - accepts matching by =~` in method with $& before unless - corrects matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in method before `$100` - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with Regexp.last_match before if - registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~` in method before `$MATCH` - corrects matching by =~` in class, `$`` is in method - corrects matching by =~`, $` reference is overrided - accepts matching by =~` in method with Regexp.last_match before unless - corrects matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~`, $2 reference is overrided + corrects matching by =~`, $100 reference is overrided registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in class, `$'` is in method - accepts matching by =~` in guard condition with $~ is used in the line after that - registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in method with $' before if + accepts matching by =~` in guard condition with $& is used in the line after that + registers an offense for matching by =~` in method before `$100` corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in method before `$'` - corrects matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with $1 before if - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in case condition - registers an offense for matching by =~` in module, `$~` is in method - accepts matching by =~` in a class method with $MATCH - accepts matching by =~` in guard condition with $2 is used in the line after that - corrects matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in class method, `$100` is in other method + accepts matching by =~` in method with $2 in block + registers an offense for matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $MATCH before if + registers an offense for matching by =~` in unless condition + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in method before `$100` + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~`, $' reference is overrided + corrects matching by =~` in if guard condition with $MATCH is used in another method corrects matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $~ before unless - accepts matching by =~` in a class method with $` - registers an offense for matching by =~`, $' reference is overrided - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in method before `$`` + registers an offense for matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in elsif condition + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in case condition + registers an offense for matching by =~` in module, `Regexp.last_match` is in method accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~`, $' reference is overrided - registers an offense for matching by =~` in if guard condition with $~ is used in another method corrects matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in method before `$1` - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $2 in block - registers an offense for matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in method before `$&` - corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in method with $MATCH - registers an offense for matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in class method, `$&` is in other method - accepts matching by =~` in method with $1 before unless - corrects matching by =~` in if condition - accepts matching by =~` in method with $& in block - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~` in method definition - registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~` in method before `$1` - registers an offense for matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in method with Regexp.last_match corrects matching by =~` in method before `$~` - corrects matching by =~` in method before `$2` - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in method with $` before if - accepts matching by =~` in method with $100 before unless + corrects matching by =~` in class method, `$2` is in other method + accepts matching by =~` in method with $& before unless + registers an offense for matching by =~` in method before `$~` + registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~` in elsif condition + registers an offense for matching by =~` in method before `$1` + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in ternary operator + registers an offense for matching by =~` in class method, `$`` is in other method registers an offense for matching by =~` in method before `$'` - accepts matching by =~` in method with $' in block - accepts matching by =~` in method with $` in block - corrects matching by =~` in method, `$&` is in other method - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in a class method with $1 - accepts matching by =~` in guard condition with $MATCH is used in the line after that - accepts matching by =~` in guard condition with $100 is used in the line after that - corrects matching by =~` in ternary operator - registers an offense for matching by =~` in method, `$2` is in other method + corrects matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in module, `$&` is in method accepts matching by =~` in method with $` before unless - accepts matching by =~` in method with $2 - accepts matching by =~` in method with $' before unless - accepts matching by =~` in method with $MATCH before if - registers an offense for matching by =~`, $MATCH reference is overrided - corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in elsif condition - registers an offense for matching by =~` in class method, `$`` is in other method - corrects matching by =~` in method, `$1` is in other method - accepts matching by =~` in guard condition with $` is used in the line after that - corrects matching by =~` in method, `$100` is in other method - corrects matching by =~` in method before `$100` - registers an offense for matching by =~` in class method, `$100` is in other method - corrects matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~` in class, `$100` is in method - accepts matching by =~` in method with $` - corrects matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in method with $~ - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in module, `$100` is in method corrects matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~` in method before `$`` + corrects matching by =~` in method, `$`` is in other method accepts matching by =~` in method with Regexp.last_match(1) - registers an offense for matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in if condition - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~`, $2 reference is overrided - corrects matching by =~` in method before `$&` - registers an offense for matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in method, `$&` is in other method - corrects matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~`, $100 reference is overrided + corrects matching by =~` in class, `$`` is in method accepts matching by =~` in a class method with Regexp.last_match - accepts matching by =~` in method with Regexp.last_match(1) before if - accepts matching by =~` in guard condition with $& is used in the line after that - corrects matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with Regexp.last_match - corrects matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in module, `$100` is in method - corrects matching by =~` in unless condition - registers an offense for matching by =~` in unless condition + registers an offense for matching by =~` in class method, `$~` is in other method + accepts matching by =~` in method with Regexp.last_match in block + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in method with $MATCH in block + accepts matching by =~` in method with $` before if + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in method with $' in block + registers an offense for matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in if condition + corrects matching by =~` in class method, `$~` is in other method + accepts matching by =~` in method with $100 + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in if guard condition with $1 is used in another method accepts matching by =~` in method with $2 before unless accepts matching by =~` in a class method with $' - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in method before `$2` + corrects matching by =~` in class, `$1` is in method + corrects matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in case condition + registers an offense for matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in class method, `$1` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in method with $100 before unless + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~`, $` reference is overrided + registers an offense for matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in ternary operator + registers an offense for matching by =~` in class method, `$2` is in other method + accepts matching by =~` in method with $& + registers an offense for matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in if guard condition with $' is used in another method + accepts matching by =~` in method with Regexp.last_match before unless + accepts matching by =~` in method with $100 in block + accepts matching by =~` in method with $' before if + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~`, $1 reference is overrided accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in module, `$2` is in method + accepts matching by =~` in a class method with $~ + accepts matching by =~` in a class method with $1 + accepts matching by =~` in a class method with $& + corrects matching by =~` in if condition + registers an offense for matching by =~`, $MATCH reference is overrided + accepts matching by =~` in method with $~ before if + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in class, `$`` is in method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + accepts matching by =~` in method with $` in block + corrects matching by =~` in method before `$&` + registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $1 accepts matching by =~` in guard condition with $' is used in the line after that - corrects matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in method with $& - registers an offense for matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in unless condition + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in class method, `$&` is in other method + corrects matching by =~` in class, `$'` is in method + corrects matching by =~` in method before `$'` + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~`, $` reference is overrided + registers an offense for matching by =~` in class method, `$'` is in other method + corrects matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in module, `$`` is in method + accepts matching by =~` in method with Regexp.last_match(1) before unless + accepts matching by =~` in method with $1 before if + accepts matching by =~` in method with $1 in block + corrects matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~`, $' reference is overrided + registers an offense for matching by =~` in if guard condition with $2 is used in another method + registers an offense for matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method definition + accepts matching by =~` in method with $& in block + corrects matching by =~` in method before `$2` + accepts matching by =~` in method with $& before if + registers an offense for matching by =~`, $~ reference is overrided + registers an offense for matching by =~` in method definition + registers an offense for matching by =~` in class, `$2` is in method + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class, `$~` is in method + corrects matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in method, `$2` is in other method + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in method before `$2` behaves like all legacy match methods - accepts matching by !~` in guard condition with $100 is used in the line after that - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~` in method, `$2` is in other method corrects matching by !~`, $' reference is overrided - corrects matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~` in class method, `$`` is in other method - corrects matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~` in module, `$&` is in method - accepts matching by !~` in method with $2 before unless - registers an offense for matching by !~` in method before `$2` - accepts matching by !~` in method with Regexp.last_match in block - accepts matching by !~` in method with $& in block - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~` in module, `$1` is in method - corrects matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in guard condition with $~ is used in the line after that - accepts matching by !~` in method with $100 + corrects matching by !~`, $& reference is overrided + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in method before `$`` + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~`, $MATCH reference is overrided + accepts matching by !~` in guard condition with $MATCH is used in the line after that + accepts matching by !~` in a class method with $& + accepts matching by !~` in a class method with $` + accepts matching by !~` in a class method with $2 + corrects matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in guard condition with $` is used in the line after that + registers an offense for matching by !~` in module, `$~` is in method + corrects matching by !~` in method before `$~` + accepts matching by !~` in a class method with Regexp.last_match + corrects matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in method before `$100` + registers an offense for matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in class method, `$`` is in other method + corrects matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in if guard condition with $' is used in another method registers an offense for matching by !~` in case condition - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in unless condition - corrects matching by !~` in module, `$2` is in method - accepts matching by !~` in method with $` - corrects matching by !~` in method, `$100` is in other method - corrects matching by !~` in if guard condition with $1 is used in another method - accepts matching by !~` in method with Regexp.last_match before if - accepts matching by !~` in a class method with $~ + accepts matching by !~` in method with $MATCH + corrects matching by !~` in class method, `$&` is in other method + accepts matching by !~` in method with Regexp.last_match before unless + accepts matching by !~` in method with $& before unless accepts matching by !~` in method with $1 before if - corrects matching by !~` in method before `$2` - registers an offense for matching by !~`, $2 reference is overrided - corrects matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in method definition + corrects matching by !~` in if guard condition with $' is used in another method accepts matching by !~` in method with $1 before unless - registers an offense for matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in class, `$1` is in method - corrects matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in class, `$&` is in method - accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in method, `$'` is in other method + registers an offense for matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $& + corrects matching by !~` in class method, `$2` is in other method accepts matching by !~` in method with $2 in block - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in class, `$100` is in method - corrects matching by !~` in class, `$~` is in method - accepts matching by !~` in method with Regexp.last_match(1) - corrects matching by !~` in if condition - corrects matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in unless condition + corrects matching by !~` in case condition registers an offense for matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in a class method with $100 - accepts matching by !~` in method with $` in block - corrects matching by !~` in module, `$`` is in method - corrects matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in class method, `$'` is in other method - corrects matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in class, `$MATCH` is in method - corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in module, `$100` is in method - accepts matching by !~` in method with $` before unless - accepts matching by !~` in method with Regexp.last_match(1) in block - corrects matching by !~`, $~ reference is overrided + registers an offense for matching by !~`, $~ reference is overrided + corrects matching by !~` in module, `$MATCH` is in method + registers an offense for matching by !~`, $2 reference is overrided + corrects matching by !~` in method before `$`` + registers an offense for matching by !~` in class, `$2` is in method + registers an offense for matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with $2 before if + registers an offense for matching by !~` in class, `$&` is in method + accepts matching by !~` in method with $' in block + accepts matching by !~` in guard condition with $2 is used in the line after that + corrects matching by !~` in method before `$1` + accepts matching by !~` in method with $1 in block + registers an offense for matching by !~` in module, `$&` is in method + corrects matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in module, `$&` is in method + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in class method, `$&` is in other method registers an offense for matching by !~` in module, `$100` is in method - accepts matching by !~` in a class method with $& - corrects matching by !~` in class, `$100` is in method - corrects matching by !~` in case condition - accepts matching by !~` in a class method with $` - accepts matching by !~` in method with $100 before unless - corrects matching by !~` in elsif condition + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in method, `$~` is in other method + accepts matching by !~` in guard condition with $& is used in the line after that registers an offense for matching by !~` in method before `$~` - corrects matching by !~` in method, `$~` is in other method - accepts matching by !~` in method with Regexp.last_match before unless - corrects matching by !~` in module, `$'` is in method - corrects matching by !~` in class, `$MATCH` is in method - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in class, `$`` is in method - registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in if guard condition with $& is used in another method + accepts matching by !~` in method with $100 in block registers an offense for matching by !~` in class method, `$~` is in other method - corrects matching by !~` in class method, `$1` is in other method + corrects matching by !~` in method before `$100` corrects matching by !~` in unless condition - corrects matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in method definition - corrects matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in method before `$1` - accepts matching by !~` in a class method with Regexp.last_match(1) - accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in method, `$100` is in other method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in method with $1 in block - corrects matching by !~` in class method, `$'` is in other method - accepts matching by !~` in a class method with $2 - registers an offense for matching by !~` in method, `$1` is in other method - accepts matching by !~` in method with $& before unless - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in guard condition with $' is used in the line after that - corrects matching by !~` in method before `$~` - accepts matching by !~` in guard condition with $2 is used in the line after that - accepts matching by !~` in method with $2 before if - accepts matching by !~` in method with $100 before if - registers an offense for matching by !~` in method before `$&` - registers an offense for matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in method, `$`` is in other method - registers an offense for matching by !~` in class method, `$1` is in other method - corrects matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in class, `$~` is in method - registers an offense for matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in method, `$&` is in other method - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with $' before unless - accepts matching by !~` in guard condition with $1 is used in the line after that + registers an offense for matching by !~` in class, `$MATCH` is in method registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in method before `$100` - accepts matching by !~` in method with $& - registers an offense for matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in module, `$'` is in method - accepts matching by !~` in method with $~ - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in method before `$`` - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - corrects matching by !~`, $& reference is overrided + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method corrects matching by !~` in class, `$2` is in method - corrects matching by !~` in method before `Regexp.last_match` - corrects matching by !~` in module, `$1` is in method - corrects matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in ternary operator - registers an offense for matching by !~` in unless condition - accepts matching by !~` in method with $~ before if + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by !~` in class, `$`` is in method + accepts matching by !~` in a class method with $1 + corrects matching by !~` in method, `$~` is in other method + accepts matching by !~` in method with $& in block + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in method with $MATCH in block + corrects matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in method before `$'` + registers an offense for matching by !~` in method, `$`` is in other method + accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in module, `$2` is in method + registers an offense for matching by !~` in method, `$2` is in other method + corrects matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~`, $& reference is overrided + corrects matching by !~` in module, `$1` is in method + corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in method with $~ before unless + corrects matching by !~`, $1 reference is overrided + accepts matching by !~` in method with $1 + registers an offense for matching by !~`, $` reference is overrided + corrects matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method registers an offense for matching by !~`, $1 reference is overrided - corrects matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in class, `$100` is in method + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in method with Regexp.last_match in block + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with $' before unless + registers an offense for matching by !~` in unless condition + accepts matching by !~` in guard condition with $~ is used in the line after that + registers an offense for matching by !~`, $' reference is overrided corrects matching by !~` in class, `$&` is in method + accepts matching by !~` in method with $100 + registers an offense for matching by !~` in class method, `$1` is in other method + accepts matching by !~` in guard condition with $100 is used in the line after that + accepts matching by !~` in method with Regexp.last_match before if + corrects matching by !~` in class, `$1` is in method + corrects matching by !~` in method definition + corrects matching by !~` in if guard condition with $100 is used in another method + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in class method, `$100` is in other method + accepts matching by !~` in a class method with $' + accepts matching by !~` in method with $` before if + corrects matching by !~` in if condition + accepts matching by !~` in method with $MATCH before unless registers an offense for matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in module, `$1` is in method + corrects matching by !~` in module, `$2` is in method + accepts matching by !~` in guard condition with $' is used in the line after that + accepts matching by !~` in method with Regexp.last_match(1) in block + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in if guard condition with $1 is used in another method + accepts matching by !~` in a class method with $100 + corrects matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in class, `$~` is in method + corrects matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in method before `$2` + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~` in ternary operator + accepts matching by !~` in guard condition with $1 is used in the line after that + registers an offense for matching by !~` in class, `$'` is in method + accepts matching by !~` in a class method with Regexp.last_match(1) + accepts matching by !~` in method with $` in block + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $' + corrects matching by !~` in module, `Regexp.last_match(1)` is in method registers an offense for matching by !~` in if guard condition with $100 is used in another method + accepts matching by !~` in method with $` registers an offense for matching by !~` in method before `$MATCH` - corrects matching by !~` in method before `$`` - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~` in method, `$'` is in other method - corrects matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in method with $MATCH before unless - accepts matching by !~` in method with $MATCH before if + corrects matching by !~` in method before `$&` + corrects matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in method before `Regexp.last_match` corrects matching by !~` in if guard condition with $2 is used in another method - corrects matching by !~` in class, `$1` is in method - corrects matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in method with $100 in block - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~`, $& reference is overrided - corrects matching by !~` in if guard condition with $' is used in another method - accepts matching by !~` in method with $' in block - accepts matching by !~` in method with $1 - corrects matching by !~` in method before `$100` - corrects matching by !~` in method before `$'` + corrects matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in method before `$&` + corrects matching by !~` in elsif condition + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in method with $' before if registers an offense for matching by !~` in method before `$1` - corrects matching by !~` in method before `$&` - accepts matching by !~` in method with $' - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in method, `$~` is in other method - accepts matching by !~` in method with $` before if - registers an offense for matching by !~` in if condition + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method registers an offense for matching by !~` in class method, `$100` is in other method - corrects matching by !~` in if condition - accepts matching by !~` in method with $2 - corrects matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in elsif condition + accepts matching by !~` in method with Regexp.last_match(1) + accepts matching by !~` in method with $100 before if + corrects matching by !~` in module, `$`` is in method + corrects matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in method, `$&` is in other method registers an offense for matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~` in class, `$'` is in method - corrects matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + accepts matching by !~` in method with $` before unless + accepts matching by !~` in method with $100 before unless + accepts matching by !~` in method with $2 before unless + accepts matching by !~` in method with $& before if + accepts matching by !~` in method with $~ in block + accepts matching by !~` in method with $MATCH before if + corrects matching by !~`, $~ reference is overrided + accepts matching by !~` in method with $~ before if + corrects matching by !~` in method before `$MATCH` + corrects matching by !~` in method before `$'` corrects matching by !~` in unless condition - registers an offense for matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~`, $' reference is overrided - corrects matching by !~` in method definition - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in method, `$&` is in other method - accepts matching by !~` in method with $' before if - registers an offense for matching by !~` in module, `$2` is in method - corrects matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in method with Regexp.last_match - accepts matching by !~` in method with $MATCH - corrects matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in a class method with $' - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in class method, `$100` is in other method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in method with $2 + corrects matching by !~` in module, `$100` is in method + corrects matching by !~` in module, `$~` is in method + corrects matching by !~` in class method, `$1` is in other method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in method, `$100` is in other method + corrects matching by !~` in class method, `$~` is in other method + corrects matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~` in method, `$'` is in other method + corrects matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in ternary operator + registers an offense for matching by !~` in method, `$100` is in other method accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in method with $MATCH in block - corrects matching by !~` in class, `$`` is in method - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that registers an offense for matching by !~` in class method, `$2` is in other method - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in a class method with $1 - registers an offense for matching by !~` in ternary operator - registers an offense for matching by !~` in if guard condition with $& is used in another method - corrects matching by !~`, $100 reference is overrided - accepts matching by !~` in method with $~ in block - corrects matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in class method, `$&` is in other method - corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in guard condition with $` is used in the line after that - accepts matching by !~` in method with $& before if - -RuboCop::Cop::Performance::DeletePrefix - TargetRubyVersion <= 2.4 - does not register an offense when using `sub(/Aprefix/, '')` - does not register an offense when using `gsub(/Aprefix/, '')` - does not register an offense when using `sub!(/Aprefix/, '')` - does not register an offense when using `gsub!(/Aprefix/, '')` - TargetRubyVersion >= 2.5 - does not register an offense when using `delete_prefix!` - does not register an offense when using `delete_prefix` - with starting pattern `\A` and ending pattern `\z` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `sub` - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `gsub` - when using non-starting pattern - does not register an offense when using `sub` - does not register an offense when using `gsub` - does not register an offense when using `sub!` - does not register an offense when using `gsub!` - when using a non-blank string as replacement string - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `sub` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `gsub` - when using `\A` as starting pattern - registers an offense and corrects when `gsub!(/Aprefix/, '')` - registers an offense and corrects when `sub!(/Aprefix/, '')` - registers an offense and corrects when `gsub(/Aprefix/, '')` - registers an offense and corrects when `sub(/Aprefix/, '')` - when using `^` as starting pattern - when `SafeMultiline: false` - registers an offense and corrects when using `gsub!` - registers an offense and corrects when using `sub` - registers an offense and corrects when using `sub!` - registers an offense and corrects when using `gsub` - when `SafeMultiline: true` - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `gsub` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `sub` - -RuboCop::Cop::Performance::RedundantMatch - formats error message correctly for something if str.match(/regex/) - does not register an error when return value of .match is passed to another method - does not register an error when return value of .match is returned from surrounding method - autocorrects .match in while condition - does not register an error when there is no receiver to the match call - does not register an offense when match has a block - autocorrects .match in unless condition - does not autocorrect if .match has a string agrgument - autocorrects .match in method body (but not tail position) - does not register an error when return value of .match is stored in an instance variable - autocorrects .match in until condition - autocorrects .match in if condition - -RuboCop::Cop::Performance::Squeeze - does not register an offense when using `#squeeze!` - registers an offense and corrects when using `#gsub!(/a+/, 'a')` - registers an offense and corrects when using `#gsub(/a+/, 'a')` - does not register an offense when using `#squeeze` - does not register an offense when replacement does not match pattern + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in method with Regexp.last_match(1) before if + accepts matching by !~` in method with $~ + corrects matching by !~`, $MATCH reference is overrided + corrects matching by !~` in if condition + behaves like all legacy match methods + accepts matching by ===` in guard condition with $100 is used in the line after that + corrects matching by ===` in method before `$MATCH` + corrects matching by ===` in module, `$1` is in method + registers an offense for matching by ===` in method definition + accepts matching by ===` in method with Regexp.last_match + registers an offense for matching by ===` in method before `$100` + corrects matching by ===` in method before `$2` + registers an offense for matching by ===` in if guard condition with $` is used in another method + accepts matching by ===` in method with $& before if + corrects matching by ===` in method definition + accepts matching by ===` in a class method with $1 + corrects matching by ===` in unless condition + registers an offense for matching by ===` in method, `$MATCH` is in other method + accepts matching by ===` in method with $1 before if + accepts matching by ===` in method with $& in block + corrects matching by ===` in method before `$~` + corrects matching by ===` in class, `$2` is in method + registers an offense for matching by ===`, $100 reference is overrided + registers an offense for matching by ===` in method before `Regexp.last_match(1)` + corrects matching by ===` in class method, `$1` is in other method + registers an offense for matching by ===` in class method, `$2` is in other method + accepts matching by ===` in method with $100 before unless + registers an offense for matching by ===` in method before `$MATCH` + corrects matching by ===` in class, `$~` is in method + registers an offense for matching by ===` in module, `$~` is in method + corrects matching by ===` in method before `Regexp.last_match(1)` + registers an offense for matching by ===` in module, `$'` is in method + accepts matching by ===` in method with $' before if + corrects matching by ===` in class, `$MATCH` is in method + accepts matching by ===` in a class method with $100 + registers an offense for matching by ===` in module, `$1` is in method + corrects matching by ===` in class method, `$'` is in other method + registers an offense for matching by ===`, $& reference is overrided + registers an offense for matching by ===` in elsif condition + registers an offense for matching by ===` in class, `$MATCH` is in method + registers an offense for matching by ===`, $2 reference is overrided + registers an offense for matching by ===` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by ===` in module, `$MATCH` is in method + accepts matching by ===` in method with Regexp.last_match(1) before unless + registers an offense for matching by ===` in method, `$~` is in other method + corrects matching by ===` in case condition + accepts matching by ===` in method with $100 + registers an offense for matching by ===` in method before `$`` + registers an offense for matching by ===` in if condition + registers an offense for matching by ===` in if guard condition with $' is used in another method + registers an offense for matching by ===`, Regexp.last_match reference is overrided + accepts matching by ===` in a class method with $` + registers an offense for matching by ===` in method before `$2` + registers an offense for matching by ===` in class, `$1` is in method + accepts matching by ===` in method with $` before if + registers an offense for matching by ===` in module, `Regexp.last_match(1)` is in method + corrects matching by ===` in if guard condition with $' is used in another method + registers an offense for matching by ===` in class, `Regexp.last_match(1)` is in method + accepts matching by ===` in method with $' before unless + registers an offense for matching by ===` in if guard condition with $~ is used in another method + corrects matching by ===` in class, `$100` is in method + registers an offense for matching by ===` in class, `Regexp.last_match` is in method + registers an offense for matching by ===` in method, `Regexp.last_match(1)` is in other method + corrects matching by ===` in method before `$100` + corrects matching by ===` in if guard condition with $MATCH is used in another method + accepts matching by ===` in method with Regexp.last_match(1) before if + corrects matching by ===` in ternary operator + accepts matching by ===` in a class method with Regexp.last_match + registers an offense for matching by ===` in module, `Regexp.last_match` is in method + corrects matching by ===` in method, `$`` is in other method + corrects matching by ===`, $100 reference is overrided + registers an offense for matching by ===`, $MATCH reference is overrided + accepts matching by ===` in method with $2 before if + registers an offense for matching by ===` in class method, `$MATCH` is in other method + corrects matching by ===` in class method, `Regexp.last_match(1)` is in other method + accepts matching by ===` in method with $MATCH before if + corrects matching by ===` in class method, `$MATCH` is in other method + registers an offense for matching by ===` in method before `$1` + registers an offense for matching by ===` in class, `$2` is in method + corrects matching by ===` in module, `$~` is in method + registers an offense for matching by ===` in method, `$`` is in other method + corrects matching by ===` in if guard condition with $2 is used in another method + corrects matching by ===` in class, `$`` is in method + registers an offense for matching by ===`, $~ reference is overrided + accepts matching by ===` in method with $1 + corrects matching by ===` in if guard condition with $~ is used in another method + accepts matching by ===` in a class method with $' + registers an offense for matching by ===` in class method, `$`` is in other method + registers an offense for matching by ===` in method before `$~` + corrects matching by ===` in method before `$&` + registers an offense for matching by ===` in module, `$100` is in method + registers an offense for matching by ===` in method before `$&` + corrects matching by ===` in class method, `$`` is in other method + accepts matching by ===` in a class method with $& + accepts matching by ===` in method with $' + corrects matching by ===`, Regexp.last_match reference is overrided + corrects matching by ===` in if condition + registers an offense for matching by ===` in module, `$2` is in method + accepts matching by ===` in method with $MATCH + corrects matching by ===` in class method, `$&` is in other method + registers an offense for matching by ===` in class, `$&` is in method + corrects matching by ===`, $' reference is overrided + corrects matching by ===` in unless condition + corrects matching by ===` in if condition + accepts matching by ===` in method with $2 + accepts matching by ===` in a class method with $MATCH + registers an offense for matching by ===` in unless condition + accepts matching by ===` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by ===` in method with Regexp.last_match in block + registers an offense for matching by ===` in if guard condition with $1 is used in another method + corrects matching by ===` in class method, `$100` is in other method + corrects matching by ===`, $& reference is overrided + accepts matching by ===` in method with $2 in block + corrects matching by ===`, $` reference is overrided + corrects matching by ===` in method, `$1` is in other method + registers an offense for matching by ===` in if guard condition with $2 is used in another method + accepts matching by ===` in method with $~ before if + accepts matching by ===` in method with $100 in block + registers an offense for matching by ===` in method, `$2` is in other method + corrects matching by ===` in class method, `Regexp.last_match` is in other method + corrects matching by ===` in elsif condition + accepts matching by ===` in method with $MATCH before unless + accepts matching by ===` in method with Regexp.last_match before unless + accepts matching by ===` in a class method with Regexp.last_match(1) + registers an offense for matching by ===` in class method, `Regexp.last_match(1)` is in other method + accepts matching by ===` in guard condition with Regexp.last_match is used in the line after that + accepts matching by ===` in guard condition with $MATCH is used in the line after that + registers an offense for matching by ===` in class method, `$100` is in other method + accepts matching by ===` in a class method with $~ + registers an offense for matching by ===` in class, `$100` is in method + registers an offense for matching by ===` in unless condition + registers an offense for matching by ===`, $' reference is overrided + corrects matching by ===` in method before `$1` + corrects matching by ===` in method before `Regexp.last_match` + corrects matching by ===` in if guard condition with $` is used in another method + corrects matching by ===` in module, `$100` is in method + registers an offense for matching by ===` in case condition + registers an offense for matching by ===` in if guard condition with $100 is used in another method + accepts matching by ===` in method with $~ before unless + corrects matching by ===` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by ===` in method, `$1` is in other method + accepts matching by ===` in method with $` in block + corrects matching by ===` in method, `$MATCH` is in other method + corrects matching by ===` in if guard condition with $1 is used in another method + registers an offense for matching by ===`, Regexp.last_match(1) reference is overrided + accepts matching by ===` in guard condition with $2 is used in the line after that + registers an offense for matching by ===` in class method, `$&` is in other method + corrects matching by ===` in method, `$100` is in other method + accepts matching by ===` in method with Regexp.last_match(1) in block + accepts matching by ===` in method with $& + accepts matching by ===` in a class method with $2 + corrects matching by ===` in module, `Regexp.last_match` is in method + corrects matching by ===` in method, `$~` is in other method + corrects matching by ===` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by ===` in method with $MATCH in block + registers an offense for matching by ===` in class, `$`` is in method + registers an offense for matching by ===` in method, `$100` is in other method + corrects matching by ===` in method, `$'` is in other method + corrects matching by ===`, $MATCH reference is overrided + registers an offense for matching by ===` in module, `$&` is in method + registers an offense for matching by ===` in class method, `$'` is in other method + accepts matching by ===` in guard condition with $` is used in the line after that + registers an offense for matching by ===` in class, `$'` is in method + registers an offense for matching by ===`, $` reference is overrided + corrects matching by ===` in class, `$&` is in method + corrects matching by ===`, $2 reference is overrided + accepts matching by ===` in method with $` before unless + registers an offense for matching by ===` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by ===` in method with $2 before unless + registers an offense for matching by ===` in if guard condition with $MATCH is used in another method + accepts matching by ===` in guard condition with $1 is used in the line after that + accepts matching by ===` in method with $1 in block + corrects matching by ===` in if guard condition with $& is used in another method + corrects matching by ===` in module, `$'` is in method + accepts matching by ===` in method with $' in block + accepts matching by ===` in method with $~ in block + corrects matching by ===` in class method, `$~` is in other method + corrects matching by ===`, Regexp.last_match(1) reference is overrided + corrects matching by ===` in method, `$&` is in other method + corrects matching by ===` in module, `$`` is in method + registers an offense for matching by ===` in method, `$'` is in other method + accepts matching by ===` in method with $` + corrects matching by ===` in class, `$'` is in method + accepts matching by ===` in guard condition with $' is used in the line after that + accepts matching by ===` in method with $100 before if + registers an offense for matching by ===` in class, `$~` is in method + accepts matching by ===` in method with $~ + registers an offense for matching by ===` in method, `Regexp.last_match` is in other method + registers an offense for matching by ===` in class method, `$~` is in other method + registers an offense for matching by ===` in method before `Regexp.last_match` + registers an offense for matching by ===` in class method, `$1` is in other method + corrects matching by ===` in class, `Regexp.last_match` is in method + accepts matching by ===` in method with Regexp.last_match before if + accepts matching by ===` in guard condition with $~ is used in the line after that + corrects matching by ===` in module, `$MATCH` is in method + corrects matching by ===` in if guard condition with $100 is used in another method + accepts matching by ===` in guard condition with $& is used in the line after that + registers an offense for matching by ===` in method before `$'` + corrects matching by ===`, $~ reference is overrided + registers an offense for matching by ===`, $1 reference is overrided + corrects matching by ===` in module, `$2` is in method + corrects matching by ===` in if guard condition with Regexp.last_match is used in another method + corrects matching by ===` in method, `Regexp.last_match(1)` is in other method + corrects matching by ===` in module, `$&` is in method + registers an offense for matching by ===` in method, `$&` is in other method + corrects matching by ===`, $1 reference is overrided + registers an offense for matching by ===` in if guard condition with $& is used in another method + corrects matching by ===` in method, `$2` is in other method + accepts matching by ===` in method with Regexp.last_match(1) + corrects matching by ===` in class method, `$2` is in other method + corrects matching by ===` in method, `Regexp.last_match` is in other method + accepts matching by ===` in method with $1 before unless + corrects matching by ===` in class, `$1` is in method + registers an offense for matching by ===` in ternary operator + registers an offense for matching by ===` in module, `$`` is in method + registers an offense for matching by ===` in class method, `Regexp.last_match` is in other method + corrects matching by ===` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by ===` in if condition + corrects matching by ===` in method before `$'` + corrects matching by ===` in method before `$`` + accepts matching by ===` in method with $& before unless + behaves like all legacy match methods + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in module, `$'` is in method + accepts matching by =~` in method with $1 before if + accepts matching by =~` in method with $1 before unless + accepts matching by =~` in method with $& before unless + accepts matching by =~` in method with $& + accepts matching by =~` in method with $2 in block + registers an offense for matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $MATCH before unless + corrects matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class method, `$1` is in other method + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~`, $` reference is overrided + registers an offense for matching by =~`, $MATCH reference is overrided + accepts matching by =~` in a class method with $1 + registers an offense for matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in a class method with Regexp.last_match(1) + registers an offense for matching by =~`, $100 reference is overrided + accepts matching by =~` in method with $1 in block + corrects matching by =~` in method, `$'` is in other method + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with $` before unless + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in class, `$'` is in method + accepts matching by =~` in method with $~ before unless + accepts matching by =~` in method with Regexp.last_match(1) in block + corrects matching by =~` in class, `$2` is in method + accepts matching by =~` in method with Regexp.last_match before if + corrects matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in method before `$'` + corrects matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in module, `$1` is in method + accepts matching by =~` in method with $MATCH + corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in class, `$~` is in method + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in class method, `$100` is in other method + accepts matching by =~` in method with Regexp.last_match(1) + accepts matching by =~` in method with $2 before unless + registers an offense for matching by =~` in class, `$~` is in method + corrects matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in unless condition + accepts matching by =~` in method with $~ + corrects matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in method, `$1` is in other method + registers an offense for matching by =~`, $& reference is overrided + accepts matching by =~` in method with $100 before unless + corrects matching by =~` in unless condition + corrects matching by =~` in method before `$~` + accepts matching by =~` in method with $` + corrects matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~`, $2 reference is overrided + accepts matching by =~` in method with $' before unless + accepts matching by =~` in method with $1 + registers an offense for matching by =~` in module, `$MATCH` is in method + accepts matching by =~` in method with $` in block + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + accepts matching by =~` in method with $MATCH before if + registers an offense for matching by =~` in unless condition + registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in if condition + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in case condition + corrects matching by =~`, $' reference is overrided + accepts matching by =~` in a class method with $& + corrects matching by =~` in method before `$`` + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~` in method, `$'` is in other method + corrects matching by =~` in ternary operator + accepts matching by =~` in a class method with Regexp.last_match + registers an offense for matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in class, `$1` is in method + corrects matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in if condition + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~` in class, `$100` is in method + registers an offense for matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in guard condition with $1 is used in the line after that + registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in method, `$~` is in other method + accepts matching by =~` in method with $& before if + registers an offense for matching by =~` in method before `$~` + corrects matching by =~`, $1 reference is overrided + corrects matching by =~` in if condition + corrects matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in method before `$100` + accepts matching by =~` in method with $& in block + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by =~` in method with $` before if + registers an offense for matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in a class method with $2 + registers an offense for matching by =~` in method before `$MATCH` + accepts matching by =~` in method with Regexp.last_match in block + corrects matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in method with $100 in block + registers an offense for matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in elsif condition + accepts matching by =~` in method with $100 + accepts matching by =~` in a class method with $~ + corrects matching by =~` in class method, `$~` is in other method + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in if condition + accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in method with $2 + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in guard condition with $MATCH is used in the line after that + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in method before `$1` + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~`, $~ reference is overrided + corrects matching by =~` in method definition + corrects matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in if guard condition with $' is used in another method + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in method before `$'` + corrects matching by =~` in module, `$`` is in method + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in module, `$2` is in method + corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in elsif condition + corrects matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that + registers an offense for matching by =~` in method, `$2` is in other method + accepts matching by =~` in a class method with $100 + corrects matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~` in method, `$&` is in other method + corrects matching by =~` in method before `$2` + registers an offense for matching by =~` in class method, `$'` is in other method + accepts matching by =~` in method with $100 before if + registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in method before `$1` + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in method before `$&` + registers an offense for matching by =~` in method before `$2` + accepts matching by =~` in method with $' before if + accepts matching by =~` in guard condition with $` is used in the line after that + registers an offense for matching by =~` in case condition + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in ternary operator + registers an offense for matching by =~` in module, `$~` is in method + registers an offense for matching by =~`, $` reference is overrided + registers an offense for matching by =~` in class method, `$2` is in other method + accepts matching by =~` in guard condition with $' is used in the line after that + corrects matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in method definition + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in method before `$100` + accepts matching by =~` in method with $~ before if + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in class, `$'` is in method + accepts matching by =~` in method with Regexp.last_match + accepts matching by =~` in a class method with $' + accepts matching by =~` in method with $MATCH in block + accepts matching by =~` in method with Regexp.last_match before unless + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $' + corrects matching by =~` in module, `$~` is in method + corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in method with $2 before if + corrects matching by =~` in class, `$`` is in method + corrects matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in class method, `$100` is in other method + accepts matching by =~` in method with $' in block + accepts matching by =~` in a class method with $MATCH + corrects matching by =~` in module, `$100` is in method + corrects matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in class, `$2` is in method + accepts matching by =~` in a class method with $` + corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in unless condition + behaves like all legacy match methods + accepts matching by =~` in method with $MATCH before unless + registers an offense for matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $2 before if + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $100 + corrects matching by =~` in method before `$2` + accepts matching by =~` in method with $MATCH in block + corrects matching by =~` in method definition + accepts matching by =~` in method with $~ before unless + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~` in class, `$'` is in method + corrects matching by =~` in class, `$100` is in method + registers an offense for matching by =~`, $2 reference is overrided + registers an offense for matching by =~` in class method, `$'` is in other method + accepts matching by =~` in method with Regexp.last_match + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in method before `$~` + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by =~`, $MATCH reference is overrided + accepts matching by =~` in method with $` + corrects matching by =~` in method before `$~` + corrects matching by =~` in elsif condition + corrects matching by =~` in method before `$MATCH` + corrects matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in method with Regexp.last_match(1) + corrects matching by =~` in class, `$2` is in method + corrects matching by =~` in method, `$~` is in other method + corrects matching by =~` in if condition + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in method before `$&` + corrects matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in case condition + corrects matching by =~`, $100 reference is overrided + corrects matching by =~` in method before `$1` + corrects matching by =~` in method, `$&` is in other method + accepts matching by =~` in guard condition with $' is used in the line after that + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in unless condition + corrects matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in method before `$1` + corrects matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with Regexp.last_match before unless + corrects matching by =~`, $~ reference is overrided + accepts matching by =~` in method with $MATCH before if + registers an offense for matching by =~` in class method, `$2` is in other method + corrects matching by =~` in unless condition + accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in method with $~ + accepts matching by =~` in method with $` in block + registers an offense for matching by =~` in class method, `$1` is in other method + accepts matching by =~` in method with $' in block + accepts matching by =~` in method with $MATCH + accepts matching by =~` in method with $' before if + corrects matching by =~` in class, `$'` is in method + corrects matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in module, `$2` is in method + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~`, $1 reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in method, `$&` is in other method + accepts matching by =~` in a class method with $` + corrects matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in if condition + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with $2 before unless + corrects matching by =~` in if condition + accepts matching by =~` in method with Regexp.last_match(1) in block + registers an offense for matching by =~` in method before `$100` + corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in class method, `$2` is in other method + accepts matching by =~` in a class method with $MATCH + registers an offense for matching by =~` in method definition + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in class method, `$~` is in other method + corrects matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in method with $1 in block + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in unless condition + accepts matching by =~` in method with $& before if + registers an offense for matching by =~`, $` reference is overrided + accepts matching by =~` in method with $& before unless + registers an offense for matching by =~`, $~ reference is overrided + corrects matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in guard condition with $2 is used in the line after that + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in method, `$1` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in a class method with $~ + registers an offense for matching by =~` in unless condition + registers an offense for matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in method with $2 + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~`, $1 reference is overrided + accepts matching by =~` in method with $' before unless + registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in class method, `$1` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before unless + registers an offense for matching by =~` in if condition + corrects matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in class method, `$100` is in other method + corrects matching by =~` in method, `$2` is in other method + corrects matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in class method, `$&` is in other method + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in module, `$1` is in method + accepts matching by =~` in method with $1 before unless + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in method before `$100` + registers an offense for matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in class, `$2` is in method + corrects matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $1 + registers an offense for matching by =~` in method, `$~` is in other method + corrects matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with $2 in block + accepts matching by =~` in a class method with $2 + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in method with $& in block + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~`, $2 reference is overrided + accepts matching by =~` in method with $` before if + registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in method before `$`` + corrects matching by =~` in method before `$'` + registers an offense for matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~`, $MATCH reference is overrided + accepts matching by =~` in method with $~ before if + corrects matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in method with $' + corrects matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in class, `$1` is in method + accepts matching by =~` in method with $` before unless + corrects matching by =~`, $' reference is overrided + corrects matching by =~` in class method, `$100` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in method with $100 before unless + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in if guard condition with $2 is used in another method + registers an offense for matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + corrects matching by =~` in class, `$1` is in method + accepts matching by =~` in a class method with $& + corrects matching by =~` in module, `$`` is in method + accepts matching by =~` in a class method with $100 + corrects matching by =~`, Regexp.last_match(1) reference is overrided + accepts matching by =~` in method with $100 in block + accepts matching by =~` in method with Regexp.last_match before if + accepts matching by =~` in method with $& + corrects matching by =~` in class, `$&` is in method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~`, $100 reference is overrided + accepts matching by =~` in a class method with $' + registers an offense for matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in elsif condition + corrects matching by =~` in class method, `$&` is in other method + corrects matching by =~` in case condition + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in method before `$'` + accepts matching by =~` in a class method with Regexp.last_match(1) + accepts matching by =~` in method with $~ in block + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in method, `$`` is in other method + accepts matching by =~` in a class method with Regexp.last_match + accepts matching by =~` in method with $100 before if + accepts matching by =~` in method with Regexp.last_match in block + registers an offense for matching by =~`, $& reference is overrided + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in a class method with $1 + accepts matching by =~` in method with $1 before if + corrects matching by =~` in ternary operator + registers an offense for matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in method, `$'` is in other method RuboCop::Cop::Performance::OpenStruct - registers an offense for a fully qualified ::OpenStruct.new does not register offense for Struct + registers an offense for a fully qualified ::OpenStruct.new registers an offense for OpenStruct.new -RuboCop::Cop::Performance::StringInclude - doesn't register an error for /\H/ =~ str - doesn't register an error for str.match /\w/ - doesn't register an error for str.match? /\S/ - autocorrects str =~ /\\/ - allows match without a receiver - doesn't register an error for /\S/ =~ str - autocorrects /\e.match str/ - doesn't register an error for str.match? /\H/ - doesn't register an error for str.match /\H/ - doesn't register an error for /\B/.match? str - autocorrects /\$/.match? str - doesn't register an error for str =~ /\B/ - doesn't register an error for /\b/.match? str - autocorrects str.match /\t/ - doesn't register an error for /\S/ =~ str - doesn't register an error for /prefix|/.match? str - autocorrects /\*/ =~ str - autocorrects str.match /\\/ - autocorrects str.match? /\^/ - doesn't register an error for str.match? /prefix^/ - autocorrects /abc/.match str - doesn't register an error for /\h/.match? str - doesn't register an error for str.match /prefix./ - doesn't register an error for str =~ /prefix./ - doesn't register an error for str =~ /prefix|/ - autocorrects /\./.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects str =~ /\j/ - autocorrects str =~ /\*/ - doesn't register an error for str =~ /prefix?/ - doesn't register an error for /\D/.match? str - doesn't register an error for /\z/.match? str - autocorrects /\r.match str/ - doesn't register an error for str.match? /\A/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects str.match? /\l/ - doesn't register an error for /\d/ =~ str - doesn't register an error for /\d/.match str - autocorrects /\e.match? str/ - autocorrects /\a =~ str/ - autocorrects str =~ /\e/ - autocorrects str.match? /\$/ - doesn't register an error for str.match /\S/ - autocorrects str =~ /\$/ - doesn't register an error for /\Z/.match? str - doesn't register an error for str =~ /prefix*/ - doesn't register an error for /\X/.match? str - autocorrects str.match? /\t/ - doesn't register an error for /prefix$/ =~ str - autocorrects str.match /\$/ - doesn't register an error for str =~ /\b/ - autocorrects str =~ /abc/ - autocorrects /\?/.match? str - doesn't register an error for str.match? /\h/ - doesn't register an error for /prefix./.match? str - autocorrects /abc/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects str.match? /\j/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects str.match /\l/ - autocorrects str.match /\*/ - doesn't register an error for str.match /prefix|/ - doesn't register an error for str =~ /prefix^/ - autocorrects str.match? /\./ - doesn't register an error for /\R/.match? str - doesn't register an error for str.match? /\d/ - autocorrects str.match? /\r/ - doesn't register an error for str.match? /prefix|/ - autocorrects str =~ /\f/ - autocorrects str =~ /\a/ - doesn't register an error for /\S/.match str - autocorrects /\./.match? str - doesn't register an error for str.match /\W/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects str.match? /\q/ - autocorrects /\t.match str/ - doesn't register an error for /\B/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects str.match /\y/ - doesn't register an error for /prefix*/.match str - doesn't register an error for str =~ /\H/ - doesn't register an error for str =~ /\S/ - doesn't register an error for /\G/.match str - autocorrects str.match /\v/ - doesn't register an error for /\w/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects /\y.match? str/ - doesn't register an error for /\h/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects /\j =~ str/ - formats the error message correctly for /abc/.match? str - doesn't register an error for /prefix./.match str - autocorrects str.match /\e/ - autocorrects /\|/.match str - autocorrects str.match? /\?/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects /\i =~ str/ - doesn't register an error for /\w/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects /\q =~ str/ - autocorrects /\o.match str/ - autocorrects /\^/.match str - autocorrects str =~ /\|/ - doesn't register an error for str.match? /\Z/ - doesn't register an error for /prefix^/ =~ str - doesn't register an error for /\W/.match? str - autocorrects /\r.match? str/ - autocorrects /\|/.match? str - doesn't register an error for /\A/.match? str - autocorrects str.match? /\v/ - doesn't register an error for /\s/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects /\q.match str/ - doesn't register an error for /\S/.match str - doesn't register an error for str.match /prefix$/ - doesn't register an error for /\z/ =~ str - doesn't register an error for str.match? /\G/ - doesn't register an error for str.match /\X/ - doesn't register an error for str.match /\z/ - doesn't register an error for /prefix^/.match str - doesn't register an error for /prefix|/.match str - doesn't register an error for /prefix*/.match? str - doesn't register an error for str.match? /\z/ - doesn't register an error for str.match? /prefix?/ - autocorrects /\e =~ str/ - doesn't register an error for str.match /\b/ - doesn't register an error for str.match? /prefix./ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects str.match? /\m/ - autocorrects /\o =~ str/ - autocorrects str =~ /\./ - autocorrects /\v =~ str/ - autocorrects /\f =~ str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects /\y.match str/ - doesn't register an error for str.match /\B/ - autocorrects str.match /\r/ - autocorrects str =~ /\?/ - doesn't register an error for str.match /\S/ - autocorrects str.match? /\o/ - doesn't register an error for str =~ /\W/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects /\q.match? str/ - doesn't register an error for /prefix?/.match? str - formats the error message correctly for /abc/.match str - doesn't register an error for str =~ /prefix$/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects str =~ /\y/ - doesn't register an error for str.match? /\X/ - doesn't register an error for /prefix|/ =~ str - doesn't register an error for str =~ /\S/ - autocorrects /\a.match str/ - autocorrects /\\/ =~ str - autocorrects /\v.match str/ - doesn't register an error for /\s/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects /\l =~ str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects str =~ /\q/ - autocorrects str =~ /\r/ - doesn't register an error for /\s/.match str - autocorrects str.match? /\a/ - autocorrects str =~ /\o/ - doesn't register an error for /\H/.match str - autocorrects /\f.match? str/ - autocorrects str.match /\./ - doesn't register an error for str.match /\G/ - doesn't register an error for str.match /\d/ - doesn't register an error for str.match? /prefix*/ - autocorrects str.match /\|/ - autocorrects str.match /\a/ - doesn't register an error for /\A/.match str - doesn't register an error for str.match /\R/ - autocorrects str.match? /\\/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects /\m =~ str/ - autocorrects /\f.match str/ - doesn't register an error for /\G/ =~ str - doesn't register an error for str.match? /\b/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects /\y =~ str/ - doesn't register an error for /\w/ =~ str - doesn't register an error for /prefix$/.match? str - doesn't register an error for str =~ /\D/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects /\j.match? str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects str.match /\j/ - allows argument of `match?` is not a string literal -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects /\i.match? str/ - doesn't register an error for str.match /prefix?/ - formats the error message correctly for /abc/ =~ str - doesn't register an error for str =~ /\A/ - autocorrects str.match /\^/ - autocorrects /\t.match? str/ - doesn't register an error for /\W/.match str - autocorrects /\\/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects /\l.match? str/ - autocorrects /\$/.match str - autocorrects /\$/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects /\i.match str/ - doesn't register an error for str =~ /\d/ - autocorrects str.match /\?/ - autocorrects str.match? /abc/ - doesn't register an error for /\d/.match? str - autocorrects str =~ /\^/ - autocorrects str.match /abc/ - doesn't register an error for str =~ /\R/ - doesn't register an error for /\D/ =~ str - doesn't register an error for str.match /prefix*/ - formats the error message correctly for str =~ /abc/ - doesn't register an error for str =~ /\h/ - doesn't register an error for str.match /\Z/ - doesn't register an error for str.match? /prefix$/ - autocorrects str.match /\f/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects /\j.match str/ - autocorrects /\\/.match str - doesn't register an error for /\X/ =~ str - doesn't register an error for /\A/ =~ str - autocorrects /abc/.match? str - autocorrects /\v.match? str/ - doesn't register an error for /\b/ =~ str - doesn't register an error for /\S/.match? str - doesn't register an error for str =~ /\G/ - doesn't register an error for str.match? /\S/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects str.match? /\i/ - autocorrects /\a.match? str/ - doesn't register an error for str.match /\h/ - autocorrects /\^/ =~ str - autocorrects str.match /\o/ - autocorrects /\*/.match? str - doesn't register an error for str.match? /\s/ - doesn't register an error for /prefix$/.match str - doesn't register an error for /prefix?/.match str - doesn't register an error for /prefix^/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects /\m.match str/ - doesn't register an error for str.match? /\B/ - autocorrects /\|/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects str.match /\m/ - doesn't register an error for /\B/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects str =~ /\m/ - doesn't register an error for /\Z/ =~ str - doesn't register an error for /\H/.match? str - doesn't register an error for str.match? /\D/ - doesn't register an error for /\D/.match str - autocorrects str.match? /\f/ - doesn't register an error for /prefix*/ =~ str - doesn't register an error for str =~ /\Z/ - doesn't register an error for str.match /\s/ - doesn't register an error for /\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects str.match /\q/ - doesn't register an error for /\R/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects /\l.match str/ - doesn't register an error for /\R/.match str - autocorrects /\t =~ str/ - doesn't register an error for str.match? /\w/ - doesn't register an error for /\Z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects str.match /\i/ - autocorrects /\./ =~ str - doesn't register an error for /\X/.match str - autocorrects /\o.match? str/ - doesn't register an error for str.match /prefix^/ - doesn't register an error for str =~ /\X/ - formats the error message correctly for str.match /abc/ - doesn't register an error for /\W/ =~ str - doesn't register an error for /\b/.match str - autocorrects str.match? /\*/ - autocorrects /\r =~ str/ - doesn't register an error for /\S/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects str =~ /\l/ - autocorrects str =~ /\t/ - doesn't register an error for str.match /\A/ - autocorrects /\*/.match str - autocorrects str =~ /\v/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects str.match? /\y/ - doesn't register an error for /\G/.match? str - doesn't register an error for str =~ /\z/ - doesn't register an error for /prefix?/ =~ str - doesn't register an error for str.match /\D/ - formats the error message correctly for str.match? /abc/ - autocorrects str.match? /\e/ - doesn't register an error for str =~ /\s/ - doesn't register an error for /\h/.match str - autocorrects /\?/ =~ str - doesn't register an error for /prefix./ =~ str - autocorrects /\?/.match str - doesn't register an error for str.match? /\W/ - doesn't register an error for str.match? /\R/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects /\m.match? str/ - autocorrects /\^/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects str =~ /\i/ - doesn't register an error for str =~ /\w/ - autocorrects str.match? /\|/ - -RuboCop::Cop::Performance::ChainArrayAllocation - configured to only warn when flattening one level - behaves like map_and_flat - registers an offense when calling map...flatten - Methods that require an argument - registers an offense for `first(10).uniq` - does not register an offense for `first.uniq` - registers an offense for `first(variable).uniq` - methods that only return an array with no block - zip - -RuboCop::Cop::Performance::BigDecimalWithNumericArgument - does not register an offense when using `BigDecimal` with float, precision, and a keyword argument - registers an offense and corrects when using `BigDecimal` with float - does not register an offense when using `BigDecimal` with float and precision - registers an offense and corrects when using `BigDecimal` with integer - does not register an offense when using `BigDecimal` with float and non-literal precision - does not register an offense when using `BigDecimal` with string - -RuboCop::Cop::Performance::StringReplacement - registers an offense when using gsub to find and replace a single character - registers an offense when the pattern has non deterministic regex as a string - registers an offense for gsub! when deleting one characters - registers an offense when using escape characters in the pattern - registers an offense when using escape characters in the replacement - accepts methods other than gsub - registers an offense when using gsub! to find and replace a single character - behaves like accepts - accepts calls to gsub when the length of the pattern is shorter than the length of the replacement - accepts calls to gsub when the length of the pattern is longer than the length of the replacement - non deterministic parameters - accepts gsub when the length of the pattern is greater than 1 - accepts the first param being a variable - allows empty regex pattern from regex - allows regex with options - accepts a replacement with string interpolation - accepts a pattern with string interpolation - accepts the both params being a variables - allows empty regex literal pattern - allows empty string pattern - accepts gsub with a block - allows empty regex pattern from string - allows regex literals with options - accepts the second param being a variable - accepts gsub with only one param - auto-correct - corrects to tr - corrects when the pattern uses Regexp.compile - corrects when the length of the pattern and replacement are one - corrects when the pattern contains a new line character - corrects when the pattern is a regex literal using %r - corrects when replacing to a single quote - corrects when the replacement contains a new line character - corrects when replacing to a double quote - corrects when the pattern is a regex literal - corrects when the pattern contains double backslash - corrects when the pattern uses Regexp.new - corrects when the replacement contains escape backslash - corrects to delete - corrects when deleting a single character - corrects when deleting an escape character - corrects when there are no brackets - corrects when the pattern uses Regexp.compile - corrects when the pattern is a regex literal - corrects when the pattern uses Regexp.new - corrects when a regexp contains escapes - behaves like accepts - accepts calls to gsub when the length of the pattern is shorter than the length of the replacement - accepts calls to gsub when the length of the pattern is longer than the length of the replacement - non deterministic parameters - allows regex with options - accepts gsub with only one param - accepts the second param being a variable - allows regex literals with options - accepts a pattern with string interpolation - allows empty string pattern - accepts gsub when the length of the pattern is greater than 1 - allows empty regex pattern from regex - accepts the first param being a variable - accepts the both params being a variables - accepts a replacement with string interpolation - allows empty regex literal pattern - allows empty regex pattern from string - accepts gsub with a block - non deterministic regex - allows regex constructor containing a string with interpolations - allows regex containing a . - allows regex containing {} - allows regex containing a | - allows regex containing a * - allows regex containing () - allows regex containing a ^ - allows regex containing [] - allows regex containing a ? - allows regex containing a backslash - allows regex constructor containing regex with interpolations - allows regex containing escaped () - allows regex literal containing interpolations - allows regex containing a + - allows regex containing a $ - deterministic regex - regex constructor - registers an offense when only using word characters - registers an offense when regex is built from regex - registers an offense when using compile - regex literal - registers an offense when deleting ; - registers an offense when replacing % with a literal - registers an offense when deleting " - allows deterministic regex when the length of the pattern and the length of the replacement do not match - registers an offense when replacing ; with a literal - registers an offense when replacing \\ with a literal - registers an offense when replacing & with a literal - registers an offense when replacing \r with a literal - registers an offense when replacing ~ with a literal - registers an offense when deleting % -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - registers an offense when replacing \y with a literal - registers an offense when replacing = with a literal - registers an offense when replacing ! with a literal -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - registers an offense when deleting \y - registers an offense when replacing 1 with a literal - registers an offense when replacing ' with a literal - registers an offense when deleting ! - registers an offense when deleting \r - registers an offense when deleting < - registers an offense when replacing " with a literal - registers an offense when replacing 2 with a literal - registers an offense when replacing \x65 with a literal - registers an offense when deleting 3 - registers an offense when escape characters in regex - registers an offense when deleting \u1234 - registers an offense when using %r notation - registers an offense when replacing - with a literal - registers an offense when deleting \\ - registers an offense when replacing ` with a literal - registers an offense when replacing 3 with a literal - registers an offense when deleting ~ - registers an offense when replacing # with a literal - registers an offense when replacing : with a literal - registers an offense when deleting : - registers an offense when using space - registers an offense when replacing , with a literal - registers an offense when replacing _ with a literal - registers an offense when deleting # - registers an offense when deleting & - registers an offense when replacing \u1234 with a literal - registers an offense when deleting c - registers an offense when deleting ` - registers an offense when deleting , - registers an offense when deleting ' - registers an offense when deleting \x65 - registers an offense when deleting = - registers an offense when replacing c with a literal - registers an offense when deleting a - registers an offense when replacing a with a literal - registers an offense when deleting 1 - registers an offense when deleting > - registers an offense when replacing < with a literal - registers an offense when deleting b - registers an offense when deleting _ - registers an offense when deleting 2 - registers an offense when deleting - - registers an offense when replacing b with a literal - registers an offense when replacing > with a literal +RuboCop::Cop::Performance::RedundantSortBlock + does not register an offense when sorting in reverse order + does not register an offense when sorting in direct order by some property + does not register an offense when using `sort` + registers an offense and corrects when sorting in direct order -RuboCop::Cop::Performance::Casecmp +RuboCop::Cop::Performance::Count + allows usage of count on an interstitial method called on select + allows usage of methods called on size + allows usage of another method with size + allows usage of size on an array + allows usage of size called on an assigned variable + allows usage of count on an array + allows usage of count on an interstitial method with blocks called on select + properly parses non related code + will not raise an error for Bundler.setup + will not raise an error for RakeTask.new behaves like selectors - autocorrects str.downcase == - autocorrects str.downcase.eql? without parens - autocorrects string != str.downcase - doesn't report an offense for obj.method == str.downcase - autocorrects obj.downcase == str.downcase - doesn't report an offense for str.downcase == variable - autocorrects obj.downcase eql? str.downcase - autocorrects str.downcase.eql? with parens and funny spacing - autocorrects str.downcase != - doesn't report an offense for str.downcase == obj.method - autocorrects string with parens and funny spacing eql? str.downcase - formats the error message correctly for == str.downcase - autocorrects string.eql? str.downcase with parens - autocorrects == str.downcase - autocorrects str.downcase != with parens around arg - autocorrects str.downcase == with parens around arg - autocorrects string.eql? str.downcase without parens - formats the error message correctly for str.downcase == - doesn't report an offense for variable == str.downcase - autocorrects string with parens == str.downcase - autocorrects str.downcase.eql? with parens - formats the error message correctly for obj.downcase == str.downcase + registers an offense for using array.reject...size + registers an offense for reject(&:something).count + registers an offense for reject with params instead of a block + allows usage of reject...count with a block on an array + registers an offense for reject(&:something).count when called as an instance method on its own class + registers an offense for using hash.reject...length + registers an offense for using array.reject...count + allows usage of reject without getting the size + allows usage of reject...count with a block on a hash + registers an offense for using hash.reject...size + registers an offense for using array.reject...length + registers an offense for using hash.reject...count + bang methods + allows usage of reject!...size + allows usage of reject!...length + allows usage of reject!...count + ActiveRecord select + allows usage of select with a string + allows usage of select with a symbol + allows usage of select with multiple symbols + allows usage of select with multiple strings behaves like selectors - autocorrects obj.upcase eql? str.upcase - autocorrects string with parens == str.upcase - autocorrects string.eql? str.upcase without parens - autocorrects == str.upcase - doesn't report an offense for variable == str.upcase - autocorrects obj.upcase == str.upcase - autocorrects str.upcase == with parens around arg - doesn't report an offense for str.upcase == obj.method - autocorrects str.upcase.eql? without parens - autocorrects str.upcase == - autocorrects string.eql? str.upcase with parens - autocorrects str.upcase != with parens around arg - formats the error message correctly for str.upcase == - autocorrects str.upcase.eql? with parens - doesn't report an offense for str.upcase == variable - doesn't report an offense for obj.method == str.upcase - formats the error message correctly for obj.upcase == str.upcase - autocorrects str.upcase.eql? with parens and funny spacing - autocorrects str.upcase != - autocorrects string with parens and funny spacing eql? str.upcase - formats the error message correctly for == str.upcase - autocorrects string != str.upcase + allows usage of select...count with a block on an array + allows usage of select without getting the size + registers an offense for using array.select...size + registers an offense for select(&:something).count when called as an instance method on its own class + registers an offense for select(&:something).count + registers an offense for using array.select...length + registers an offense for using hash.select...size + registers an offense for using hash.select...length + registers an offense for using hash.select...count + registers an offense for using array.select...count + registers an offense for select with params instead of a block + allows usage of select...count with a block on a hash + bang methods + allows usage of select!...size + allows usage of select!...length + allows usage of select!...count + autocorrect + will not correct + reject...length + reject...size when select has parameters + select...count when count has a block + reject...size + reject...count + will correct + select..size to count + select..length to count + select...size when select has parameters + select..count without a block to count + +RuboCop::Cop::Performance::FixedSize + behaves like common functionality + hashes + registers an offense when calling size on a hash using {} + accepts calling size on a hash set to a variable + accepts calling size on a hash that contains a double splat + accepts calling size on an hash that is assigned to a constant + symbols + accepts calling size on a symbol that is assigned to a constant + registers an offense when calling size on a symbol + registers an offense when calling size on %s + registers an offense when calling size on a quoted symbol + accepts calling size on an interpolated quoted symbol + arrays + accepts calling size on an array using [] that contains a splat + registers an offense when calling size on an array using %W + registers an offense when calling size on an array using [] + registers an offense when calling size on an array using %w + accepts calling size on array that is set to a variable + accepts calling size on an array that is assigned to a constant + strings + registers an offense when calling size on a single quoted string + registers an offense when calling size on a double quoted string + accepts calling size on a %q string that is assigned to a constant along with some arithmetic operations + accepts calling size on a %Q string that contains interpolation + accepts calling size on a double quoted string that is assigned to a constant + accepts calling size on a variable + accepts calling size on a %q string that is assigned to a constant + registers an offense when calling size on a %Q string + accepts calling size on a double quoted string that contains interpolation + accepts calling size on a % string that contains interpolation + accepts calling size on a single quoted string that is assigned to a constant + registers an offense when calling size on a %q string + registers an offense when calling size on a % string + behaves like count with arguments + accepts calling count with a block + registers an offense when calling count with a string + accepts calling count with a symbol proc + accepts calling count with an instance variable + accepts calling count with a variable + behaves like count with arguments + accepts calling count with an instance variable + registers an offense when calling count with a string + accepts calling count with a variable + accepts calling count with a block + accepts calling count with a symbol proc + behaves like common functionality + symbols + registers an offense when calling count on a quoted symbol + registers an offense when calling count on a symbol + accepts calling count on a symbol that is assigned to a constant + accepts calling count on an interpolated quoted symbol + registers an offense when calling count on %s + hashes + accepts calling count on a hash set to a variable + registers an offense when calling count on a hash using {} + accepts calling count on an hash that is assigned to a constant + accepts calling count on a hash that contains a double splat + arrays + registers an offense when calling count on an array using %W + registers an offense when calling count on an array using %w + accepts calling count on an array using [] that contains a splat + accepts calling count on an array that is assigned to a constant + accepts calling count on array that is set to a variable + registers an offense when calling count on an array using [] + strings + accepts calling count on a double quoted string that contains interpolation + accepts calling count on a double quoted string that is assigned to a constant + accepts calling count on a %Q string that contains interpolation + accepts calling count on a % string that contains interpolation + registers an offense when calling count on a %q string + registers an offense when calling count on a double quoted string + accepts calling count on a %q string that is assigned to a constant along with some arithmetic operations + accepts calling count on a single quoted string that is assigned to a constant + accepts calling count on a variable + accepts calling count on a %q string that is assigned to a constant + registers an offense when calling count on a single quoted string + registers an offense when calling count on a % string + registers an offense when calling count on a %Q string + behaves like count with arguments + accepts calling count with a symbol proc + accepts calling count with an instance variable + registers an offense when calling count with a string + accepts calling count with a block + accepts calling count with a variable + behaves like common functionality + hashes + accepts calling length on a hash set to a variable + accepts calling length on an hash that is assigned to a constant + accepts calling length on a hash that contains a double splat + registers an offense when calling length on a hash using {} + symbols + registers an offense when calling length on a symbol + registers an offense when calling length on a quoted symbol + accepts calling length on an interpolated quoted symbol + accepts calling length on a symbol that is assigned to a constant + registers an offense when calling length on %s + strings + registers an offense when calling length on a %Q string + accepts calling length on a variable + registers an offense when calling length on a %q string + accepts calling length on a single quoted string that is assigned to a constant + accepts calling length on a double quoted string that contains interpolation + registers an offense when calling length on a double quoted string + accepts calling length on a % string that contains interpolation + accepts calling length on a double quoted string that is assigned to a constant + accepts calling length on a %q string that is assigned to a constant along with some arithmetic operations + registers an offense when calling length on a single quoted string + accepts calling length on a %Q string that contains interpolation + registers an offense when calling length on a % string + accepts calling length on a %q string that is assigned to a constant + arrays + registers an offense when calling length on an array using %W + registers an offense when calling length on an array using [] + registers an offense when calling length on an array using %w + accepts calling length on an array that is assigned to a constant + accepts calling length on array that is set to a variable + accepts calling length on an array using [] that contains a splat + +RuboCop::Cop::Performance::RedundantBlockCall + accepts another block arg in at least one occurrence of block.call + formats the error message for func.call(1) correctly + autocorrects multiple occurrences of block.call with arguments + accepts an optional block that is defaulted + autocorrects using parentheses when block.call uses parentheses + accepts an empty method body + accepts a block that is not `call`ed + autocorrects even when block arg has a different name + accepts an optional block that is overridden + autocorrects block.call with empty parentheses + autocorrects when the result of the call is used in a scope that requires parentheses + accepts another block being passed along with other args + autocorrects block.call with arguments + accepts another block being passed as the only arg + autocorrects block.call without arguments RuboCop::Cop::Performance::TimesMap behaves like map_or_collect - .times.map + .times.collect with an explicitly passed block registers an offense auto-corrects - called on nothing - doesn't register an offense without a block doesn't register an offense + for non-literal receiver + registers an offense with a block - auto-corrects registers an offense + auto-corrects + called on nothing + doesn't register an offense + behaves like map_or_collect + .times.map for non-literal receiver registers an offense - behaves like map_or_collect - .times.collect + without a block + doesn't register an offense called on nothing doesn't register an offense with a block auto-corrects registers an offense - without a block - doesn't register an offense with an explicitly passed block auto-corrects registers an offense - for non-literal receiver - registers an offense - -RuboCop::Cop::Performance::Caller - accepts `caller` with arguments - accepts `caller` without argument and method chain - registers an offense when :first is called on caller_locations also - registers an offense when :first is called on caller with 1 - registers an offense when :first is called on caller with 2 - registers an offense when :[] is called on caller - registers an offense when :[] is called on caller with 1 - registers an offense when :[] is called on caller_locations also - registers an offense when :[] is called on caller with 2 - registers an offense when :first is called on caller - accepts `caller_locations` without argument and method chain RuboCop::Cop::Performance::StartWith when `SafeMultiline: false` - autocorrects str.match /\A\./ - doesn't register an error for str =~ /\A$/ - doesn't register an error for str =~ /\A\Z/ - formats the error message correctly for /\Aabc/.match str - autocorrects str =~ /\A\v/ - autocorrects /^abc/.match? str - formats the error message correctly for str =~ /\Aabc/ + doesn't register an error for /\A./.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects str.match /\A\y/ + doesn't register an error for /\A\Z/.match str + autocorrects /^abc/.match str + autocorrects /\A\a.match? str/ + doesn't register an error for str.match? /\A\W/ + doesn't register an error for /\A?/.match str + doesn't register an error for /\A\S/ =~ str + autocorrects /\A\./ =~ str + doesn't register an error for str =~ /\A\h/ + autocorrects str.match /\A\*/ + doesn't register an error for /\A|/.match str + autocorrects /\A\*/.match str + doesn't register an error for /\A\H/.match str + doesn't register an error for /\A\h/.match str + doesn't register an error for str =~ /\A\A/ + doesn't register an error for str.match? /\A\A/ + autocorrects str.match? /\A\a/ + autocorrects /\A\r.match str/ + doesn't register an error for /\A*/.match str + autocorrects /\A\|/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ + autocorrects /\A\l =~ str/ + autocorrects str =~ /\A\*/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects /\A\i =~ str/ + doesn't register an error for str.match? /\A\Z/ + doesn't register an error for str.match /\A\w/ + doesn't register an error for str.match /\A\H/ + doesn't register an error for /\A\d/ =~ str autocorrects /\A\o.match? str/ - doesn't register an error for /\A\X/.match str - autocorrects /\A\?/ =~ str - autocorrects str.match /\A\|/ - autocorrects /\Aabc/ =~ str - autocorrects str.match /\A\^/ + doesn't register an error for /\A\b/ =~ str + formats the error message correctly for str =~ /\Aabc/ + doesn't register an error for str =~ /\A\w/ + autocorrects str =~ /\A\e/ + doesn't register an error for /\A\w/.match str + doesn't register an error for str =~ /\A^/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ + autocorrects /\A\l.match? str/ + doesn't register an error for str.match? /\A\S/ + autocorrects /\A\?/.match? str + doesn't register an error for str.match? /\A\D/ + doesn't register an error for str.match /\A\Z/ + autocorrects str.match? /\A\o/ + doesn't register an error for /\A\Z/.match? str + autocorrects /\A\v =~ str/ + doesn't register an error for /\A?/.match? str + autocorrects str.match /\A\r/ + doesn't register an error for /\A\S/.match str + doesn't register an error for /\A\d/.match? str + autocorrects /\A\e.match? str/ + doesn't register an error for str.match? /\A\H/ + doesn't register an error for /\A\h/.match? str + doesn't register an error for /\A\h/ =~ str + doesn't register an error for str.match /\A\s/ + formats the error message correctly for /\Aabc/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects /\A\i.match str/ + autocorrects /\A\e.match str/ + doesn't register an error for str =~ /\A\G/ + autocorrects /\A\\/.match str + doesn't register an error for str.match /\A\X/ doesn't register an error for /\A\X/ =~ str - autocorrects str =~ /\A\r/ + autocorrects /\A\f.match? str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects /\A\i.match? str/ + doesn't register an error for /\A\B/.match str + doesn't register an error for /\A\R/.match? str + autocorrects str.match? /\Aabc/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects str.match /\A\m/ + autocorrects str.match /^abc/ + autocorrects str.match? /\A\t/ + doesn't register an error for /\A\z/ =~ str + autocorrects /\A\f =~ str/ + doesn't register an error for str.match /\A\W/ + doesn't register an error for /\A$/.match? str + autocorrects str =~ /\A\^/ + autocorrects str.match /\A\$/ + autocorrects /\A\f.match str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects str.match? /\A\m/ + autocorrects str =~ /\A\f/ doesn't register an error for str.match? /\A\B/ - autocorrects str.match? /\A\f/ - doesn't register an error for str.match /\A|/ - doesn't register an error for /\A\b/.match? str - autocorrects /\A\r =~ str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects str =~ /\A\m/ + doesn't register an error for /\A\A/ =~ str + doesn't register an error for str =~ /\A\d/ + doesn't register an error for /\A*/ =~ str + doesn't register an error for str =~ /\A\b/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects /\A\y.match? str/ + autocorrects str =~ /\A\?/ + autocorrects /\A\e =~ str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ + autocorrects /\A\q =~ str/ + autocorrects /\A\o =~ str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects /\A\y.match str/ + doesn't register an error for /\A\w/ =~ str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ autocorrects str =~ /\A\l/ - autocorrects /\A\a.match? str/ + doesn't register an error for str.match /\A\b/ + doesn't register an error for str.match? /\A$/ + doesn't register an error for str.match? /\A?/ + doesn't register an error for str =~ /\A\S/ + doesn't register an error for str.match? /\A^/ + autocorrects str =~ /\A\$/ + autocorrects /\A\^/.match str + doesn't register an error for /\A\A/.match? str + doesn't register an error for /\A\X/.match str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects /\A\j.match? str/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects /\A\j.match str/ + autocorrects /\A\j =~ str/ + doesn't register an error for str.match? /\A\G/ + doesn't register an error for /\A$/.match str + autocorrects str.match /\A\./ + autocorrects /\A\a =~ str/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects /\A\l.match? str/ - doesn't register an error for str.match? /\A\A/ - doesn't register an error for str.match /\A^/ - doesn't register an error for /\A$/.match? str - autocorrects /\A\|/.match? str - formats the error message correctly for str.match /\Aabc/ - autocorrects /\A\o.match str/ - doesn't register an error for /\A\A/.match? str + autocorrects str.match /\A\l/ + autocorrects /\A\^/.match? str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects str.match? /\A\l/ - doesn't register an error for str =~ /\A\A/ - autocorrects str.match /\A\e/ + autocorrects /\A\l.match str/ + doesn't register an error for str.match /\A\G/ + doesn't register an error for str =~ /\A\X/ + doesn't register an error for str.match? /\A\R/ + autocorrects str.match /\A\a/ + autocorrects /\A\$/.match str + doesn't register an error for /\A^/ =~ str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects str.match /\A\y/ - doesn't register an error for str =~ /\A\S/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects /\A\y =~ str/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects str.match? /\A\q/ - autocorrects /\Aabc/.match? str - doesn't register an error for str.match /\A\Z/ - autocorrects /\A\|/.match str - doesn't register an error for str =~ /\A\z/ - autocorrects str.match? /\A\r/ - doesn't register an error for /\A|/ =~ str - doesn't register an error for /\A\H/.match? str - autocorrects /\A\e =~ str/ - autocorrects /\Aabc/.match str - autocorrects str.match? /\A\e/ - doesn't register an error for /\A\Z/ =~ str - autocorrects /\A\./.match str - doesn't register an error for str =~ /\A^/ + autocorrects str.match /\A\q/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects str.match /\A\i/ + doesn't register an error for str =~ /\A\D/ doesn't register an error for /\A\W/.match str - autocorrects /\A\f.match str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects /\A\q =~ str/ - doesn't register an error for str.match /\A\b/ - doesn't register an error for /\A\R/ =~ str - doesn't register an error for /\A\s/.match str - autocorrects /\A\v.match? str/ - autocorrects str.match? /\A\o/ - doesn't register an error for str.match /\A$/ - autocorrects /\A\e.match str/ - doesn't register an error for str.match /\A./ - doesn't register an error for /\A\S/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects /\A\m.match? str/ + doesn't register an error for str.match? /\A\s/ + doesn't register an error for /\A\W/ =~ str + autocorrects str.match /\A\e/ + doesn't register an error for /\A|/.match? str + doesn't register an error for /\A\H/.match? str + autocorrects str.match? /\A\^/ + autocorrects str.match? /\A\|/ doesn't register an error for str.match /\A\A/ - doesn't register an error for /\A\R/.match? str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects /\A\y.match str/ - autocorrects /\A\$/ =~ str - autocorrects str =~ /^abc/ - doesn't register an error for str =~ /\A?/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects /\A\i.match? str/ - doesn't register an error for str.match? /\A\H/ - doesn't register an error for /\A?/.match str - doesn't register an error for str.match? /\A\S/ - doesn't register an error for /\A\W/.match? str - doesn't register an error for str =~ /\A\X/ - autocorrects /\A\v.match str/ - doesn't register an error for str.match? /\A\D/ - doesn't register an error for str =~ /\A\G/ + autocorrects str.match? /\A\y/ + formats the error message correctly for /\Aabc/.match str + autocorrects /\A\\/.match? str + doesn't register an error for /\A\s/.match? str + doesn't register an error for /\A|/ =~ str + autocorrects str.match? /\A\?/ + autocorrects str.match? /^abc/ + doesn't register an error for /\A\z/.match str + doesn't register an error for str =~ /\A*/ + doesn't register an error for str =~ /\A\W/ + doesn't register an error for /\A\S/ =~ str + doesn't register an error for /\A$/ =~ str + doesn't register an error for str.match? /\A\h/ + doesn't register an error for str.match /\A\d/ + doesn't register an error for /\A./.match str + autocorrects str =~ /\A\|/ + doesn't register an error for str.match? /\A*/ + autocorrects /\A\^/ =~ str + autocorrects str.match? /\A\r/ + doesn't register an error for str.match? /\A\w/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ + autocorrects /\A\q.match str/ + autocorrects str =~ /\A\o/ autocorrects str.match /\Aabc/ - autocorrects str.match /\A\$/ - doesn't register an error for str.match /\A*/ + autocorrects /\A\a.match str/ + doesn't register an error for str.match? /\A\S/ + autocorrects /\A\r =~ str/ + doesn't register an error for str.match /\A$/ + autocorrects str =~ /\A\./ + autocorrects str.match /\A\?/ + autocorrects /^abc/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects str.match? /\A\i/ + autocorrects str.match? /\A\*/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ autocorrects /\A\m =~ str/ - doesn't register an error for str.match /\A\w/ - doesn't register an error for /\A\H/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects /\A\m.match str/ + doesn't register an error for str.match? /\A\X/ doesn't register an error for str.match? /\A\b/ - doesn't register an error for /\A^/ =~ str - doesn't register an error for /\A\D/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects str.match /\A\l/ - autocorrects /\A\\/.match str - autocorrects str =~ /\A\a/ - doesn't register an error for str.match? /\A./ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects str.match? /\A\m/ - doesn't register an error for /\A\w/.match str - autocorrects /\A\a =~ str/ - doesn't register an error for str.match? /\A\G/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects str =~ /\A\q/ - doesn't register an error for /\A\Z/.match str - doesn't register an error for str.match /\A\S/ - formats the error message correctly for /\Aabc/ =~ str - autocorrects str.match? /\A\|/ - doesn't register an error for /\A\G/.match? str - autocorrects /\A\^/.match str - formats the error message correctly for /\Aabc/.match? str - autocorrects /\A\*/.match? str - doesn't register an error for str.match /\A\S/ - doesn't register an error for /\A$/.match str - doesn't register an error for /\A\H/ =~ str - doesn't register an error for str.match /\A?/ - autocorrects /\A\./.match? str - autocorrects /\A\f.match? str/ - doesn't register an error for str.match? /\A\S/ + autocorrects str =~ /\A\r/ + doesn't register an error for str =~ /\A./ + autocorrects /\A\r.match? str/ + doesn't register an error for str.match /\A\R/ + autocorrects /\A\$/.match? str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ autocorrects /\A\q.match? str/ - doesn't register an error for /\A./.match str - doesn't register an error for /\A\z/ =~ str - doesn't register an error for /\A\S/.match str - doesn't register an error for str.match? /\A\d/ - doesn't register an error for str.match? /\A\Z/ - autocorrects str.match /\A\\/ + autocorrects /\A\./.match? str + doesn't register an error for str =~ /\A\H/ + doesn't register an error for /\A\Z/ =~ str + autocorrects /\A\*/ =~ str + doesn't register an error for str =~ /\A?/ + doesn't register an error for /\A\s/.match str + autocorrects /\A\|/ =~ str + autocorrects /\A\?/ =~ str + formats the error message correctly for str.match /\Aabc/ + formats the error message correctly for str.match? /\Aabc/ + doesn't register an error for /\A\D/ =~ str + doesn't register an error for /\A./ =~ str + autocorrects /\Aabc/ =~ str + doesn't register an error for /\A\d/.match str + autocorrects /\A\./.match str + doesn't register an error for /\A?/ =~ str + autocorrects /\A\o.match str/ doesn't register an error for /\A\B/ =~ str - autocorrects str.match? /\A\?/ + doesn't register an error for str.match /\A\S/ autocorrects str.match? /\A\v/ - doesn't register an error for str.match /\A\R/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects str =~ /\A\m/ - doesn't register an error for str =~ /\A*/ - doesn't register an error for /\A\z/.match? str - autocorrects /^abc/ =~ str - doesn't register an error for /\A*/ =~ str + doesn't register an error for /\A\w/.match? str + autocorrects str.match /\A\t/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects str =~ /\A\i/ + doesn't register an error for /\A\A/.match str + autocorrects str.match /\A\\/ + autocorrects str.match? /\A\e/ + allows match without a receiver + autocorrects /\A\*/.match? str + autocorrects str.match /\A\|/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ autocorrects str.match /\A\j/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects /\A\i.match str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects str.match /\A\m/ - doesn't register an error for str.match? /\A?/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects /\A\y =~ str/ - doesn't register an error for str =~ /\A\d/ - doesn't register an error for /\A^/.match? str - autocorrects str.match? /\A\$/ - doesn't register an error for str =~ /\A\b/ - doesn't register an error for /\A\w/.match? str - autocorrects str.match? /\Aabc/ - autocorrects /\A\?/.match? str - doesn't register an error for str =~ /\A\s/ - doesn't register an error for str.match /\A\s/ - autocorrects /\A\|/ =~ str - doesn't register an error for str.match /\A\D/ - autocorrects /\A\a.match str/ - doesn't register an error for /\A*/.match str - doesn't register an error for /\A|/.match str - doesn't register an error for /\A\W/ =~ str - autocorrects str.match /\A\o/ doesn't register an error for str.match /\A\h/ - doesn't register an error for /\A|/.match? str - autocorrects str =~ /\A\?/ - autocorrects str =~ /\A\\/ - doesn't register an error for /\A\D/ =~ str + doesn't register an error for /\A\S/.match? str + autocorrects /\A\$/ =~ str + doesn't register an error for str =~ /\A\Z/ + doesn't register an error for /\A\R/.match str + doesn't register an error for /\A^/.match str + doesn't register an error for /\A\S/.match? str autocorrects /\A\t.match? str/ + doesn't register an error for str =~ /\A$/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ + autocorrects str =~ /\A\q/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ + autocorrects str =~ /\A\j/ + doesn't register an error for str.match /\A|/ + doesn't register an error for /\A\b/.match str + doesn't register an error for /\A\b/.match? str + doesn't register an error for str =~ /\A\z/ + autocorrects str.match /\A\^/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects /\A\l.match str/ - doesn't register an error for str.match? /\A*/ - autocorrects str =~ /\A\f/ - doesn't register an error for str =~ /\A\W/ - doesn't register an error for /\A\b/ =~ str - autocorrects /\A\f =~ str/ - autocorrects str.match? /\A\./ - doesn't register an error for str.match /\A\z/ - doesn't register an error for str.match? /\A\X/ - autocorrects str =~ /\A\$/ - autocorrects /\A\t =~ str/ - doesn't register an error for str.match? /\A\w/ - doesn't register an error for str.match /\A\H/ - doesn't register an error for /\A\G/ =~ str - doesn't register an error for str =~ /\A\H/ - doesn't register an error for str.match /\A\G/ - autocorrects str.match /\A\?/ - autocorrects str.match? /\A\t/ - autocorrects /\A\*/ =~ str - doesn't register an error for /\A\s/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects str =~ /\A\i/ - doesn't register an error for str.match /\A\W/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects /\A\m.match? str/ - doesn't register an error for /\A\S/ =~ str - doesn't register an error for /\A\A/ =~ str - formats the error message correctly for str.match? /\Aabc/ - doesn't register an error for /\A\h/ =~ str - doesn't register an error for /\A\d/.match? str - autocorrects /\A\\/ =~ str + autocorrects str.match? /\A\l/ + autocorrects /\Aabc/.match? str + autocorrects str.match? /\A\f/ doesn't register an error for /\A\G/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ + autocorrects /\A\j.match str/ + doesn't register an error for str.match /\A^/ + doesn't register an error for str.match /\A*/ + autocorrects str.match? /\A\$/ + autocorrects /^abc/ =~ str + doesn't register an error for str.match? /\A|/ + autocorrects str =~ /\A\\/ + doesn't register an error for str.match /\A\z/ doesn't register an error for /\A\X/.match? str - doesn't register an error for str.match /\A\d/ - doesn't register an error for /\A\Z/.match? str - autocorrects /\A\t.match str/ - doesn't register an error for str.match? /\A\z/ - autocorrects str.match? /^abc/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects str.match? /\A\y/ + autocorrects str.match /\A\o/ + doesn't register an error for /\A\s/ =~ str autocorrects str.match /\A\f/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects /\A\l =~ str/ - autocorrects str.match /\A\t/ - doesn't register an error for /\A\S/ =~ str - doesn't register an error for str.match /\A\B/ - autocorrects str =~ /\A\*/ - doesn't register an error for str.match? /\A\h/ - autocorrects str.match? /\A\a/ + autocorrects str =~ /^abc/ + doesn't register an error for /\A\G/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects str =~ /\A\y/ + doesn't register an error for str.match? /\A\z/ + doesn't register an error for /\A\D/.match str + autocorrects /\A\t.match str/ + autocorrects str.match? /\A\\/ + doesn't register an error for str =~ /\A\S/ + autocorrects str =~ /\A\v/ + doesn't register an error for str.match /\A\D/ + doesn't register an error for str =~ /\A\s/ + autocorrects /\A\v.match? str/ + doesn't register an error for str.match /\A?/ + autocorrects /\A\\/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects /\A\m.match str/ + doesn't register an error for /\A\H/ =~ str + autocorrects /\A\v.match str/ + doesn't register an error for /\A\W/.match? str doesn't register an error for str =~ /\A\R/ - autocorrects /\A\v =~ str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ + autocorrects str.match /\A\v/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects /\A\j =~ str/ + autocorrects /\A\j.match? str/ + doesn't register an error for str =~ /\A|/ + autocorrects /\A\|/.match str + doesn't register an error for /\A\D/.match? str autocorrects /\A\?/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects str.match? /\A\j/ - autocorrects str.match? /\A\*/ - doesn't register an error for str.match /\A\X/ - doesn't register an error for /\A?/ =~ str - doesn't register an error for /\A\z/.match str - autocorrects /\A\o =~ str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects str.match? /\A\i/ - doesn't register an error for str.match? /\A\s/ - doesn't register an error for str =~ /\A\D/ - autocorrects str.match /\A\v/ - autocorrects /\A\./ =~ str - doesn't register an error for /\A\d/.match str - doesn't register an error for str.match? /\A|/ - autocorrects str =~ /\A\o/ - autocorrects str.match /\A\r/ + doesn't register an error for str.match? /\A./ autocorrects str =~ /\Aabc/ - autocorrects /\A\r.match str/ - doesn't register an error for /\A?/.match? str - autocorrects str =~ /\A\^/ - doesn't register an error for /\A\R/.match str - autocorrects str =~ /\A\e/ - doesn't register an error for str.match? /\A$/ + formats the error message correctly for /\Aabc/.match? str + autocorrects str.match? /\A\./ + doesn't register an error for str =~ /\A\B/ + autocorrects str =~ /\A\a/ + doesn't register an error for str.match? /\A\d/ + doesn't register an error for /\A*/.match? str + doesn't register an error for str.match /\A\S/ autocorrects str =~ /\A\t/ - autocorrects /\A\\/.match? str - autocorrects /\A\e.match? str/ - autocorrects /\A\^/.match? str - autocorrects str.match? /\A\\/ + doesn't register an error for str.match /\A\B/ + doesn't register an error for str.match /\A./ + doesn't register an error for /\A\z/.match? str + doesn't register an error for /\A\R/ =~ str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects str =~ /\A\j/ - doesn't register an error for /\A\A/.match str - doesn't register an error for /\A\h/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects str.match /\A\i/ + autocorrects str.match? /\A\j/ doesn't register an error for /\A\B/.match? str - doesn't register an error for /\A\h/.match? str - doesn't register an error for /\A\w/ =~ str - doesn't register an error for str =~ /\A\B/ - autocorrects str.match? /\A\^/ - autocorrects str.match /^abc/ - doesn't register an error for str =~ /\A\w/ - autocorrects str =~ /\A\|/ - doesn't register an error for str.match? /\A\R/ - doesn't register an error for str =~ /\A\S/ - doesn't register an error for /\A^/.match str - doesn't register an error for /\A\d/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects str =~ /\A\y/ - doesn't register an error for /\A\S/.match? str - autocorrects str.match /\A\*/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects /\A\q.match str/ - autocorrects /\A\$/.match str - doesn't register an error for /\A*/.match? str - autocorrects /\A\$/.match? str - autocorrects /^abc/.match str - doesn't register an error for /\A\D/.match str - autocorrects str =~ /\A\./ - doesn't register an error for /\A./ =~ str - autocorrects str.match /\A\a/ - doesn't register an error for /\A\s/.match? str - doesn't register an error for /\A\S/.match? str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects str.match /\A\q/ - doesn't register an error for /\A./.match? str - doesn't register an error for str =~ /\A|/ - doesn't register an error for str.match? /\A\W/ - autocorrects /\A\r.match? str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects /\A\i =~ str/ - doesn't register an error for str.match? /\A^/ - doesn't register an error for str =~ /\A./ - autocorrects /\A\^/ =~ str - doesn't register an error for /\A$/ =~ str - doesn't register an error for /\A\b/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects /\A\y.match? str/ - doesn't register an error for str =~ /\A\h/ - autocorrects /\A\*/.match str - allows match without a receiver - doesn't register an error for /\A\B/.match str + autocorrects str.match? /\A\q/ + doesn't register an error for /\A\G/.match? str + doesn't register an error for /\A^/.match? str + autocorrects /\Aabc/.match str + autocorrects /\A\t =~ str/ + doesn't register an error for /\A\S/.match str when `SafeMultiline: true` does not register an offense when using `^` as starting pattern -RuboCop::Cop::Performance::FixedSize - behaves like count with arguments - accepts calling count with a block - accepts calling count with an instance variable - accepts calling count with a symbol proc - accepts calling count with a variable - registers an offense when calling count with a string - behaves like common functionality - symbols - registers an offense when calling count on %s - accepts calling count on an interpolated quoted symbol - registers an offense when calling count on a quoted symbol - accepts calling count on a symbol that is assigned to a constant - registers an offense when calling count on a symbol - arrays - accepts calling count on array that is set to a variable - registers an offense when calling count on an array using [] - accepts calling count on an array using [] that contains a splat - accepts calling count on an array that is assigned to a constant - registers an offense when calling count on an array using %w - registers an offense when calling count on an array using %W - strings - accepts calling count on a % string that contains interpolation - accepts calling count on a %q string that is assigned to a constant - accepts calling count on a %Q string that contains interpolation - accepts calling count on a single quoted string that is assigned to a constant - registers an offense when calling count on a single quoted string - accepts calling count on a %q string that is assigned to a constant along with some arithmetic operations - registers an offense when calling count on a double quoted string - registers an offense when calling count on a %Q string - accepts calling count on a double quoted string that contains interpolation - accepts calling count on a double quoted string that is assigned to a constant - registers an offense when calling count on a %q string - registers an offense when calling count on a % string - accepts calling count on a variable - hashes - accepts calling count on a hash set to a variable - registers an offense when calling count on a hash using {} - accepts calling count on a hash that contains a double splat - accepts calling count on an hash that is assigned to a constant - behaves like count with arguments - accepts calling count with an instance variable - accepts calling count with a symbol proc - accepts calling count with a block - registers an offense when calling count with a string - accepts calling count with a variable - behaves like count with arguments - accepts calling count with a block - registers an offense when calling count with a string - accepts calling count with a symbol proc - accepts calling count with an instance variable - accepts calling count with a variable - behaves like common functionality - strings - accepts calling size on a %q string that is assigned to a constant - accepts calling size on a single quoted string that is assigned to a constant - accepts calling size on a double quoted string that contains interpolation - accepts calling size on a %q string that is assigned to a constant along with some arithmetic operations - accepts calling size on a %Q string that contains interpolation - accepts calling size on a double quoted string that is assigned to a constant - accepts calling size on a % string that contains interpolation - registers an offense when calling size on a single quoted string - accepts calling size on a variable - registers an offense when calling size on a %Q string - registers an offense when calling size on a %q string - registers an offense when calling size on a % string - registers an offense when calling size on a double quoted string - hashes - accepts calling size on a hash set to a variable - accepts calling size on an hash that is assigned to a constant - registers an offense when calling size on a hash using {} - accepts calling size on a hash that contains a double splat - symbols - registers an offense when calling size on a quoted symbol - registers an offense when calling size on a symbol - accepts calling size on an interpolated quoted symbol - accepts calling size on a symbol that is assigned to a constant - registers an offense when calling size on %s - arrays - accepts calling size on array that is set to a variable - registers an offense when calling size on an array using [] - accepts calling size on an array that is assigned to a constant - accepts calling size on an array using [] that contains a splat - registers an offense when calling size on an array using %W - registers an offense when calling size on an array using %w - behaves like common functionality - hashes - registers an offense when calling length on a hash using {} - accepts calling length on an hash that is assigned to a constant - accepts calling length on a hash set to a variable - accepts calling length on a hash that contains a double splat - strings - registers an offense when calling length on a %q string - accepts calling length on a %Q string that contains interpolation - accepts calling length on a % string that contains interpolation - registers an offense when calling length on a %Q string - accepts calling length on a %q string that is assigned to a constant - accepts calling length on a double quoted string that contains interpolation - registers an offense when calling length on a double quoted string - registers an offense when calling length on a single quoted string - accepts calling length on a single quoted string that is assigned to a constant - accepts calling length on a %q string that is assigned to a constant along with some arithmetic operations - accepts calling length on a variable - registers an offense when calling length on a % string - accepts calling length on a double quoted string that is assigned to a constant - symbols - accepts calling length on an interpolated quoted symbol - registers an offense when calling length on a symbol - registers an offense when calling length on %s - registers an offense when calling length on a quoted symbol - accepts calling length on a symbol that is assigned to a constant - arrays - accepts calling length on an array that is assigned to a constant - accepts calling length on an array using [] that contains a splat - registers an offense when calling length on an array using %W - registers an offense when calling length on an array using [] - registers an offense when calling length on an array using %w - accepts calling length on array that is set to a variable +RuboCop::Cop::Performance::RedundantStringChars + registers an offense and corrects when using `str.chars.first(2)` + registers an offense and corrects when using `str.chars.last` + registers an offense and corrects when using `str.chars.slice(0..2)` + registers an offense and corrects when using `str.chars.size` + registers an offense and corrects when using `str.chars.last(2)` + registers an offense and corrects when using `str.chars.empty?` + registers an offense and corrects when using `str.chars.first` + registers an offense and corrects when using `str.chars.take(2)` + registers an offense and corrects when using `str.chars.drop(2)` + registers an offense and corrects when using `str.chars[0..2]` + registers an offense and corrects when using `str.chars.length` + does not register an offense when using `str.chars.max` + +RuboCop Performance Project + changelog + has newline at end of file + has link definitions for all implicit links + has either entries, headers, or empty lines + entry + has a whitespace between the * and the body + contributor name + has a unique contributor name + body + does not start with a lower case + ends with a punctuation + after version 0.14.0 + has a link to the contributors at the end + link to related issue + has a colon and a whitespace at the end + has an issue number prefixed with # + has a valid URL + default configuration file + has a nicely formatted description for all cops + has a period at EOL of description + does not have nay duplication + sorts configuration keys alphabetically + requires a nicely formatted `VersionAdded` metadata for all cops + has a SupportedStyles for all EnforcedStyle and EnforcedStyle is valid + +RuboCop::Cop::Performance::ChainArrayAllocation + Methods that require an argument + does not register an offense for `first.uniq` + registers an offense for `first(variable).uniq` + registers an offense for `first(10).uniq` + configured to only warn when flattening one level + behaves like map_and_flat + registers an offense when calling map...flatten + methods that only return an array with no block + zip + +RuboCop::Cop::Performance::DeletePrefix + TargetRubyVersion <= 2.4 + does not register an offense when using `sub!(/Aprefix/, '')` + does not register an offense when using `gsub(/Aprefix/, '')` + does not register an offense when using `sub(/Aprefix/, '')` + does not register an offense when using `gsub!(/Aprefix/, '')` + TargetRubyVersion >= 2.5 + does not register an offense when using `delete_prefix!` + does not register an offense when using `delete_prefix` + with starting pattern `\A` and ending pattern `\z` + does not register an offense and corrects when using `sub` + does not register an offense and corrects when using `sub!` + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `gsub` + when using `^` as starting pattern + when `SafeMultiline: false` + registers an offense and corrects when using `gsub` + registers an offense and corrects when using `sub` + registers an offense and corrects when using `sub!` + registers an offense and corrects when using `gsub!` + when `SafeMultiline: true` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `sub` + does not register an offense and corrects when using `sub!` + when using `\A` as starting pattern + registers an offense and corrects when `sub!(/Aprefix/, '')` + registers an offense and corrects when `gsub(/Aprefix/, '')` + registers an offense and corrects when `sub(/Aprefix/, '')` + registers an offense and corrects when `gsub!(/Aprefix/, '')` + when using a non-blank string as replacement string + does not register an offense and corrects when using `sub!` + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `sub` + when using non-starting pattern + does not register an offense when using `sub!` + does not register an offense when using `gsub` + does not register an offense when using `sub` + does not register an offense when using `gsub!` + +RuboCop::Cop::Performance::DeleteSuffix + TargetRubyVersion >= 2.5 + does not register an offense when using `delete_suffix` + does not register an offense when using `delete_suffix!` + when using a non-blank string as replacement string + does not register an offense and corrects when using `sub` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `sub!` + when using `$` as ending pattern + when `SafeMultiline: false` + registers an offense and corrects when using `gsub!` + registers an offense and corrects when using `sub!` + registers an offense and corrects when using `sub` + registers an offense and corrects when using `gsub` + when `SafeMultiline: true` + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `sub!` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `sub` + when using `\z` as ending pattern + registers an offense and corrects when `gsub!(/suffixz/, '')` + registers an offense and corrects when `sub(/suffixz/, '')` + registers an offense and corrects when `gsub(/suffixz/, '')` + registers an offense and corrects when `sub!(/suffixz/, '')` + with starting pattern `\A` and ending pattern `\z` + does not register an offense and corrects when using `sub!` + does not register an offense and corrects when using `sub` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `gsub!` + when using non-ending pattern + does not register an offense when using `sub` + does not register an offense when using `gsub!` + does not register an offense when using `gsub` + does not register an offense when using `sub!` + TargetRubyVersion <= 2.4 + does not register an offense when using `sub!(/suffixz/, '')` + does not register an offense when using `gsub!(/suffixz/, '')` + does not register an offense when using `sub(/suffixz/, '')` + does not register an offense when using `gsub(/suffixz/, '')` + +RuboCop::Cop::Performance::Squeeze + registers an offense and corrects when using `#gsub!(/a+/, 'a')` + does not register an offense when using `#squeeze` + registers an offense and corrects when using `#gsub(/a+/, 'a')` + does not register an offense when using `#squeeze!` + does not register an offense when replacement does not match pattern + +RuboCop::Cop::Performance::RedundantMatch + autocorrects .match in if condition + does not autocorrect if .match has a string agrgument + does not register an error when return value of .match is passed to another method + autocorrects .match in unless condition + formats error message correctly for something if str.match(/regex/) + autocorrects .match in while condition + autocorrects .match in method body (but not tail position) + does not register an error when return value of .match is stored in an instance variable + does not register an offense when match has a block + does not register an error when there is no receiver to the match call + autocorrects .match in until condition + does not register an error when return value of .match is returned from surrounding method + +RuboCop::Cop::Performance::IoReadlines + registers an offense and corrects when using `#readlines` on an instance followed by `#each` method + registers an offense when using `File.readlines` followed by Enumerable method + does not register an offense when using `#readlines` on an instance and not followed by Enumerable method + registers an offense when using `IO.readlines` followed by Enumerable method + registers an offense and corrects when using `#readlines` on an instance followed by Enumerable method + registers an offense when using `IO.readlines` followed by `#each` method + does not register an offense when using `.readlines` and not followed by Enumerable method + +RuboCop::Cop::Performance::Detect + does not register an offense when select is calledwith args but without ampersand syntax + registers an offense when find_all is calledon `lazy` without receiver + does not register an offense when find_all is calledon lazy enumerable + registers an offense when last is called on select + registers an offense when first is called on find_all short syntax + doesn't register an offense when last(n) is called on select + registers an offense when select is calledon `lazy` without receiver + does not register an offense when find_all is calledwith args but without ampersand syntax + does not register an offense when select is calledon lazy enumerable + registers an offense when first is called on select short syntax + registers an offense when first is called on multiline select + registers an offense when last is called on multiline select + registers an offense when last is called on select short syntax + registers an offense when first is called on multiline find_all + doesn't register an offense when first(n) is called on select + does not register an offense when select is calledwithout block or args + registers an offense when last is called on multiline find_all + doesn't register an offense when last(n) is called on find_all + does not register an offense when select is used without first or last + registers an offense when last is called on find_all short syntax + registers an offense when last is called on find_all + registers an offense when first is called on find_all + does not register an offense when detect is used + registers an offense when first is called on select + doesn't register an offense when first(n) is called on find_all + does not register an offense when find_all is calledwithout block or args + does not register an offense when find_all is used without first or last + autocorrect + behaves like detect_autocorrect + with detect + corrects select.first to detect (multiline) + corrects select.last to reverse.detect (multiline) + corrects select.last to reverse.detect (with block) + corrects multiline find_all to detect with 'first' on the last line + corrects multiline select to detect with 'first' on the last line (short syntax) + corrects select.first to detect (short syntax) + corrects multiline find_all to detect with 'first' on the last line (short syntax) + corrects find_all.last to reverse.detect (short syntax) + corrects find_all.last to reverse.detect (multiline) + corrects multiline select to detect with 'first' on the last line + corrects find_all.first to detect (multiline) + corrects find_all.first to detect (short syntax) + corrects find_all.last to reverse.detect (with block) + corrects select.first to detect (with block) + corrects select.last to reverse.detect (short syntax) + corrects find_all.first to detect (with block) + behaves like detect_autocorrect + with find + corrects multiline select to find with 'first' on the last line (short syntax) + corrects find_all.last to reverse.find (short syntax) + corrects multiline find_all to find with 'first' on the last line + corrects select.first to find (multiline) + corrects multiline find_all to find with 'first' on the last line (short syntax) + corrects select.first to find (with block) + corrects find_all.first to find (with block) + corrects find_all.last to reverse.find (with block) + corrects select.first to find (short syntax) + corrects multiline select to find with 'first' on the last line + corrects select.last to reverse.find (short syntax) + corrects select.last to reverse.find (with block) + corrects find_all.first to find (multiline) + corrects find_all.first to find (short syntax) + corrects select.last to reverse.find (multiline) + corrects find_all.last to reverse.find (multiline) + +RuboCop::Cop::Performance::Size + does not register an offense when calling count on an object other than an array or a hash + does not register an offense when calling count as a stand alone method + on array + does not register an offense when calling another method + does not register an offense when calling size + corrects count to size on Array() + corrects count to size on Array[] + does not register an offense when calling count with an argument + registers an offense when calling count on Array[] + registers an offense when calling count on Array() + does not register an offense when calling count with a to_proc block + registers an offense when calling count on to_a + corrects count to size on to_a + does not register an offense when calling count with a block + corrects count to size + registers an offense when calling count + on hash + registers an offense when calling count on to_h + registers an offense when calling count on Hash[] + corrects count to size on Hash() + registers an offense when calling count on Hash() + does not register an offense when calling count with a to_proc block + corrects count to size + does not register an offense when calling count with an argument + does not register an offense when calling count with a block + does not register an offense when calling size + does not register an offense when calling another method + corrects count to size on Hash[] + corrects count to size on to_h + registers an offense when calling count + +Finished in 34.93 seconds (files took 1.89 seconds to load) +7975 examples, 0 failures + +Randomized with seed 39424 + +/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner + +┌──────────────────────────────────────────────────────────────────────────────┐ +│ Checking Rubygems dependency resolution on ruby3.3 │ +└──────────────────────────────────────────────────────────────────────────────┘ + +RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/ruby-rubocop-performance/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"rubocop-performance\" + +┌──────────────────────────────────────────────────────────────────────────────┐ +│ Run tests for ruby3.3 from debian/ruby-tests.rake │ +└──────────────────────────────────────────────────────────────────────────────┘ + +RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/ruby-rubocop-performance/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake +/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation + +Randomized with seed 37687 + +RuboCop::Cop::Performance::UriDefaultParser + autocorrects `::URI::DEFAULT_PARSER` + autocorrects `URI::DEFAULT_PARSER` + registers an offense when using `::URI::Parser.new` + registers an offense when using `URI::Parser.new` + +RuboCop::Cop::Performance::DeletePrefix + TargetRubyVersion >= 2.5 + does not register an offense when using `delete_prefix` + does not register an offense when using `delete_prefix!` + with starting pattern `\A` and ending pattern `\z` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `sub` + does not register an offense and corrects when using `sub!` + when using `\A` as starting pattern + registers an offense and corrects when `gsub!(/Aprefix/, '')` + registers an offense and corrects when `gsub(/Aprefix/, '')` + registers an offense and corrects when `sub!(/Aprefix/, '')` + registers an offense and corrects when `sub(/Aprefix/, '')` + when using non-starting pattern + does not register an offense when using `sub` + does not register an offense when using `gsub!` + does not register an offense when using `sub!` + does not register an offense when using `gsub` + when using `^` as starting pattern + when `SafeMultiline: false` + registers an offense and corrects when using `gsub` + registers an offense and corrects when using `sub!` + registers an offense and corrects when using `gsub!` + registers an offense and corrects when using `sub` + when `SafeMultiline: true` + does not register an offense and corrects when using `sub!` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `sub` + does not register an offense and corrects when using `gsub!` + when using a non-blank string as replacement string + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `sub!` + does not register an offense and corrects when using `sub` + does not register an offense and corrects when using `gsub!` + TargetRubyVersion <= 2.4 + does not register an offense when using `sub!(/Aprefix/, '')` + does not register an offense when using `gsub!(/Aprefix/, '')` + does not register an offense when using `gsub(/Aprefix/, '')` + does not register an offense when using `sub(/Aprefix/, '')` + +RuboCop::Cop::Performance::IoReadlines + registers an offense when using `IO.readlines` followed by Enumerable method + does not register an offense when using `#readlines` on an instance and not followed by Enumerable method + registers an offense and corrects when using `#readlines` on an instance followed by Enumerable method + registers an offense and corrects when using `#readlines` on an instance followed by `#each` method + registers an offense when using `File.readlines` followed by Enumerable method + registers an offense when using `IO.readlines` followed by `#each` method + does not register an offense when using `.readlines` and not followed by Enumerable method + +RuboCop::Cop::Performance::RedundantMatch + does not register an error when return value of .match is returned from surrounding method + autocorrects .match in while condition + does not register an error when return value of .match is stored in an instance variable + does not register an offense when match has a block + autocorrects .match in until condition + autocorrects .match in unless condition + does not autocorrect if .match has a string agrgument + formats error message correctly for something if str.match(/regex/) + autocorrects .match in if condition + autocorrects .match in method body (but not tail position) + does not register an error when return value of .match is passed to another method + does not register an error when there is no receiver to the match call + +RuboCop::Cop::Performance::CompareWithBlock + accepts valid min usage + registers an offense for min + formats the error message correctly for array.max { |a, b| a[:foo] <=> b[:foo] } + accepts valid max usage + autocorrects array.sort do |a, b| a.foo <=> b.foo end + autocorrects array.sort { |a, b| a.foo <=> b.foo } + autocorrects array.min { |a, b| a[1] <=> b[1] } + registers an offense for sort with ['foo'] + accepts max_by + autocorrects array.sort { |a, b| a['foo'] <=> b['foo'] } + formats the error message correctly for array.sort { |a, b| a[:foo] <=> b[:foo] } + registers an offense for sort with [:foo] + registers an offense for min with ['foo'] + highlights compare method + highlights compare method + autocorrects array.min { |a, b| a.foo <=> b.foo } + formats the error message correctly for array.sort { |a, b| a.foo <=> b.foo } + autocorrects array.max { |a, b| a[:foo] <=> b[:foo] } + formats the error message correctly for array.min { |a, b| a[:foo] <=> b[:foo] } + highlights compare method + autocorrects array.sort { |x, y| x.foo <=> y.foo } + registers an offense for max with ['foo'] + autocorrects array.max { |a, b| a.bar <=> b.bar } + accepts valid sort usage + registers an offense for sort with [1] + registers an offense for sort + autocorrects array.max do |a, b| a.foo <=> b.foo end + accepts min_by + autocorrects array.sort { |a, b| a[:foo] <=> b[:foo] } + registers an offense for max with [1] + registers an offense for max with [:foo] + formats the error message correctly for array.min { |a, b| a.foo <=> b.foo } + registers an offense for min with [1] + autocorrects array.min do |a, b| a.foo <=> b.foo end + autocorrects array.max { |a, b| a[1] <=> b[1] } + autocorrects array.min { |x, y| x.foo <=> y.foo } + autocorrects array.max { |a, b| a['foo'] <=> b['foo'] } + autocorrects array.min { |a, b| a[:foo] <=> b[:foo] } + autocorrects array.sort { |a, b| a.bar <=> b.bar } + formats the error message correctly for array.max { |a, b| a.foo <=> b.foo } + registers an offense for max + autocorrects array.min { |a, b| a.bar <=> b.bar } + accepts sort_by + autocorrects array.max { |a, b| a.foo <=> b.foo } + autocorrects array.sort { |a, b| a[1] <=> b[1] } + autocorrects array.min { |a, b| a['foo'] <=> b['foo'] } + registers an offense for min with [:foo] + autocorrects array.max { |x, y| x.foo <=> y.foo } + +RuboCop::Cop::Performance::BindCall + TargetRubyVersion <= 2.6 + does not register an offense when using `bind(obj).call(args, ...)` + TargetRubyVersion >= 2.7 + does not register an offense when using `bind_call(obj, args, ...)` + registers an offense when using `bind(obj).()` + registers an offense when a argument of `call` method is a string + registers an offense when using `bind(obj).call(args, ...)` + registers an offense when the argument of `bind` method is a string + +RuboCop::Cop::Performance::Caller + accepts `caller_locations` without argument and method chain + registers an offense when :first is called on caller with 1 + registers an offense when :first is called on caller with 2 + registers an offense when :[] is called on caller_locations also + registers an offense when :[] is called on caller + registers an offense when :[] is called on caller with 1 + registers an offense when :first is called on caller_locations also + accepts `caller` with arguments + registers an offense when :first is called on caller + accepts `caller` without argument and method chain + registers an offense when :[] is called on caller with 2 + +RuboCop::Cop::Performance::ChainArrayAllocation + methods that only return an array with no block + zip + configured to only warn when flattening one level + behaves like map_and_flat + registers an offense when calling map...flatten + Methods that require an argument + registers an offense for `first(variable).uniq` + registers an offense for `first(10).uniq` + does not register an offense for `first.uniq` + +RuboCop::Cop::Performance::RedundantSortBlock + does not register an offense when sorting in reverse order + does not register an offense when sorting in direct order by some property + does not register an offense when using `sort` + registers an offense and corrects when sorting in direct order + +RuboCop::Cop::Performance::UnfreezeString + registers an offense for a heredoc with `.dup` + accepts a string with unary plus operator + registers an offense for `String.new` with an empty string + registers an offense for `String.new` with a string + registers an offense for a string that contains a stringinterpolation with `.dup` + registers an offense for an empty string with `.dup` + accepts `String.new` with capacity option + registers an offense for a string with `.dup` + registers an offense for `String.new` + accepts an empty string with unary plus operator + +RuboCop::Cop::Performance::RangeInclude + autocorrects (a...b).member? without parens + autocorrects (a..b).include? with parens + autocorrects (a..b).include? without parens + autocorrects (a...b).include? without parens + autocorrects (a...b).member? with parens + autocorrects (a...b).include? with parens + formats the error message correctly for (a..b).include? 1 + formats the error message correctly for (a..b).member? 1 + autocorrects (a..b).member? without parens + autocorrects (a..b).member? with parens + +RuboCop::Cop::Performance::RedundantBlockCall + accepts a block that is not `call`ed + formats the error message for func.call(1) correctly + autocorrects even when block arg has a different name + autocorrects multiple occurrences of block.call with arguments + autocorrects when the result of the call is used in a scope that requires parentheses + accepts another block being passed along with other args + autocorrects block.call without arguments + accepts an optional block that is defaulted + accepts another block arg in at least one occurrence of block.call + accepts an empty method body + autocorrects block.call with arguments + autocorrects block.call with empty parentheses + accepts another block being passed as the only arg + accepts an optional block that is overridden + autocorrects using parentheses when block.call uses parentheses + +RuboCop::Cop::Performance::Size + does not register an offense when calling count on an object other than an array or a hash + does not register an offense when calling count as a stand alone method + on array + corrects count to size on to_a + corrects count to size + corrects count to size on Array() + corrects count to size on Array[] + registers an offense when calling count on Array[] + does not register an offense when calling another method + does not register an offense when calling count with a block + does not register an offense when calling count with an argument + does not register an offense when calling count with a to_proc block + registers an offense when calling count + registers an offense when calling count on to_a + does not register an offense when calling size + registers an offense when calling count on Array() + on hash + corrects count to size on Hash[] + corrects count to size on to_h + does not register an offense when calling count with a block + does not register an offense when calling count with a to_proc block + registers an offense when calling count + registers an offense when calling count on to_h + does not register an offense when calling count with an argument + registers an offense when calling count on Hash() + does not register an offense when calling size + does not register an offense when calling another method + registers an offense when calling count on Hash[] + corrects count to size on Hash() + corrects count to size + +RuboCop::Cop::Performance::ReverseFirst + does not register an offense when `#reverse` is not followed by `#first` + registers an offense and corrects when using `#reverse.first` + registers an offense and corrects when using `#reverse.first(5)` + +RuboCop::Cop::Performance::Detect + doesn't register an offense when first(n) is called on select + doesn't register an offense when first(n) is called on find_all + registers an offense when last is called on select short syntax + does not register an offense when select is calledon lazy enumerable + doesn't register an offense when last(n) is called on find_all + registers an offense when find_all is calledon `lazy` without receiver + registers an offense when last is called on select + does not register an offense when select is calledwithout block or args + does not register an offense when select is calledwith args but without ampersand syntax + registers an offense when first is called on multiline select + does not register an offense when find_all is calledwith args but without ampersand syntax + does not register an offense when select is used without first or last + registers an offense when first is called on multiline find_all + registers an offense when last is called on multiline find_all + registers an offense when last is called on multiline select + does not register an offense when detect is used + does not register an offense when find_all is calledwithout block or args + registers an offense when first is called on find_all + does not register an offense when find_all is used without first or last + does not register an offense when find_all is calledon lazy enumerable + registers an offense when first is called on find_all short syntax + registers an offense when first is called on select + registers an offense when last is called on find_all short syntax + registers an offense when select is calledon `lazy` without receiver + registers an offense when first is called on select short syntax + registers an offense when last is called on find_all + doesn't register an offense when last(n) is called on select + autocorrect + behaves like detect_autocorrect + with find + corrects find_all.last to reverse.find (multiline) + corrects select.last to reverse.find (with block) + corrects select.first to find (short syntax) + corrects find_all.first to find (multiline) + corrects multiline select to find with 'first' on the last line + corrects multiline find_all to find with 'first' on the last line (short syntax) + corrects select.first to find (multiline) + corrects find_all.last to reverse.find (short syntax) + corrects find_all.first to find (with block) + corrects multiline find_all to find with 'first' on the last line + corrects multiline select to find with 'first' on the last line (short syntax) + corrects find_all.first to find (short syntax) + corrects select.last to reverse.find (short syntax) + corrects select.first to find (with block) + corrects find_all.last to reverse.find (with block) + corrects select.last to reverse.find (multiline) + behaves like detect_autocorrect + with detect + corrects multiline select to detect with 'first' on the last line (short syntax) + corrects select.last to reverse.detect (short syntax) + corrects find_all.first to detect (with block) + corrects multiline find_all to detect with 'first' on the last line + corrects select.last to reverse.detect (with block) + corrects multiline find_all to detect with 'first' on the last line (short syntax) + corrects find_all.last to reverse.detect (with block) + corrects find_all.first to detect (multiline) + corrects find_all.last to reverse.detect (short syntax) + corrects find_all.last to reverse.detect (multiline) + corrects select.first to detect (short syntax) + corrects select.first to detect (multiline) + corrects find_all.first to detect (short syntax) + corrects select.first to detect (with block) + corrects select.last to reverse.detect (multiline) + corrects multiline select to detect with 'first' on the last line + +RuboCop::Cop::Performance::SortReverse + registers an offense and corrects when sorting in reverse order + does not register an offense when sorting in reverse order by some property + does not register an offense when using `sort.reverse` + does not register an offense when sorting in direct order + +RuboCop::Cop::Performance::Count + allows usage of methods called on size + allows usage of size called on an assigned variable + allows usage of size on an array + allows usage of count on an interstitial method with blocks called on select + allows usage of count on an interstitial method called on select + allows usage of another method with size + allows usage of count on an array + properly parses non related code + will not raise an error for Bundler.setup + will not raise an error for RakeTask.new + behaves like selectors + registers an offense for using hash.select...count + registers an offense for using array.select...size + registers an offense for using array.select...length + registers an offense for using hash.select...size + registers an offense for select(&:something).count + registers an offense for select with params instead of a block + registers an offense for using hash.select...length + allows usage of select...count with a block on a hash + allows usage of select without getting the size + registers an offense for select(&:something).count when called as an instance method on its own class + allows usage of select...count with a block on an array + registers an offense for using array.select...count + bang methods + allows usage of select!...count + allows usage of select!...length + allows usage of select!...size + autocorrect + will correct + select...size when select has parameters + select..length to count + select..size to count + select..count without a block to count + will not correct + reject...size when select has parameters + reject...size + reject...length + reject...count + select...count when count has a block + ActiveRecord select + allows usage of select with a string + allows usage of select with multiple symbols + allows usage of select with multiple strings + allows usage of select with a symbol + behaves like selectors + registers an offense for reject(&:something).count + allows usage of reject without getting the size + registers an offense for reject with params instead of a block + registers an offense for reject(&:something).count when called as an instance method on its own class + registers an offense for using array.reject...length + registers an offense for using array.reject...count + registers an offense for using hash.reject...size + registers an offense for using hash.reject...count + registers an offense for using hash.reject...length + registers an offense for using array.reject...size + allows usage of reject...count with a block on a hash + allows usage of reject...count with a block on an array + bang methods + allows usage of reject!...length + allows usage of reject!...count + allows usage of reject!...size RuboCop::Cop::Performance::DoubleStartEndWith - IncludeActiveSupportAliases: false - two #ends_with? calls - doesn't register an offense - a .start_with? and .end_with? call with the same receiver - doesn't register an offense - two #end_with? calls - with different receivers - doesn't register an offense + IncludeActiveSupportAliases: true + two #starts_with? calls with the same receiver all parameters of the second call are pure - corrects to a single end_with? + corrects to a single starts_with? registers an offense one of the parameters of the second call is not pure doesn't register an offense - two #starts_with? calls - doesn't register an offense - two #start_with? calls with different receivers doesn't register an offense + two #ends_with? calls with the same receiver all parameters of the second call are pure + corrects to a single ends_with? registers an offense - corrects to a single start_with? one of the parameters of the second call is not pure doesn't register an offense - IncludeActiveSupportAliases: true - two #ends_with? calls with different receivers doesn't register an offense + two #end_with? calls with the same receiver - one of the parameters of the second call is not pure - doesn't register an offense all parameters of the second call are pure - corrects to a single ends_with? registers an offense + corrects to a single end_with? two #start_with? calls with the same receiver all parameters of the second call are pure - corrects to a single start_with? registers an offense + corrects to a single start_with? + IncludeActiveSupportAliases: false two #end_with? calls with the same receiver all parameters of the second call are pure registers an offense corrects to a single end_with? + one of the parameters of the second call is not pure + doesn't register an offense + with different receivers + doesn't register an offense + two #ends_with? calls + doesn't register an offense two #starts_with? calls + doesn't register an offense + two #start_with? calls with the same receiver one of the parameters of the second call is not pure doesn't register an offense all parameters of the second call are pure - corrects to a single starts_with? + corrects to a single start_with? registers an offense with different receivers doesn't register an offense + a .start_with? and .end_with? call with the same receiver + doesn't register an offense + +RuboCop::Cop::Performance::DeleteSuffix + TargetRubyVersion >= 2.5 + does not register an offense when using `delete_suffix` + does not register an offense when using `delete_suffix!` + with starting pattern `\A` and ending pattern `\z` + does not register an offense and corrects when using `sub` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `sub!` + when using non-ending pattern + does not register an offense when using `sub` + does not register an offense when using `sub!` + does not register an offense when using `gsub` + does not register an offense when using `gsub!` + when using `\z` as ending pattern + registers an offense and corrects when `gsub(/suffixz/, '')` + registers an offense and corrects when `gsub!(/suffixz/, '')` + registers an offense and corrects when `sub(/suffixz/, '')` + registers an offense and corrects when `sub!(/suffixz/, '')` + when using a non-blank string as replacement string + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `sub!` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `sub` + when using `$` as ending pattern + when `SafeMultiline: false` + registers an offense and corrects when using `gsub!` + registers an offense and corrects when using `gsub` + registers an offense and corrects when using `sub` + registers an offense and corrects when using `sub!` + when `SafeMultiline: true` + does not register an offense and corrects when using `gsub` + does not register an offense and corrects when using `sub!` + does not register an offense and corrects when using `gsub!` + does not register an offense and corrects when using `sub` + TargetRubyVersion <= 2.4 + does not register an offense when using `sub(/suffixz/, '')` + does not register an offense when using `sub!(/suffixz/, '')` + does not register an offense when using `gsub(/suffixz/, '')` + does not register an offense when using `gsub!(/suffixz/, '')` + +RuboCop::Cop::Performance::StringInclude + doesn't register an error for /prefix$/.match? str + autocorrects str.match? /\?/ + doesn't register an error for str.match /prefix./ + doesn't register an error for str =~ /prefix$/ + doesn't register an error for /\H/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects str.match? /\j/ + autocorrects str =~ /\o/ + autocorrects str.match /\o/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects /\y.match? str/ + autocorrects /abc/.match? str + doesn't register an error for str.match? /\R/ + doesn't register an error for /prefix^/.match str + doesn't register an error for /prefix^/ =~ str + autocorrects str.match? /\f/ + doesn't register an error for /\w/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects str.match /\l/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects /\m.match str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects str =~ /\m/ + doesn't register an error for str.match? /\S/ + doesn't register an error for str.match /\w/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects /\q.match str/ + doesn't register an error for str.match /\B/ + autocorrects str.match /\t/ + doesn't register an error for /\H/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects str.match? /\m/ + doesn't register an error for /\z/.match? str + doesn't register an error for str =~ /\S/ + doesn't register an error for str.match /prefix|/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects /\i =~ str/ + doesn't register an error for /prefix?/.match str + doesn't register an error for /\R/ =~ str + doesn't register an error for str =~ /\S/ + doesn't register an error for str =~ /prefix./ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects /\y.match str/ + doesn't register an error for str.match? /\z/ + autocorrects /\r.match str/ + doesn't register an error for str.match /\H/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects /\i.match str/ + doesn't register an error for /\d/ =~ str + doesn't register an error for /prefix^/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects str.match /\m/ + doesn't register an error for str =~ /\H/ + autocorrects str =~ /abc/ + autocorrects str.match /\a/ + doesn't register an error for /\G/ =~ str + doesn't register an error for /\A/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects str =~ /\l/ + autocorrects /\*/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects str.match /\y/ + autocorrects /\./ =~ str + doesn't register an error for /\S/.match str + doesn't register an error for str.match /\A/ + autocorrects /\v.match str/ + doesn't register an error for /prefix$/ =~ str + autocorrects str.match? /\v/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects str.match? /\y/ + doesn't register an error for /\d/.match str + doesn't register an error for /\d/.match? str + autocorrects /\?/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects /\l.match? str/ + autocorrects str.match /\|/ + doesn't register an error for str.match /prefix^/ + autocorrects /\$/ =~ str + doesn't register an error for /\z/ =~ str + doesn't register an error for /\B/ =~ str + doesn't register an error for /\W/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects /\m =~ str/ + autocorrects /\?/ =~ str + doesn't register an error for str.match? /\s/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects str =~ /\q/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects /\j =~ str/ + doesn't register an error for str.match /\z/ + doesn't register an error for /prefix*/.match str + doesn't register an error for str.match /\X/ + autocorrects /\^/.match? str + autocorrects str.match /\./ + doesn't register an error for str =~ /\h/ + doesn't register an error for str.match? /\D/ + autocorrects /abc/ =~ str + doesn't register an error for /\S/ =~ str + doesn't register an error for /\B/.match str + doesn't register an error for str.match /\D/ + doesn't register an error for str.match? /\Z/ + doesn't register an error for str.match? /\d/ + autocorrects str.match /\f/ + doesn't register an error for str =~ /\B/ + autocorrects /\|/ =~ str + autocorrects /\\/ =~ str + doesn't register an error for /\h/ =~ str + doesn't register an error for /\A/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ + autocorrects /\m.match? str/ + autocorrects str.match /\e/ + autocorrects /\o =~ str/ + formats the error message correctly for str.match /abc/ + formats the error message correctly for str.match? /abc/ + doesn't register an error for /\Z/.match? str + autocorrects /\v.match? str/ + formats the error message correctly for /abc/.match? str + doesn't register an error for /\S/.match? str + doesn't register an error for str =~ /prefix|/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects str.match /\j/ + autocorrects /\./.match? str + doesn't register an error for /prefix./.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects /\q.match? str/ + doesn't register an error for str.match? /\A/ + doesn't register an error for str =~ /\D/ + doesn't register an error for str.match /\s/ + doesn't register an error for /\S/.match str + doesn't register an error for str.match? /prefix?/ + doesn't register an error for /prefix./.match str + autocorrects /\r =~ str/ + doesn't register an error for /\s/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects str.match /\q/ + doesn't register an error for str =~ /\W/ + autocorrects /\f.match str/ + doesn't register an error for /\G/.match? str + autocorrects str.match? /\\/ + formats the error message correctly for /abc/.match str + autocorrects str.match? /\./ + doesn't register an error for str =~ /prefix*/ + autocorrects /\\/.match? str + doesn't register an error for str.match? /\X/ + doesn't register an error for /\S/ =~ str + allows argument of `match?` is not a string literal + doesn't register an error for /\W/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects /\l.match str/ + doesn't register an error for /\b/.match? str + autocorrects str =~ /\?/ + autocorrects /\a.match? str/ + doesn't register an error for /prefix$/.match str + autocorrects str =~ /\./ + autocorrects str =~ /\$/ + doesn't register an error for str.match /prefix$/ + doesn't register an error for /\z/.match str + autocorrects /\\/.match str + doesn't register an error for /\D/.match? str + autocorrects /\*/.match? str + doesn't register an error for /\h/.match? str + doesn't register an error for str =~ /prefix^/ + autocorrects str.match? /\r/ + doesn't register an error for /\Z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects str.match? /\q/ + doesn't register an error for str.match? /\H/ + autocorrects str.match? /\|/ + doesn't register an error for /\h/.match str + doesn't register an error for str =~ /\R/ + doesn't register an error for str =~ /\d/ + doesn't register an error for str =~ /\X/ + doesn't register an error for str.match? /\S/ + doesn't register an error for /\B/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects /\j.match str/ + autocorrects str.match? /\^/ + autocorrects /\$/.match str + doesn't register an error for /\R/.match? str + autocorrects /\|/.match? str + doesn't register an error for /prefix?/.match? str + autocorrects /\e.match str/ + doesn't register an error for /\W/ =~ str + formats the error message correctly for str =~ /abc/ + doesn't register an error for /\b/ =~ str + autocorrects /\f.match? str/ + doesn't register an error for /prefix./ =~ str + doesn't register an error for str.match /\d/ + autocorrects /\?/.match str + doesn't register an error for str.match? /prefix|/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects str =~ /\i/ + autocorrects str =~ /\|/ + autocorrects str.match? /abc/ + autocorrects str =~ /\t/ + autocorrects /\o.match? str/ + doesn't register an error for /\D/ =~ str + autocorrects str.match /abc/ + autocorrects /\e.match? str/ + doesn't register an error for str.match /\b/ + doesn't register an error for str.match /\Z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects /\y =~ str/ + autocorrects str.match /\?/ + autocorrects str.match? /\a/ + autocorrects str.match /\\/ + doesn't register an error for str =~ /\b/ + doesn't register an error for str.match /\W/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects str.match? /\i/ + doesn't register an error for /\b/.match str + autocorrects /\a.match str/ + doesn't register an error for str.match /prefix*/ + autocorrects /\t.match str/ + autocorrects /\v =~ str/ + doesn't register an error for /\Z/ =~ str + doesn't register an error for str.match? /\w/ + autocorrects str.match? /\$/ + formats the error message correctly for /abc/ =~ str + doesn't register an error for /\H/ =~ str + autocorrects str =~ /\v/ + doesn't register an error for str.match? /\h/ + doesn't register an error for str.match? /prefix*/ + doesn't register an error for /prefix*/.match? str + autocorrects str.match? /\*/ + doesn't register an error for /\X/.match? str + autocorrects str.match? /\e/ + allows match without a receiver + doesn't register an error for str.match? /\B/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + autocorrects str =~ /\y/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects str =~ /\j/ + doesn't register an error for str =~ /prefix?/ + autocorrects /\*/.match str + doesn't register an error for str.match? /\G/ + doesn't register an error for str =~ /\G/ + autocorrects str.match /\$/ + autocorrects str.match /\r/ + doesn't register an error for str =~ /\A/ + autocorrects /\^/.match str + autocorrects str =~ /\^/ + autocorrects str.match? /\o/ + autocorrects /abc/.match str + doesn't register an error for str.match /\R/ + doesn't register an error for str.match /\S/ + autocorrects str =~ /\e/ + doesn't register an error for /\w/.match str + autocorrects /\|/.match str + autocorrects /\o.match str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ + autocorrects /\j.match? str/ + autocorrects /\e =~ str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ + autocorrects /\q =~ str/ + autocorrects str.match /\*/ + autocorrects /\t =~ str/ + doesn't register an error for /\G/.match str + autocorrects str =~ /\\/ + doesn't register an error for /\s/.match? str + doesn't register an error for /prefix|/.match str + doesn't register an error for str.match? /prefix$/ + doesn't register an error for str =~ /\z/ + autocorrects /\f =~ str/ + doesn't register an error for str.match /\G/ + autocorrects str =~ /\a/ + doesn't register an error for /\w/.match? str + autocorrects str =~ /\r/ + doesn't register an error for /prefix|/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects str.match? /\l/ + autocorrects /\./.match str + doesn't register an error for str =~ /\w/ + doesn't register an error for /\X/ =~ str + doesn't register an error for /\S/.match? str + doesn't register an error for /prefix*/ =~ str + doesn't register an error for /\s/.match str + doesn't register an error for str =~ /\s/ + autocorrects /\$/.match? str + autocorrects /\t.match? str/ + autocorrects /\^/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ + autocorrects /\l =~ str/ + autocorrects /\r.match? str/ + doesn't register an error for /\D/.match str + doesn't register an error for str.match? /prefix^/ + autocorrects /\a =~ str/ + doesn't register an error for /prefix|/.match? str + doesn't register an error for str.match? /prefix./ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects str.match /\i/ + autocorrects str =~ /\f/ + autocorrects str.match /\v/ + autocorrects str.match? /\t/ + doesn't register an error for str.match? /\b/ + doesn't register an error for str =~ /\Z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ + autocorrects /\i.match? str/ + doesn't register an error for str.match /\S/ + doesn't register an error for str.match /\h/ + autocorrects str.match /\^/ + doesn't register an error for /prefix?/ =~ str + doesn't register an error for /\R/.match str + doesn't register an error for str.match /prefix?/ + doesn't register an error for str.match? /\W/ + doesn't register an error for /\X/.match str + doesn't register an error for /\A/ =~ str + autocorrects str =~ /\*/ + +RuboCop::Cop::Performance::InefficientHashSearch + when config enforces long hash methods + behaves like correct behavior + registers an offense when a hash literal receives `keys.include?` + finds no offense when a `values` array variable receives `include?` + registers an offense when an existing hash receives `keys.include?` + registers an offense when a hash variable receives `values.include?` + finds no offense when a `keys` array variable receives `include?` + does not register an offense when `keys` method defined by itself and `include?` method are method chaining + registers an offense when a hash literal receives `values.include?` + autocorrect + when using `values.include?` + corrects to `value?` or `has_value?` + gracefully handles whitespace + corrects when hash is not a literal + when using `keys.include?` + gracefully handles whitespace + corrects to `key?` or `has_key?` + corrects when hash is not a literal + when config is empty + behaves like correct behavior + does not register an offense when `keys` method defined by itself and `include?` method are method chaining + finds no offense when a `values` array variable receives `include?` + registers an offense when a hash variable receives `values.include?` + registers an offense when a hash literal receives `keys.include?` + finds no offense when a `keys` array variable receives `include?` + registers an offense when an existing hash receives `keys.include?` + registers an offense when a hash literal receives `values.include?` + autocorrect + when using `values.include?` + corrects when hash is not a literal + gracefully handles whitespace + corrects to `value?` or `has_value?` + when using `keys.include?` + gracefully handles whitespace + corrects to `key?` or `has_key?` + corrects when hash is not a literal + when config specifies long hash methods but is not enabled + behaves like correct behavior + registers an offense when a hash literal receives `values.include?` + registers an offense when a hash variable receives `values.include?` + finds no offense when a `keys` array variable receives `include?` + does not register an offense when `keys` method defined by itself and `include?` method are method chaining + registers an offense when a hash literal receives `keys.include?` + registers an offense when an existing hash receives `keys.include?` + finds no offense when a `values` array variable receives `include?` + autocorrect + when using `keys.include?` + gracefully handles whitespace + corrects to `key?` or `has_key?` + corrects when hash is not a literal + when using `values.include?` + corrects when hash is not a literal + gracefully handles whitespace + corrects to `value?` or `has_value?` + when config enforces short hash methods + behaves like correct behavior + finds no offense when a `keys` array variable receives `include?` + finds no offense when a `values` array variable receives `include?` + registers an offense when an existing hash receives `keys.include?` + registers an offense when a hash literal receives `keys.include?` + does not register an offense when `keys` method defined by itself and `include?` method are method chaining + registers an offense when a hash literal receives `values.include?` + registers an offense when a hash variable receives `values.include?` + autocorrect + when using `keys.include?` + gracefully handles whitespace + corrects to `key?` or `has_key?` + corrects when hash is not a literal + when using `values.include?` + corrects to `value?` or `has_value?` + gracefully handles whitespace + corrects when hash is not a literal RuboCop::Cop::Performance::CaseWhenSplat - allows splat expansion on an array literal - allows splat on a variable in the last when condition + allows multiple splat conditions on variables at the end + allows splat expansion on array literal as the last condition + registers an offense for a single when with splat expansion followed by another value registers an offense for case when with a splat without an else + registers an offense for case when with a splat in the first condition + registers an offense for a splat on a variable that proceeds a splat on an array literal as the last condition + registers an offense when splat is part of the condition + registers an offense for multiple out of order splat conditions allows case when without splat registers an offense for splat conditions in when then - registers an offense for multiple out of order splat conditions - registers an offense when splat is part of the condition - allows multiple splat conditions on variables at the end - registers an offense for a single when with splat expansion followed by another value + allows splat on a variable in the last when condition registers an offense for splat condition that do not appear at the end + allows splat expansion on an array literal registers an offense for multiple splat conditions at the beginning - allows splat expansion on array literal as the last condition - registers an offense for a splat on a variable that proceeds a splat on an array literal as the last condition - registers an offense for case when with a splat in the first condition autocorrect - corrects a when with multiple out of order splat expansions followed by other values when there are multiple whens + moves multiple out of order splat condition to the end of the when conditions + corrects a splat followed by array in the same condition moves a single splat condition to the end of the when conditions moves multiple splat condition to the end of the when conditions - corrects a single when with splat expansion followed by another value - corrects splat on a variable and leaves an array literal alone - corrects nested case when statements corrects a when with splat expansion followed by another value when there are multiple whens + corrects splat condition when using when then corrects a splat as part of the condition - corrects a splat followed by array in the same condition + corrects splat on a variable and leaves an array literal alone + corrects a single when with splat expansion followed by another value corrects an array followed by splat in the same condition - corrects splat condition when using when then - moves multiple out of order splat condition to the end of the when conditions + corrects nested case when statements + corrects a when with multiple out of order splat expansions followed by other values when there are multiple whens -RuboCop::Cop::Performance::AncestorsInclude - does not register an offense when using `<=` - registers an offense and corrects when using `ancestors.include?` without receiver - registers an offense and corrects when using `ancestors.include?` +RuboCop::Cop::Performance::Squeeze + registers an offense and corrects when using `#gsub!(/a+/, 'a')` + registers an offense and corrects when using `#gsub(/a+/, 'a')` + does not register an offense when using `#squeeze` + does not register an offense when replacement does not match pattern + does not register an offense when using `#squeeze!` RuboCop Performance Project changelog @@ -9000,10 +10434,10 @@ has link definitions for all implicit links entry has a whitespace between the * and the body - after version 0.14.0 - has a link to the contributors at the end contributor name has a unique contributor name + after version 0.14.0 + has a link to the contributors at the end link to related issue has a colon and a whitespace at the end has a valid URL @@ -9012,8884 +10446,7486 @@ does not start with a lower case ends with a punctuation default configuration file - has a SupportedStyles for all EnforcedStyle and EnforcedStyle is valid has a period at EOL of description - requires a nicely formatted `VersionAdded` metadata for all cops + has a SupportedStyles for all EnforcedStyle and EnforcedStyle is valid has a nicely formatted description for all cops - does not have nay duplication + requires a nicely formatted `VersionAdded` metadata for all cops sorts configuration keys alphabetically - -RuboCop::Cop::Performance::FlatMap - configured to only warn when flattening one level - behaves like map_and_collect - corrects collect(&:foo).flatten to flat_map - registers an offense when calling collect(&:foo).flatten(1) - registers an offense when calling collect...flatten(1) - corrects collect..flatten(1) to flat_map - corrects collect(&foo).flatten to flat_map - does not register an offense when calling collect!...flatten - does not register an offense when calling collect...flatten with a number greater than 1 - registers an offense when calling collect(&foo).flatten(1) - behaves like flatten_with_params_disabled - does not register an offense when calling map...flatten! - behaves like map_and_collect - corrects collect(&foo).flatten! to flat_map - does not register an offense when calling collect...flatten! with a number greater than 1 - corrects collect(&:foo).flatten! to flat_map - registers an offense when calling collect(&foo).flatten!(1) - does not register an offense when calling collect!...flatten! - registers an offense when calling collect(&:foo).flatten!(1) - registers an offense when calling collect...flatten!(1) - corrects collect..flatten!(1) to flat_map - behaves like flatten_with_params_disabled - does not register an offense when calling collect...flatten! - behaves like map_and_collect - does not register an offense when calling map...flatten with a number greater than 1 - corrects map..flatten(1) to flat_map - registers an offense when calling map...flatten(1) - registers an offense when calling map(&foo).flatten(1) - corrects map(&foo).flatten to flat_map - corrects map(&:foo).flatten to flat_map - does not register an offense when calling map!...flatten - registers an offense when calling map(&:foo).flatten(1) - behaves like flatten_with_params_disabled - does not register an offense when calling collect...flatten - behaves like map_and_collect - corrects map(&:foo).flatten! to flat_map - does not register an offense when calling map!...flatten! - registers an offense when calling map(&:foo).flatten!(1) - corrects map(&foo).flatten! to flat_map - does not register an offense when calling map...flatten! with a number greater than 1 - corrects map..flatten!(1) to flat_map - registers an offense when calling map(&foo).flatten!(1) - registers an offense when calling map...flatten!(1) - behaves like flatten_with_params_disabled - does not register an offense when calling map...flatten - configured to warn when flatten is not called with parameters - behaves like map_and_collect - registers an offense when calling map...flatten!(1) - corrects map(&:foo).flatten! to flat_map - does not register an offense when calling map...flatten! with a number greater than 1 - corrects map(&foo).flatten! to flat_map - registers an offense when calling map(&foo).flatten!(1) - corrects map..flatten!(1) to flat_map - registers an offense when calling map(&:foo).flatten!(1) - does not register an offense when calling map!...flatten! - behaves like flatten_with_params_enabled - registers an offense when calling collect...flatten! - will not correct collect..flatten! to flat_map - behaves like map_and_collect - corrects map(&:foo).flatten to flat_map - registers an offense when calling map(&foo).flatten(1) - registers an offense when calling map(&:foo).flatten(1) - corrects map..flatten(1) to flat_map - does not register an offense when calling map!...flatten - corrects map(&foo).flatten to flat_map - does not register an offense when calling map...flatten with a number greater than 1 - registers an offense when calling map...flatten(1) - behaves like map_and_collect - registers an offense when calling collect...flatten!(1) - corrects collect(&:foo).flatten! to flat_map - does not register an offense when calling collect...flatten! with a number greater than 1 - registers an offense when calling collect(&foo).flatten!(1) - corrects collect(&foo).flatten! to flat_map - does not register an offense when calling collect!...flatten! - corrects collect..flatten!(1) to flat_map - registers an offense when calling collect(&:foo).flatten!(1) - behaves like flatten_with_params_enabled - will not correct map..flatten to flat_map - registers an offense when calling map...flatten - behaves like flatten_with_params_enabled - registers an offense when calling collect...flatten - will not correct collect..flatten to flat_map - behaves like flatten_with_params_enabled - will not correct map..flatten! to flat_map - registers an offense when calling map...flatten! - behaves like map_and_collect - registers an offense when calling collect(&foo).flatten(1) - corrects collect..flatten(1) to flat_map - corrects collect(&:foo).flatten to flat_map - does not register an offense when calling collect!...flatten - registers an offense when calling collect...flatten(1) - registers an offense when calling collect(&:foo).flatten(1) - does not register an offense when calling collect...flatten with a number greater than 1 - corrects collect(&foo).flatten to flat_map + does not have nay duplication RuboCop::Cop::Performance::RedundantMerge - autocorrects hash.merge!(a: 1) autocorrects hash.merge!("abc" => "value") - formats the error message correctly for hash.merge!(a: 1) + autocorrects hash.merge!(a: 1) doesn't register an error when return value is used + formats the error message correctly for hash.merge!(a: 1) does not register an offense when using an empty hash argument when there is a modifier until, and more than 1 pair autocorrects it to an until block when original code was indented maintains proper indentation + when MaxKeyValuePairs is set to nil + does not raise `TypeError` + when receiver is a local variable + autocorrects hash.merge!(a: 1, b: 2) when any argument is a double splat does not register an offense when the only argument is adouble splat does not register an offense when there are multiple arguments and at least one is a double splat + when receiver is implicit + doesn't autocorrect when internal to each_with_object + autocorrects when receiver uses multiple element references to the object built by each_with_object autocorrects when the receiver is the object being built when merge! is not the last statement - autocorrects when receiver uses element reference to the object built by each_with_object autocorrects merge! called on any method on the object built by each_with_object - autocorrects when receiver uses multiple element references to the object built by each_with_object - autocorrects when the receiver is the object being built when merge! is the last statement does not register an offense when merge! is being assigned inside each_with_object + autocorrects when the receiver is the object being built when merge! is the last statement autocorrects when the receiver is the object being built - when receiver is a method call - doesn't autocorrect hash.merge!(a: 1, b: 2) - when receiver is implicit - doesn't autocorrect - when there is a modifier while, and more than 1 pair - autocorrects it to an while block + autocorrects when receiver uses element reference to the object built by each_with_object + with MaxKeyValuePairs of 1 + doesn't register errors for multi-value hash merges + when there is a modifier if, and more than 1 pair + autocorrects it to an if block when original code was indented maintains proper indentation when there is a modifier unless, and more than 1 pair autocorrects it to an unless block when original code was indented maintains proper indentation - when receiver is a local variable - autocorrects hash.merge!(a: 1, b: 2) when code is indented, and there is more than 1 pair indents the autocorrected code properly - when MaxKeyValuePairs is set to nil - does not raise `TypeError` - with MaxKeyValuePairs of 1 - doesn't register errors for multi-value hash merges - when there is a modifier if, and more than 1 pair - autocorrects it to an if block + when there is a modifier while, and more than 1 pair + autocorrects it to an while block when original code was indented maintains proper indentation + when receiver is a method call + doesn't autocorrect hash.merge!(a: 1, b: 2) -RuboCop::Cop::Performance::EndWith - when `SafeMultiline: true` - does not register an offense using `$` as ending pattern - when `SafeMultiline: false` - autocorrects str =~ /\e\z/ - autocorrects /\.\z/.match str - doesn't register an error for /\S\z/.match? str - doesn't register an error for str =~ /\H\z/ - doesn't register an error for str.match? /$\z/ - autocorrects str =~ /\.\z/ - doesn't register an error for str.match /\s\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects /\q\z/ =~ str - autocorrects str.match /\o\z/ - doesn't register an error for /\R\z/.match str - autocorrects str.match? /\$\z/ - autocorrects str.match /abc\z/ - doesn't register an error for /^\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects /\i\z/ =~ str - doesn't register an error for str.match? /\S\z/ - doesn't register an error for /^\z/.match str - doesn't register an error for /\h\z/ =~ str - doesn't register an error for /\s\z/.match str - autocorrects /\f\z/ =~ str - autocorrects /\t\z/ =~ str - autocorrects /abc\z/.match str - autocorrects /\\\z/.match? str - doesn't register an error for /\H\z/ =~ str - doesn't register an error for /\B\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects str.match? /\i\z/ - autocorrects /\t\z/.match? str - autocorrects str =~ /\v\z/ - autocorrects /\r\z/.match str - doesn't register an error for /\d\z/.match? str - autocorrects str =~ /abc\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects str =~ /\i\z/ - doesn't register an error for str =~ /\Z\z/ - autocorrects str.match /\|\z/ - doesn't register an error for /\w\z/.match str - doesn't register an error for str.match /\R\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects str.match /\y\z/ - autocorrects /\o\z/.match? str - doesn't register an error for str.match /\Z\z/ - autocorrects /\a\z/ =~ str - autocorrects str =~ /\\\z/ - autocorrects /\o\z/ =~ str - autocorrects str.match /\$\z/ - formats the error message correctly for /abc\z/.match str - doesn't register an error for str.match /\b\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects str =~ /\j\z/ - autocorrects str.match? /\.\z/ - autocorrects str.match? /\t\z/ - doesn't register an error for /\G\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects /\l\z/ =~ str - autocorrects /\r\z/ =~ str - autocorrects str.match /\e\z/ - doesn't register an error for /\S\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects /\l\z/.match? str - doesn't register an error for /\s\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects /\m\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects str.match /\m\z/ - autocorrects str.match /\v\z/ - formats the error message correctly for str.match? /abc\z/ - autocorrects /\$\z/.match? str - autocorrects str =~ /\t\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects /\y\z/.match? str - autocorrects /\|\z/.match? str - doesn't register an error for /\D\z/ =~ str - autocorrects /\f\z/.match? str - autocorrects /\n\z/ =~ str - doesn't register an error for str.match /\S\z/ - autocorrects /\^\z/.match? str - autocorrects str =~ /\n\z/ - autocorrects /\e\z/ =~ str - doesn't register an error for str.match? /\S\z/ - doesn't register an error for str.match? /^\z/ - doesn't register an error for str.match /\G\z/ - autocorrects str.match? /abc$/ - autocorrects str =~ /\|\z/ - autocorrects str.match /\.\z/ - doesn't register an error for /\z\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects /\m\z/ =~ str - doesn't register an error for /\A\z/.match? str - doesn't register an error for str =~ /\w\z/ - autocorrects /\a\z/.match str - doesn't register an error for /\z\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects str.match? /\m\z/ - doesn't register an error for /\S\z/ =~ str - autocorrects str.match /\t\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects str =~ /\q\z/ - autocorrects /abc\z/.match? str - doesn't register an error for /\B\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects str.match? /\y\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects /\l\z/.match str - doesn't register an error for /\A\z/.match str - doesn't register an error for /\X\z/.match? str - doesn't register an error for str =~ /\s\z/ - doesn't register an error for /\D\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects str =~ /\y\z/ - autocorrects str.match? /\|\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects /\q\z/.match str - autocorrects str.match? /\a\z/ - doesn't register an error for /\D\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects /\j\z/.match str - autocorrects str =~ /\f\z/ - doesn't register an error for /|\z/.match? str - autocorrects /\o\z/.match str - autocorrects /abc$/.match str - autocorrects /\r\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects /\j\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects str.match /\i\z/ - autocorrects str.match? /\f\z/ - doesn't register an error for str.match /\A\z/ - doesn't register an error for /\H\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects /\i\z/.match? str - doesn't register an error for str =~ /\X\z/ - doesn't register an error for str =~ /\S\z/ - formats the error message correctly for /abc\z/ =~ str - autocorrects str.match? /abc\z/ - doesn't register an error for /\w\z/ =~ str - doesn't register an error for str.match /|\z/ - autocorrects /\$\z/.match str - doesn't register an error for /\S\z/.match? str - autocorrects str =~ /\o\z/ - autocorrects str.match? /\n\z/ - autocorrects /\e\z/.match? str - doesn't register an error for /|\z/.match str - doesn't register an error for /\Z\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects str.match /\j\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects /\q\z/.match? str - doesn't register an error for str.match? /\G\z/ - autocorrects /\.\z/ =~ str - doesn't register an error for str =~ /\D\z/ - doesn't register an error for str.match /\X\z/ - autocorrects str.match /\r\z/ - doesn't register an error for str.match? /\B\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects str =~ /\m\z/ - formats the error message correctly for str.match /abc\z/ - autocorrects str =~ /\^\z/ - doesn't register an error for str =~ /\B\z/ - doesn't register an error for /\d\z/.match str - doesn't register an error for /\Z\z/.match str - doesn't register an error for /\X\z/ =~ str - doesn't register an error for str =~ /.\z/ - doesn't register an error for str.match /.\z/ - autocorrects str =~ /\r\z/ - autocorrects str =~ /\$\z/ - autocorrects str.match? /\e\z/ - doesn't register an error for /\S\z/.match str - doesn't register an error for /\h\z/.match? str - doesn't register an error for str.match? /\b\z/ - autocorrects /\t\z/.match str - autocorrects /abc\z/ =~ str - autocorrects str =~ /\t\z/ - doesn't register an error for /\S\z/.match str - doesn't register an error for str.match? /\H\z/ - autocorrects str =~ /\a\z/ - doesn't register an error for str.match? /\W\z/ - doesn't register an error for str.match? /\X\z/ - autocorrects str.match /\f\z/ - autocorrects str.match? /\t\z/ - autocorrects /\a\z/.match? str - autocorrects str.match? /\o\z/ - doesn't register an error for str.match? /\z\z/ - doesn't register an error for str.match? /\Z\z/ - autocorrects /\^\z/ =~ str - autocorrects /\|\z/.match str - doesn't register an error for str.match /^\z/ - doesn't register an error for /.\z/.match str - autocorrects /\|\z/ =~ str - autocorrects /\^\z/.match str - autocorrects /\f\z/.match str - autocorrects str.match? /\^\z/ - doesn't register an error for str =~ /\S\z/ - autocorrects /\t\z/.match? str - doesn't register an error for /^\z/.match? str - autocorrects /\v\z/.match? str - autocorrects /\v\z/.match str - doesn't register an error for /\B\z/.match str - autocorrects str.match? /\v\z/ - doesn't register an error for str.match /\S\z/ - doesn't register an error for str.match? /\R\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects /\m\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects str.match? /\j\z/ - doesn't register an error for str =~ /\z\z/ - doesn't register an error for /\R\z/.match? str - doesn't register an error for /\z\z/.match? str - autocorrects str.match /\n\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects /\i\z/.match str - autocorrects str.match /\t\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects str.match /\l\z/ - doesn't register an error for /$\z/.match str - doesn't register an error for str.match? /\A\z/ - doesn't register an error for /\w\z/.match? str - doesn't register an error for str.match /\D\z/ - autocorrects /\v\z/ =~ str - doesn't register an error for str =~ /\A\z/ - doesn't register an error for str.match? /.\z/ - doesn't register an error for str.match /\B\z/ - autocorrects str.match /\\\z/ - doesn't register an error for /\G\z/.match str - autocorrects /\.\z/.match? str - autocorrects str.match /\a\z/ - doesn't register an error for /|\z/ =~ str - autocorrects str.match /abc$/ - doesn't register an error for /\W\z/.match? str - doesn't register an error for str =~ /\G\z/ - doesn't register an error for str.match? /\d\z/ - doesn't register an error for str =~ /$\z/ - doesn't register an error for str.match /$\z/ - doesn't register an error for str.match /\W\z/ - doesn't register an error for /\b\z/ =~ str - autocorrects /\t\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects /\y\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects str.match /\q\z/ - doesn't register an error for /\X\z/.match str - doesn't register an error for str.match /\h\z/ - doesn't register an error for str.match? /\s\z/ - autocorrects /\t\z/ =~ str - autocorrects str =~ /abc$/ - doesn't register an error for /\W\z/.match str - doesn't register an error for /\b\z/.match? str - autocorrects str.match? /\\\z/ - autocorrects /\n\z/.match str - doesn't register an error for str.match /\d\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects /\j\z/ =~ str - doesn't register an error for /\b\z/.match str - doesn't register an error for /.\z/ =~ str - doesn't register an error for /\d\z/ =~ str - doesn't register an error for str.match /\w\z/ - doesn't register an error for /$\z/ =~ str - autocorrects /\\\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects str.match? /\l\z/ - autocorrects str.match /\^\z/ - doesn't register an error for str =~ /^\z/ - doesn't register an error for /$\z/.match? str - doesn't register an error for str.match? /\h\z/ - autocorrects /\\\z/ =~ str - doesn't register an error for str.match? /|\z/ - doesn't register an error for str.match /\z\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects /\y\z/ =~ str - doesn't register an error for str.match? /\w\z/ - formats the error message correctly for str =~ /abc\z/ - doesn't register an error for /\Z\z/.match? str - autocorrects /abc$/.match? str - autocorrects /\n\z/.match? str - doesn't register an error for str =~ /\b\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects str =~ /\l\z/ - doesn't register an error for str =~ /\R\z/ - doesn't register an error for /\W\z/ =~ str - doesn't register an error for /\h\z/.match str - doesn't register an error for /\s\z/.match? str - doesn't register an error for /\G\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects str.match? /\q\z/ - doesn't register an error for str.match /\H\z/ - doesn't register an error for /\R\z/ =~ str - doesn't register an error for str =~ /\W\z/ - doesn't register an error for str.match? /\D\z/ - formats the error message correctly for /abc\z/.match? str - doesn't register an error for /\A\z/ =~ str - doesn't register an error for str =~ /|\z/ - allows match without a receiver - doesn't register an error for str =~ /\h\z/ - autocorrects /abc$/ =~ str - autocorrects /\$\z/ =~ str - doesn't register an error for /\H\z/.match str - autocorrects str.match? /\r\z/ - doesn't register an error for /.\z/.match? str - doesn't register an error for str =~ /\d\z/ - autocorrects /\e\z/.match str - -Finished in 36.32 seconds (files took 2.08 seconds to load) -7975 examples, 0 failures - -Randomized with seed 8054 - -/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner - -┌──────────────────────────────────────────────────────────────────────────────┐ -│ Checking Rubygems dependency resolution on ruby3.3 │ -└──────────────────────────────────────────────────────────────────────────────┘ - -RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/ruby-rubocop-performance/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"rubocop-performance\" - -┌──────────────────────────────────────────────────────────────────────────────┐ -│ Run tests for ruby3.3 from debian/ruby-tests.rake │ -└──────────────────────────────────────────────────────────────────────────────┘ - -RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/ruby-rubocop-performance/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-rubocop-performance-1.7.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake -/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation - -Randomized with seed 47316 - -RuboCop::Cop::Performance::UnfreezeString - registers an offense for `String.new` with an empty string - registers an offense for `String.new` with a string - accepts an empty string with unary plus operator - registers an offense for a heredoc with `.dup` - registers an offense for a string that contains a stringinterpolation with `.dup` - registers an offense for `String.new` - accepts a string with unary plus operator - registers an offense for a string with `.dup` - registers an offense for an empty string with `.dup` - accepts `String.new` with capacity option - -RuboCop::Cop::Performance::IoReadlines - registers an offense when using `IO.readlines` followed by `#each` method - does not register an offense when using `#readlines` on an instance and not followed by Enumerable method - registers an offense when using `File.readlines` followed by Enumerable method - registers an offense and corrects when using `#readlines` on an instance followed by `#each` method - registers an offense and corrects when using `#readlines` on an instance followed by Enumerable method - does not register an offense when using `.readlines` and not followed by Enumerable method - registers an offense when using `IO.readlines` followed by Enumerable method +RuboCop::Cop::Performance::OpenStruct + does not register offense for Struct + registers an offense for a fully qualified ::OpenStruct.new + registers an offense for OpenStruct.new -RuboCop::Cop::Performance::ChainArrayAllocation - methods that only return an array with no block - zip - configured to only warn when flattening one level - behaves like map_and_flat - registers an offense when calling map...flatten - Methods that require an argument - does not register an offense for `first.uniq` - registers an offense for `first(10).uniq` - registers an offense for `first(variable).uniq` +RuboCop::Cop::Performance::AncestorsInclude + registers an offense and corrects when using `ancestors.include?` + does not register an offense when using `<=` + registers an offense and corrects when using `ancestors.include?` without receiver RuboCop::Cop::Performance::FixedSize - behaves like common functionality - strings - accepts calling size on a double quoted string that contains interpolation - accepts calling size on a double quoted string that is assigned to a constant - accepts calling size on a variable - accepts calling size on a %q string that is assigned to a constant along with some arithmetic operations - accepts calling size on a %q string that is assigned to a constant - accepts calling size on a single quoted string that is assigned to a constant - registers an offense when calling size on a %Q string - accepts calling size on a % string that contains interpolation - registers an offense when calling size on a single quoted string - accepts calling size on a %Q string that contains interpolation - registers an offense when calling size on a %q string - registers an offense when calling size on a % string - registers an offense when calling size on a double quoted string - arrays - registers an offense when calling size on an array using %W - registers an offense when calling size on an array using %w - registers an offense when calling size on an array using [] - accepts calling size on array that is set to a variable - accepts calling size on an array using [] that contains a splat - accepts calling size on an array that is assigned to a constant - symbols - accepts calling size on an interpolated quoted symbol - accepts calling size on a symbol that is assigned to a constant - registers an offense when calling size on a symbol - registers an offense when calling size on %s - registers an offense when calling size on a quoted symbol - hashes - accepts calling size on a hash that contains a double splat - accepts calling size on a hash set to a variable - registers an offense when calling size on a hash using {} - accepts calling size on an hash that is assigned to a constant behaves like count with arguments - accepts calling count with a block accepts calling count with an instance variable + accepts calling count with a block accepts calling count with a symbol proc accepts calling count with a variable registers an offense when calling count with a string behaves like common functionality + symbols + accepts calling length on an interpolated quoted symbol + registers an offense when calling length on a symbol + registers an offense when calling length on a quoted symbol + registers an offense when calling length on %s + accepts calling length on a symbol that is assigned to a constant strings - accepts calling length on a %q string that is assigned to a constant along with some arithmetic operations - accepts calling length on a variable - accepts calling length on a %q string that is assigned to a constant - registers an offense when calling length on a double quoted string - accepts calling length on a double quoted string that is assigned to a constant accepts calling length on a double quoted string that contains interpolation - registers an offense when calling length on a %Q string - registers an offense when calling length on a %q string - registers an offense when calling length on a single quoted string registers an offense when calling length on a % string + registers an offense when calling length on a single quoted string + accepts calling length on a %q string that is assigned to a constant + accepts calling length on a variable + registers an offense when calling length on a double quoted string accepts calling length on a %Q string that contains interpolation accepts calling length on a % string that contains interpolation + accepts calling length on a double quoted string that is assigned to a constant + registers an offense when calling length on a %Q string accepts calling length on a single quoted string that is assigned to a constant - symbols - registers an offense when calling length on %s - registers an offense when calling length on a quoted symbol - registers an offense when calling length on a symbol - accepts calling length on a symbol that is assigned to a constant - accepts calling length on an interpolated quoted symbol + registers an offense when calling length on a %q string + accepts calling length on a %q string that is assigned to a constant along with some arithmetic operations arrays accepts calling length on an array using [] that contains a splat - accepts calling length on array that is set to a variable - accepts calling length on an array that is assigned to a constant registers an offense when calling length on an array using [] - registers an offense when calling length on an array using %W registers an offense when calling length on an array using %w + accepts calling length on an array that is assigned to a constant + accepts calling length on array that is set to a variable + registers an offense when calling length on an array using %W hashes - registers an offense when calling length on a hash using {} - accepts calling length on a hash that contains a double splat accepts calling length on a hash set to a variable + accepts calling length on a hash that contains a double splat + registers an offense when calling length on a hash using {} accepts calling length on an hash that is assigned to a constant behaves like count with arguments - registers an offense when calling count with a string accepts calling count with an instance variable + registers an offense when calling count with a string + accepts calling count with a symbol proc + accepts calling count with a variable accepts calling count with a block + behaves like common functionality + hashes + accepts calling size on a hash that contains a double splat + accepts calling size on an hash that is assigned to a constant + registers an offense when calling size on a hash using {} + accepts calling size on a hash set to a variable + arrays + registers an offense when calling size on an array using %W + registers an offense when calling size on an array using [] + registers an offense when calling size on an array using %w + accepts calling size on an array that is assigned to a constant + accepts calling size on an array using [] that contains a splat + accepts calling size on array that is set to a variable + symbols + registers an offense when calling size on a symbol + accepts calling size on an interpolated quoted symbol + registers an offense when calling size on %s + registers an offense when calling size on a quoted symbol + accepts calling size on a symbol that is assigned to a constant + strings + accepts calling size on a double quoted string that contains interpolation + registers an offense when calling size on a % string + accepts calling size on a variable + accepts calling size on a %Q string that contains interpolation + registers an offense when calling size on a %Q string + accepts calling size on a % string that contains interpolation + accepts calling size on a double quoted string that is assigned to a constant + accepts calling size on a single quoted string that is assigned to a constant + registers an offense when calling size on a %q string + registers an offense when calling size on a single quoted string + registers an offense when calling size on a double quoted string + accepts calling size on a %q string that is assigned to a constant + accepts calling size on a %q string that is assigned to a constant along with some arithmetic operations + behaves like count with arguments accepts calling count with a symbol proc + accepts calling count with an instance variable + registers an offense when calling count with a string + accepts calling count with a block accepts calling count with a variable behaves like common functionality + arrays + registers an offense when calling count on an array using %W + accepts calling count on array that is set to a variable + accepts calling count on an array using [] that contains a splat + registers an offense when calling count on an array using [] + accepts calling count on an array that is assigned to a constant + registers an offense when calling count on an array using %w hashes - accepts calling count on a hash that contains a double splat - accepts calling count on a hash set to a variable registers an offense when calling count on a hash using {} + accepts calling count on a hash set to a variable + accepts calling count on a hash that contains a double splat accepts calling count on an hash that is assigned to a constant strings - registers an offense when calling count on a % string - accepts calling count on a %q string that is assigned to a constant + registers an offense when calling count on a %Q string accepts calling count on a variable + accepts calling count on a %q string that is assigned to a constant registers an offense when calling count on a double quoted string - accepts calling count on a double quoted string that is assigned to a constant + registers an offense when calling count on a %q string accepts calling count on a % string that contains interpolation accepts calling count on a single quoted string that is assigned to a constant accepts calling count on a %Q string that contains interpolation - accepts calling count on a double quoted string that contains interpolation - registers an offense when calling count on a %Q string - registers an offense when calling count on a single quoted string - registers an offense when calling count on a %q string accepts calling count on a %q string that is assigned to a constant along with some arithmetic operations - arrays - registers an offense when calling count on an array using [] - accepts calling count on array that is set to a variable - registers an offense when calling count on an array using %w - registers an offense when calling count on an array using %W - accepts calling count on an array that is assigned to a constant - accepts calling count on an array using [] that contains a splat + accepts calling count on a double quoted string that is assigned to a constant + registers an offense when calling count on a single quoted string + registers an offense when calling count on a % string + accepts calling count on a double quoted string that contains interpolation symbols - accepts calling count on an interpolated quoted symbol - registers an offense when calling count on %s - accepts calling count on a symbol that is assigned to a constant registers an offense when calling count on a symbol + registers an offense when calling count on %s + accepts calling count on an interpolated quoted symbol registers an offense when calling count on a quoted symbol - behaves like count with arguments - accepts calling count with an instance variable - registers an offense when calling count with a string - accepts calling count with a symbol proc - accepts calling count with a block - accepts calling count with a variable - -RuboCop::Cop::Performance::Caller - registers an offense when :first is called on caller_locations also - registers an offense when :first is called on caller - registers an offense when :[] is called on caller with 2 - registers an offense when :[] is called on caller_locations also - accepts `caller` with arguments - accepts `caller_locations` without argument and method chain - accepts `caller` without argument and method chain - registers an offense when :first is called on caller with 1 - registers an offense when :[] is called on caller with 1 - registers an offense when :first is called on caller with 2 - registers an offense when :[] is called on caller + accepts calling count on a symbol that is assigned to a constant RuboCop::Cop::Performance::StartWith when `SafeMultiline: true` does not register an offense when using `^` as starting pattern when `SafeMultiline: false` - autocorrects str.match /\A\^/ + autocorrects str =~ /\A\$/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects /\A\i =~ str/ + doesn't register an error for str.match? /\A\b/ + doesn't register an error for /\A\X/.match? str + doesn't register an error for /\A\A/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ + autocorrects str.match /\A\l/ + doesn't register an error for str =~ /\A\H/ + autocorrects str.match /\A\./ + doesn't register an error for str.match? /\A\R/ autocorrects /\A\./ =~ str - doesn't register an error for /\A\Z/.match str - autocorrects /\A\*/.match str - doesn't register an error for str.match /\A\A/ - autocorrects /\A\?/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects str =~ /\A\y/ - doesn't register an error for str.match? /\A|/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects str.match? /\A\q/ - doesn't register an error for /\A$/ =~ str - autocorrects str.match? /\A\./ - autocorrects /\A\$/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects /\A\y.match? str/ - autocorrects /\A\\/ =~ str - doesn't register an error for str.match? /\A\h/ - doesn't register an error for /\A\z/.match str - autocorrects str =~ /\A\v/ - autocorrects /\A\*/.match? str - doesn't register an error for /\A\B/.match str - doesn't register an error for str =~ /\A\d/ - autocorrects str.match? /\A\$/ - autocorrects /\A\t =~ str/ - autocorrects str.match? /\A\?/ - autocorrects str.match? /\A\*/ - doesn't register an error for str =~ /\A\B/ - doesn't register an error for str.match /\A\X/ - doesn't register an error for /\A\H/ =~ str - doesn't register an error for /\A\X/.match str - doesn't register an error for str.match /\A$/ - autocorrects str.match /\A\o/ - doesn't register an error for str.match? /\A\w/ - formats the error message correctly for str.match? /\Aabc/ - autocorrects /\A\|/ =~ str - autocorrects /\Aabc/.match str - doesn't register an error for /\A\b/.match str - doesn't register an error for str.match /\A\S/ - doesn't register an error for /\A?/.match? str - autocorrects str.match /\A\r/ - autocorrects str.match? /\A\\/ - doesn't register an error for /\A\S/ =~ str - doesn't register an error for str.match? /\A\s/ - doesn't register an error for str.match? /\A\S/ - doesn't register an error for str =~ /\A\S/ - autocorrects /\A\t.match? str/ - doesn't register an error for /\A\S/ =~ str - doesn't register an error for str.match? /\A\G/ - formats the error message correctly for str =~ /\Aabc/ - autocorrects /\A\|/.match? str - doesn't register an error for str =~ /\A$/ - doesn't register an error for /\A\W/.match str - doesn't register an error for /\A\d/ =~ str - doesn't register an error for /\A\w/ =~ str autocorrects str.match /\A\*/ - doesn't register an error for /\A\H/.match str - autocorrects str =~ /^abc/ - autocorrects /\A\f.match str/ - autocorrects /\A\o.match str/ - doesn't register an error for str.match /\A*/ - doesn't register an error for str.match /\A\b/ - doesn't register an error for /\A\R/ =~ str - autocorrects str.match? /\A\e/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects str =~ /\A\i/ - doesn't register an error for /\A\S/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects str.match /\A\j/ - doesn't register an error for /\A\D/.match? str - doesn't register an error for str =~ /\A*/ - doesn't register an error for /\A^/.match str - doesn't register an error for /\A^/ =~ str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects /\A\q.match str/ + autocorrects /\A\q.match? str/ + doesn't register an error for str.match? /\A\z/ + formats the error message correctly for /\Aabc/.match? str + autocorrects /\A\|/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ + autocorrects /\A\l =~ str/ + formats the error message correctly for str =~ /\Aabc/ + doesn't register an error for str.match /\A\B/ + autocorrects str.match /\A\\/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects /\A\m.match? str/ + doesn't register an error for str.match /\A\w/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects str.match? /\A\y/ + autocorrects /\A\^/.match str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ autocorrects /\A\i.match str/ - doesn't register an error for str =~ /\A^/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects /\A\i.match? str/ - autocorrects str.match /\A\a/ - doesn't register an error for str.match? /\A?/ - doesn't register an error for str.match? /\A./ - autocorrects /\A\^/ =~ str - autocorrects /\A\?/.match? str - autocorrects /\A\./.match? str + autocorrects /\A\$/.match str + doesn't register an error for str =~ /\A*/ + doesn't register an error for /\A\H/.match? str autocorrects /^abc/ =~ str - autocorrects /\A\a =~ str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects str.match /\A\l/ doesn't register an error for str.match /\A./ - autocorrects /\A\e.match str/ - doesn't register an error for str.match? /\A\S/ - autocorrects str =~ /\A\$/ - doesn't register an error for str.match? /\A\A/ - autocorrects /\A\\/.match? str - autocorrects /\A\o.match? str/ - doesn't register an error for str.match /\A\W/ - doesn't register an error for str =~ /\A\X/ - doesn't register an error for str.match? /\A$/ - autocorrects str.match? /\A\f/ + autocorrects str =~ /\A\^/ + doesn't register an error for /\A\H/ =~ str + autocorrects /\A\$/ =~ str + doesn't register an error for str.match /\A*/ + doesn't register an error for str =~ /\A\S/ doesn't register an error for /\A\B/.match? str - doesn't register an error for str.match /\A|/ + doesn't register an error for /\A\W/ =~ str + doesn't register an error for /\A\X/.match str + autocorrects str =~ /\A\t/ doesn't register an error for str =~ /\A\h/ - doesn't register an error for str.match? /\A\W/ - autocorrects str.match /\A\v/ - doesn't register an error for /\A\Z/.match? str - autocorrects str =~ /\A\r/ - autocorrects /\A\f =~ str/ - doesn't register an error for str.match /\A\Z/ - autocorrects str =~ /\Aabc/ - autocorrects str.match? /\A\a/ - autocorrects str.match /\A\e/ - autocorrects str =~ /\A\|/ - autocorrects str.match /^abc/ - autocorrects str =~ /\A\e/ + doesn't register an error for /\A\w/.match str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ autocorrects str.match /\A\q/ - doesn't register an error for /\A\A/.match? str - doesn't register an error for str =~ /\A\z/ - doesn't register an error for /\A\D/.match str - doesn't register an error for str.match? /\A\B/ - doesn't register an error for /\A\z/.match? str - doesn't register an error for str.match? /\A\Z/ - doesn't register an error for /\A\S/.match? str - doesn't register an error for str.match? /\A^/ + doesn't register an error for str =~ /\A\B/ + autocorrects str.match? /\A\o/ + formats the error message correctly for /\Aabc/ =~ str + doesn't register an error for /\A\b/ =~ str + autocorrects /\A\t =~ str/ + doesn't register an error for /\A\b/.match str + doesn't register an error for str.match? /\A./ + doesn't register an error for str.match /\A\Z/ + autocorrects /\A\v.match? str/ + doesn't register an error for /\A\s/.match? str + doesn't register an error for str =~ /\A\R/ + doesn't register an error for str =~ /\A\d/ + autocorrects /\A\e.match? str/ + doesn't register an error for /\A$/ =~ str + autocorrects str.match? /\A\^/ + autocorrects /\A\*/.match? str + autocorrects str.match? /\A\e/ + doesn't register an error for /\A\h/ =~ str + doesn't register an error for /\A\Z/.match? str + doesn't register an error for /\A*/.match? str + autocorrects /\A\a.match str/ + doesn't register an error for str.match? /\A\w/ + doesn't register an error for /\A\G/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ + autocorrects /\A\q =~ str/ + autocorrects str.match /\A\$/ + autocorrects /\A\^/.match? str + doesn't register an error for str.match? /\A\H/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects /\A\m.match str/ + doesn't register an error for /\A*/.match str + autocorrects /\A\|/.match? str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects str.match? /\A\j/ - doesn't register an error for str.match /\A\D/ + autocorrects str =~ /\A\j/ + doesn't register an error for str =~ /\A\b/ + doesn't register an error for str.match? /\A\A/ autocorrects str =~ /\A\*/ - autocorrects /\A\v.match str/ - doesn't register an error for /\A\R/.match? str - autocorrects str.match? /\A\v/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects str.match? /\A\l/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects /\A\m.match? str/ - doesn't register an error for /\A./ =~ str - autocorrects str =~ /\A\f/ + doesn't register an error for /\A\R/ =~ str + autocorrects /\A\r =~ str/ + autocorrects str =~ /\Aabc/ doesn't register an error for /\A\w/.match? str - doesn't register an error for str.match /\A\S/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ + autocorrects str.match? /\A\q/ + doesn't register an error for /\A./.match? str + doesn't register an error for str.match /\A\b/ + doesn't register an error for str.match? /\A\X/ + autocorrects str =~ /\A\?/ + doesn't register an error for str =~ /\A\D/ + doesn't register an error for /\A*/ =~ str + doesn't register an error for str =~ /\A\Z/ + doesn't register an error for str.match /\A^/ + autocorrects /\A\t.match str/ + doesn't register an error for /\A\B/.match str + autocorrects str.match /\A\a/ doesn't register an error for /\A\G/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects str.match? /\A\m/ - doesn't register an error for str.match /\A\h/ - autocorrects /\A\$/ =~ str - doesn't register an error for /\A\D/ =~ str + doesn't register an error for /\A\w/ =~ str + autocorrects str.match /\A\^/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ + autocorrects /\A\q.match str/ doesn't register an error for /\A\A/ =~ str - doesn't register an error for /\A?/.match str + doesn't register an error for str.match /\A\G/ + autocorrects /\A\o.match? str/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects str.match /\A\i/ - doesn't register an error for str.match /\A\d/ - doesn't register an error for /\A\S/.match? str - autocorrects str.match /\A\f/ - autocorrects /\A\t.match str/ - doesn't register an error for /\A\h/ =~ str - doesn't register an error for /\A*/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ + autocorrects /\A\i.match? str/ + doesn't register an error for /\A$/.match? str + autocorrects str.match /\A\|/ + doesn't register an error for /\A\B/ =~ str + autocorrects /\A\v =~ str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects str.match /\A\m/ + doesn't register an error for str =~ /\A\X/ + doesn't register an error for str.match /\A\W/ + autocorrects str.match? /\A\f/ + doesn't register an error for str.match? /\A$/ + doesn't register an error for /\A|/.match? str + autocorrects /\A\e =~ str/ + autocorrects /\Aabc/.match? str + autocorrects str.match /\A\r/ + doesn't register an error for /\A\W/.match str + formats the error message correctly for /\Aabc/.match str + doesn't register an error for str =~ /\A\W/ + doesn't register an error for str.match? /\A\B/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects /\A\j =~ str/ - autocorrects str.match /\A\\/ - doesn't register an error for str.match /\A\z/ - doesn't register an error for /\A\h/.match? str + autocorrects str.match? /\A\j/ + autocorrects str.match? /\A\\/ + doesn't register an error for str.match /\A\S/ + autocorrects str =~ /\A\e/ + doesn't register an error for str.match? /\A\Z/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects /\A\l.match str/ - autocorrects str.match /\A\$/ - doesn't register an error for str =~ /\A\G/ - doesn't register an error for str.match /\A\w/ - autocorrects str =~ /\A\?/ - autocorrects str.match /\A\./ - doesn't register an error for /\A\z/ =~ str - doesn't register an error for str.match? /\A\X/ - doesn't register an error for str =~ /\A./ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects /\A\y.match str/ + autocorrects str.match? /\A\l/ + doesn't register an error for str.match? /\A\D/ + doesn't register an error for /\A|/ =~ str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects str.match /\A\y/ + doesn't register an error for str.match /\A\H/ + autocorrects /\A\\/.match? str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects /\A\y =~ str/ + autocorrects str =~ /\A\y/ + doesn't register an error for str.match? /\A\d/ + doesn't register an error for str =~ /\A./ + autocorrects str.match /\A\?/ + autocorrects str.match? /\A\./ + autocorrects /\A\*/.match str + autocorrects /\A\\/ =~ str + doesn't register an error for str =~ /\A\w/ + doesn't register an error for str.match /\A$/ + autocorrects /\A\./.match str + doesn't register an error for /\A\s/.match str + autocorrects /^abc/.match str + autocorrects str.match? /\Aabc/ doesn't register an error for str =~ /\A\s/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects str =~ /\A\j/ - autocorrects /\A\r.match str/ - formats the error message correctly for /\Aabc/ =~ str - doesn't register an error for str =~ /\A\H/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects str.match /\A\y/ + doesn't register an error for /\A^/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects str =~ /\A\i/ + doesn't register an error for str.match? /\A*/ + allows match without a receiver + doesn't register an error for str.match /\A\X/ + doesn't register an error for /\A./ =~ str + doesn't register an error for /\A\d/.match? str + autocorrects str =~ /\A\|/ doesn't register an error for /\A\W/.match? str - doesn't register an error for str =~ /\A\w/ - autocorrects /^abc/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects /\A\q.match? str/ - autocorrects /\Aabc/ =~ str - autocorrects str.match? /\A\r/ - autocorrects str =~ /\A\o/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects /\A\l =~ str/ - autocorrects /\A\*/ =~ str + doesn't register an error for str.match /\A\z/ + doesn't register an error for str.match? /\A\G/ + formats the error message correctly for str.match? /\Aabc/ + doesn't register an error for str.match? /\A|/ + doesn't register an error for str =~ /\A\G/ + doesn't register an error for /\A\d/ =~ str + autocorrects str.match? /^abc/ + autocorrects str.match? /\A\v/ + doesn't register an error for str.match? /\A\S/ + autocorrects /\A\f.match str/ + doesn't register an error for /\A^/.match? str + autocorrects str.match? /\A\|/ + formats the error message correctly for str.match /\Aabc/ + autocorrects str.match /\A\t/ + doesn't register an error for str =~ /\A?/ + doesn't register an error for str.match /\A\s/ + doesn't register an error for str.match? /\A^/ + autocorrects /\A\?/ =~ str + doesn't register an error for str.match? /\A\S/ + autocorrects str =~ /^abc/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ autocorrects str =~ /\A\m/ - autocorrects str.match /\A\|/ - formats the error message correctly for /\Aabc/.match? str - formats the error message correctly for /\Aabc/.match str + autocorrects str.match? /\A\$/ + autocorrects /\A\*/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects /\A\y.match? str/ + doesn't register an error for /\A|/.match str + autocorrects /\A\f =~ str/ + autocorrects /\A\\/.match str + doesn't register an error for str.match /\A\R/ + doesn't register an error for str.match /\A?/ + autocorrects /^abc/.match? str + doesn't register an error for str =~ /\A$/ + doesn't register an error for /\A\S/.match str + doesn't register an error for /\A\s/ =~ str + autocorrects /\Aabc/ =~ str doesn't register an error for /\A\b/.match? str + autocorrects /\A\a.match? str/ + autocorrects str.match /\A\v/ + autocorrects str.match? /\A\t/ + doesn't register an error for /\A\D/ =~ str + doesn't register an error for /\A\S/.match? str + autocorrects /\A\t.match? str/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ autocorrects /\A\j.match? str/ - doesn't register an error for str.match? /\A*/ - formats the error message correctly for str.match /\Aabc/ + doesn't register an error for /\A\z/.match str + doesn't register an error for str.match? /\A\W/ doesn't register an error for /\A\S/.match str + autocorrects str =~ /\A\./ autocorrects str =~ /\A\\/ - doesn't register an error for str.match /\A\B/ - doesn't register an error for /\A$/.match str - autocorrects str.match /\A\t/ - doesn't register an error for str.match? /\A\z/ - allows match without a receiver - doesn't register an error for /\A\s/ =~ str + doesn't register an error for /\A\D/.match str + doesn't register an error for /\A\S/ =~ str + doesn't register an error for /\A^/.match str + autocorrects str.match /\A\o/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ + autocorrects /\A\y =~ str/ + autocorrects /\A\o =~ str/ + autocorrects /\A\?/.match str + doesn't register an error for str.match /\A|/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ autocorrects str.match? /\A\i/ - doesn't register an error for /\A*/.match str - autocorrects str =~ /\A\a/ - autocorrects str.match /\Aabc/ - doesn't register an error for /\A\X/.match? str - doesn't register an error for str =~ /\A\D/ - autocorrects /\A\a.match? str/ - autocorrects /\A\?/.match str - autocorrects /\A\./.match str - doesn't register an error for /\A\R/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects /\A\m =~ str/ - doesn't register an error for str =~ /\A?/ - doesn't register an error for /\A\s/.match? str - doesn't register an error for str.match /\A\s/ - doesn't register an error for str.match? /\A\b/ - doesn't register an error for /\A*/.match? str + doesn't register an error for /\A?/.match? str + autocorrects /\Aabc/.match str + doesn't register an error for /\A\D/.match? str + autocorrects str.match? /\A\a/ + autocorrects str =~ /\A\r/ + doesn't register an error for /\A\h/.match? str autocorrects /\A\$/.match? str - doesn't register an error for str.match /\A\H/ - autocorrects str.match /\A\?/ - autocorrects /\A\^/.match str - doesn't register an error for str =~ /\A\S/ - autocorrects /\A\o =~ str/ - doesn't register an error for /\A\s/.match str - doesn't register an error for /\A\W/ =~ str + autocorrects str =~ /\A\f/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ - autocorrects /\A\l.match? str/ - doesn't register an error for /\A^/.match? str - doesn't register an error for str.match /\A\R/ - doesn't register an error for /\A\d/.match str + autocorrects /\A\l.match str/ + doesn't register an error for str.match /\A\D/ + autocorrects str.match? /\A\*/ + doesn't register an error for str.match /\A\S/ + doesn't register an error for str =~ /\A\S/ + doesn't register an error for /\A\R/.match str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ - autocorrects /\A\j.match str/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ + autocorrects /\A\j =~ str/ + autocorrects /\A\?/.match? str + doesn't register an error for /\A\Z/.match str + autocorrects /\A\o.match str/ + autocorrects /\A\e.match str/ + doesn't register an error for /\A?/ =~ str + doesn't register an error for /\A\d/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ + autocorrects str =~ /\A\q/ + doesn't register an error for /\A./.match str + doesn't register an error for str.match? /\A\s/ + autocorrects /\A\a =~ str/ + autocorrects str.match /\A\f/ + doesn't register an error for /\A\H/.match str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\A\y/ - autocorrects str.match? /\A\y/ - doesn't register an error for str.match? /\A\R/ - autocorrects /\A\\/.match str - doesn't register an error for str.match? /\A\d/ - autocorrects /\A\r.match? str/ - doesn't register an error for str.match /\A\G/ - autocorrects /\A\r =~ str/ - autocorrects str.match? /\Aabc/ - doesn't register an error for /\A|/.match? str - autocorrects /\A\e.match? str/ - autocorrects /\A\|/.match str - autocorrects str =~ /\A\./ - doesn't register an error for /\A\X/ =~ str - autocorrects str =~ /\A\^/ - autocorrects str =~ /\A\t/ - doesn't register an error for str.match /\A^/ - doesn't register an error for /\A\G/.match? str - doesn't register an error for str =~ /\A\W/ - doesn't register an error for /\A\Z/ =~ str - autocorrects str.match? /\A\o/ - autocorrects /^abc/.match str - doesn't register an error for str.match /\A?/ - autocorrects /\A\v =~ str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects /\A\m.match str/ - autocorrects /\A\f.match? str/ - autocorrects /\Aabc/.match? str - autocorrects /\A\e =~ str/ - doesn't register an error for str =~ /\A\Z/ + autocorrects /\A\y.match str/ + doesn't register an error for str.match /\A\A/ doesn't register an error for /\A\h/.match str - doesn't register an error for /\A\d/.match? str - autocorrects str.match? /^abc/ - doesn't register an error for /\A\H/.match? str - doesn't register an error for /\A|/ =~ str - autocorrects str.match? /\A\^/ - autocorrects str.match? /\A\|/ - autocorrects /\A\^/.match? str - doesn't register an error for /\A./.match str - autocorrects /\A\v.match? str/ - doesn't register an error for /\A\b/ =~ str - doesn't register an error for str.match? /\A\H/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects /\A\q =~ str/ + doesn't register an error for /\A\S/ =~ str + doesn't register an error for str.match /\A\d/ + doesn't register an error for /\A\z/ =~ str + doesn't register an error for /\A\A/.match? str /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ autocorrects str =~ /\A\l/ - doesn't register an error for /\A\B/ =~ str - autocorrects /\A\a.match str/ - doesn't register an error for str =~ /\A\A/ - autocorrects str.match? /\A\t/ - doesn't register an error for /\A?/ =~ str - doesn't register an error for str.match? /\A\D/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ - autocorrects /\A\i =~ str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\A\q/ - autocorrects str =~ /\A\q/ - doesn't register an error for str =~ /\A\R/ - doesn't register an error for str =~ /\A\b/ - doesn't register an error for /\A\G/.match str - doesn't register an error for /\A./.match? str + doesn't register an error for str.match /\A\h/ + autocorrects str.match? /\A\?/ + autocorrects str.match /^abc/ + doesn't register an error for /\A?/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ + autocorrects str.match /\A\j/ + autocorrects /\A\v.match str/ + doesn't register an error for /\A\z/.match? str + doesn't register an error for /\A\G/.match? str + doesn't register an error for str =~ /\A^/ + autocorrects /\A\r.match? str/ + autocorrects /\A\f.match? str/ + autocorrects str.match /\Aabc/ + autocorrects str.match /\A\e/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\A\j/ + autocorrects /\A\j.match str/ + doesn't register an error for /\A$/.match str + autocorrects /\A\./.match? str + autocorrects str =~ /\A\o/ /usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ - autocorrects str.match /\A\m/ + autocorrects str.match? /\A\m/ + doesn't register an error for /\A\S/.match? str + doesn't register an error for str.match? /\A\h/ + doesn't register an error for str.match? /\A?/ + doesn't register an error for /\A\R/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\A\m/ + autocorrects /\A\m =~ str/ + autocorrects str =~ /\A\v/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\A\i/ + autocorrects str.match /\A\i/ + autocorrects str.match? /\A\r/ + autocorrects /\A\|/ =~ str + autocorrects /\A\r.match str/ + doesn't register an error for str =~ /\A\A/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\A\l/ + autocorrects /\A\l.match? str/ + doesn't register an error for /\A\Z/ =~ str + autocorrects str =~ /\A\a/ + doesn't register an error for str =~ /\A\z/ doesn't register an error for str =~ /\A|/ - doesn't register an error for /\A$/.match? str - doesn't register an error for /\A|/.match str - doesn't register an error for /\A\w/.match str - doesn't register an error for /\A\A/.match str - -RuboCop::Cop::Performance::RedundantMatch - does not register an offense when match has a block - does not register an error when return value of .match is passed to another method - does not register an error when there is no receiver to the match call - does not register an error when return value of .match is returned from surrounding method - autocorrects .match in if condition - formats error message correctly for something if str.match(/regex/) - autocorrects .match in unless condition - autocorrects .match in while condition - autocorrects .match in until condition - does not register an error when return value of .match is stored in an instance variable - autocorrects .match in method body (but not tail position) - does not autocorrect if .match has a string agrgument - -RuboCop::Cop::Performance::RedundantMerge - autocorrects hash.merge!(a: 1) - does not register an offense when using an empty hash argument - autocorrects hash.merge!("abc" => "value") - formats the error message correctly for hash.merge!(a: 1) - doesn't register an error when return value is used - when code is indented, and there is more than 1 pair - indents the autocorrected code properly - when there is a modifier while, and more than 1 pair - autocorrects it to an while block - when original code was indented - maintains proper indentation - when there is a modifier if, and more than 1 pair - autocorrects it to an if block - when original code was indented - maintains proper indentation - when receiver is a method call - doesn't autocorrect hash.merge!(a: 1, b: 2) - when there is a modifier unless, and more than 1 pair - autocorrects it to an unless block - when original code was indented - maintains proper indentation - when receiver is a local variable - autocorrects hash.merge!(a: 1, b: 2) - with MaxKeyValuePairs of 1 - doesn't register errors for multi-value hash merges - when MaxKeyValuePairs is set to nil - does not raise `TypeError` - when internal to each_with_object - autocorrects when the receiver is the object being built - autocorrects when receiver uses element reference to the object built by each_with_object - autocorrects when the receiver is the object being built when merge! is not the last statement - autocorrects when receiver uses multiple element references to the object built by each_with_object - autocorrects when the receiver is the object being built when merge! is the last statement - does not register an offense when merge! is being assigned inside each_with_object - autocorrects merge! called on any method on the object built by each_with_object - when there is a modifier until, and more than 1 pair - autocorrects it to an until block - when original code was indented - maintains proper indentation - when any argument is a double splat - does not register an offense when the only argument is adouble splat - does not register an offense when there are multiple arguments and at least one is a double splat - when receiver is implicit - doesn't autocorrect - -RuboCop::Cop::Performance::TimesMap - behaves like map_or_collect - .times.collect - for non-literal receiver - registers an offense - with an explicitly passed block - registers an offense - auto-corrects - called on nothing - doesn't register an offense - with a block - auto-corrects - registers an offense - without a block - doesn't register an offense - behaves like map_or_collect - .times.map - without a block - doesn't register an offense - with an explicitly passed block - registers an offense - auto-corrects - called on nothing - doesn't register an offense - for non-literal receiver - registers an offense - with a block - auto-corrects - registers an offense - -RuboCop::Cop::Performance::RedundantStringChars - registers an offense and corrects when using `str.chars.first` - registers an offense and corrects when using `str.chars.drop(2)` - registers an offense and corrects when using `str.chars.last` - registers an offense and corrects when using `str.chars.last(2)` - registers an offense and corrects when using `str.chars.take(2)` - registers an offense and corrects when using `str.chars.size` - registers an offense and corrects when using `str.chars.length` - registers an offense and corrects when using `str.chars.empty?` - registers an offense and corrects when using `str.chars.first(2)` - does not register an offense when using `str.chars.max` - registers an offense and corrects when using `str.chars.slice(0..2)` - registers an offense and corrects when using `str.chars[0..2]` + doesn't register an error for /\A\X/ =~ str + autocorrects /\A\^/ =~ str -RuboCop::Cop::Performance::UriDefaultParser - autocorrects `::URI::DEFAULT_PARSER` - autocorrects `URI::DEFAULT_PARSER` - registers an offense when using `::URI::Parser.new` - registers an offense when using `URI::Parser.new` +RuboCop::Cop::Performance::EndWith + when `SafeMultiline: true` + does not register an offense using `$` as ending pattern + when `SafeMultiline: false` + autocorrects /\f\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects /\m\z/.match? str + autocorrects str.match /abc$/ + autocorrects /\n\z/.match str + autocorrects str =~ /\n\z/ + autocorrects str.match /\\\z/ + autocorrects /\t\z/ =~ str + doesn't register an error for /\B\z/.match? str + doesn't register an error for /\d\z/.match str + autocorrects str.match? /\t\z/ + autocorrects /\t\z/.match? str + autocorrects str.match? /\|\z/ + doesn't register an error for /\w\z/.match? str + autocorrects /\|\z/ =~ str + autocorrects str =~ /abc$/ + doesn't register an error for /\D\z/.match str + doesn't register an error for str.match /\B\z/ + autocorrects str.match /\|\z/ + autocorrects str =~ /\e\z/ + doesn't register an error for str =~ /\H\z/ + formats the error message correctly for /abc\z/ =~ str + doesn't register an error for str.match? /\D\z/ + doesn't register an error for /^\z/.match? str + autocorrects /\$\z/ =~ str + doesn't register an error for str.match /|\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects /\i\z/.match? str + autocorrects str =~ /abc\z/ + doesn't register an error for str =~ /\Z\z/ + doesn't register an error for str.match /$\z/ + doesn't register an error for str.match? /\S\z/ + doesn't register an error for /\S\z/.match str + doesn't register an error for str.match /\z\z/ + doesn't register an error for /\D\z/ =~ str + doesn't register an error for str.match /\H\z/ + doesn't register an error for str =~ /\R\z/ + doesn't register an error for str =~ /\h\z/ + doesn't register an error for /\W\z/ =~ str + doesn't register an error for str.match /\A\z/ + doesn't register an error for /\G\z/ =~ str + autocorrects str =~ /\^\z/ + autocorrects /\r\z/.match? str + autocorrects /abc$/.match? str + doesn't register an error for /\S\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects /\y\z/ =~ str + doesn't register an error for /.\z/.match str + doesn't register an error for /\Z\z/.match? str + autocorrects str.match? /\r\z/ + doesn't register an error for /\S\z/.match? str + doesn't register an error for str.match? /\Z\z/ + doesn't register an error for /\H\z/.match str + doesn't register an error for /$\z/.match? str + autocorrects /\^\z/.match? str + autocorrects /\\\z/.match? str + doesn't register an error for str.match /\D\z/ + doesn't register an error for str.match? /$\z/ + autocorrects /\^\z/.match str + formats the error message correctly for str.match? /abc\z/ + autocorrects /abc\z/.match str + autocorrects str.match? /abc$/ + autocorrects str.match? /\a\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects /\j\z/.match? str + doesn't register an error for str =~ /\s\z/ + doesn't register an error for /|\z/.match str + doesn't register an error for /\R\z/.match str + doesn't register an error for str.match? /\G\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects str =~ /\i\z/ + autocorrects str.match /abc\z/ + doesn't register an error for /\G\z/.match? str + doesn't register an error for /\b\z/ =~ str + doesn't register an error for str.match? /\d\z/ + doesn't register an error for str.match? /\W\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects /\q\z/.match str + doesn't register an error for /^\z/.match str + autocorrects /\^\z/ =~ str + formats the error message correctly for /abc\z/.match? str + doesn't register an error for str =~ /\z\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects str.match? /\l\z/ + doesn't register an error for str =~ /\B\z/ + doesn't register an error for /\W\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects str =~ /\y\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects str =~ /\q\z/ + doesn't register an error for /^\z/ =~ str + doesn't register an error for /\z\z/.match str + doesn't register an error for str.match /\S\z/ + autocorrects str.match /\f\z/ + doesn't register an error for str.match /\h\z/ + doesn't register an error for str =~ /\w\z/ + autocorrects str.match? /\f\z/ + autocorrects /\a\z/.match? str + doesn't register an error for /\z\z/ =~ str + doesn't register an error for /\h\z/.match str + autocorrects str.match? /abc\z/ + doesn't register an error for /\w\z/ =~ str + autocorrects str.match /\t\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects str.match? /\j\z/ + doesn't register an error for /\s\z/.match? str + autocorrects /\v\z/.match? str + autocorrects /\t\z/.match str + doesn't register an error for str.match /\d\z/ + doesn't register an error for /\X\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects str.match? /\y\z/ + autocorrects str.match /\r\z/ + autocorrects /\v\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects str.match /\j\z/ + autocorrects /\r\z/.match str + doesn't register an error for /.\z/.match? str + autocorrects str.match /\v\z/ + autocorrects str.match /\n\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects str.match /\y\z/ + autocorrects str =~ /\r\z/ + autocorrects str =~ /\o\z/ + formats the error message correctly for str.match /abc\z/ + doesn't register an error for /\A\z/.match str + doesn't register an error for str.match /.\z/ + autocorrects str.match? /\n\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects /\j\z/ =~ str + doesn't register an error for str.match /\s\z/ + autocorrects str.match? /\v\z/ + doesn't register an error for /\R\z/.match? str + doesn't register an error for str.match? /\R\z/ + doesn't register an error for str.match? /\X\z/ + autocorrects /\.\z/ =~ str + doesn't register an error for str.match? /\z\z/ + doesn't register an error for /\h\z/ =~ str + autocorrects /\a\z/ =~ str + doesn't register an error for /\s\z/.match str + formats the error message correctly for /abc\z/.match str + autocorrects /abc$/.match str + doesn't register an error for /\B\z/.match str + doesn't register an error for /\A\z/ =~ str + autocorrects str =~ /\t\z/ + autocorrects /\o\z/.match str + autocorrects /\$\z/.match? str + autocorrects str =~ /\v\z/ + doesn't register an error for str.match? /.\z/ + doesn't register an error for str =~ /\S\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects str.match /\m\z/ + autocorrects str.match /\a\z/ + doesn't register an error for str.match? /\b\z/ + doesn't register an error for str =~ /\G\z/ + doesn't register an error for str =~ /^\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects /\m\z/ =~ str + doesn't register an error for /\d\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects /\l\z/.match? str + doesn't register an error for str =~ /|\z/ + doesn't register an error for /\b\z/.match? str + autocorrects /\e\z/ =~ str + autocorrects /\.\z/.match? str + doesn't register an error for /\R\z/ =~ str + doesn't register an error for /\W\z/.match str + doesn't register an error for str =~ /\d\z/ + doesn't register an error for /|\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects str.match? /\i\z/ + autocorrects /\f\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects str.match /\q\z/ + doesn't register an error for str.match? /\h\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects str =~ /\l\z/ + autocorrects /\|\z/.match? str + doesn't register an error for /\b\z/.match str + autocorrects str.match? /\^\z/ + doesn't register an error for str.match /\b\z/ + doesn't register an error for /\z\z/.match? str + doesn't register an error for /\G\z/.match str + autocorrects /\\\z/.match str + doesn't register an error for str =~ /\S\z/ + doesn't register an error for /.\z/ =~ str + doesn't register an error for str.match? /\s\z/ + doesn't register an error for str.match? /\A\z/ + doesn't register an error for /\X\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects /\m\z/.match str + doesn't register an error for /$\z/.match str + doesn't register an error for str.match /\w\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects /\j\z/.match str + autocorrects /\\\z/ =~ str + autocorrects str =~ /\.\z/ + doesn't register an error for /\X\z/ =~ str + doesn't register an error for /\d\z/ =~ str + autocorrects /\e\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects str.match /\l\z/ + allows match without a receiver + doesn't register an error for /\B\z/ =~ str + autocorrects str.match? /\e\z/ + doesn't register an error for /\H\z/.match? str + autocorrects str.match /\t\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects str.match /\i\z/ + doesn't register an error for str.match /\R\z/ + formats the error message correctly for str =~ /abc\z/ + doesn't register an error for /\s\z/ =~ str + doesn't register an error for /\S\z/.match str + doesn't register an error for str.match? /\w\z/ + doesn't register an error for str =~ /.\z/ + autocorrects str =~ /\f\z/ + autocorrects str =~ /\a\z/ + doesn't register an error for str.match /\S\z/ + doesn't register an error for /\w\z/.match str + doesn't register an error for /$\z/ =~ str + autocorrects /\v\z/.match str + autocorrects str =~ /\|\z/ + autocorrects str.match /\$\z/ + autocorrects str.match /\e\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects /\l\z/.match str + doesn't register an error for /\H\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ + autocorrects /\l\z/ =~ str + doesn't register an error for str =~ /\D\z/ + autocorrects /\o\z/.match? str + doesn't register an error for /\Z\z/ =~ str + autocorrects /\f\z/.match str + autocorrects /\.\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects /\y\z/.match str + autocorrects str.match? /\$\z/ + doesn't register an error for /\S\z/ =~ str + doesn't register an error for str.match? /\S\z/ + doesn't register an error for /\A\z/.match? str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects str =~ /\m\z/ + doesn't register an error for str.match? /^\z/ + autocorrects /\a\z/.match str + autocorrects str.match /\^\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ + autocorrects str.match? /\m\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ + autocorrects /\y\z/.match? str + doesn't register an error for str.match? /\H\z/ + doesn't register an error for str =~ /\b\z/ + autocorrects /\n\z/ =~ str + doesn't register an error for str.match? /|\z/ + autocorrects str.match? /\o\z/ + doesn't register an error for str.match? /\B\z/ + autocorrects /\t\z/ =~ str + autocorrects /\t\z/.match? str + autocorrects str.match /\o\z/ + autocorrects /\t\z/.match str + autocorrects str.match /\.\z/ + doesn't register an error for str =~ /\W\z/ + doesn't register an error for /|\z/.match? str + autocorrects str.match? /\.\z/ + doesn't register an error for str.match /\G\z/ + doesn't register an error for str =~ /$\z/ + autocorrects /\r\z/ =~ str + autocorrects /abc$/ =~ str + doesn't register an error for str.match /\W\z/ + doesn't register an error for str.match /^\z/ + autocorrects /\e\z/.match str + doesn't register an error for /\h\z/.match? str + autocorrects str =~ /\t\z/ + doesn't register an error for str.match /\Z\z/ + autocorrects /\$\z/.match str + autocorrects str =~ /\\\z/ + doesn't register an error for /\S\z/ =~ str + doesn't register an error for str =~ /\A\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects /\i\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects /\q\z/.match? str + autocorrects str =~ /\$\z/ + doesn't register an error for str =~ /\X\z/ + autocorrects str.match? /\\\z/ + doesn't register an error for /\Z\z/.match str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects /\q\z/ =~ str +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ + autocorrects str =~ /\j\z/ + autocorrects /\n\z/.match? str + autocorrects /\|\z/.match str + autocorrects /abc\z/ =~ str + autocorrects str.match? /\t\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ + autocorrects str.match? /\q\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ + autocorrects /\i\z/ =~ str + autocorrects /abc\z/.match? str + autocorrects /\o\z/ =~ str + doesn't register an error for str.match /\X\z/ + doesn't register an error for /\D\z/.match? str -RuboCop::Cop::Performance::RedundantSortBlock - registers an offense and corrects when sorting in direct order - does not register an offense when sorting in reverse order - does not register an offense when using `sort` - does not register an offense when sorting in direct order by some property +RuboCop::Cop::Performance::ReverseEach + registers an offense when each is called on reverse on a method call + registers an offense for a multi-line reverse.each + registers an offense when each is called on reverse on a variable + does not register an offense when each is used without reverse + registers an offense when each is called on reverse + does not register an offense when reverse is used without each + autocorrect + corrects a multi-line reverse_each + corrects reverse.each to reverse_each + corrects reverse.each to reverse_each on a variable + corrects reverse.each to reverse_each on a method call -RuboCop::Cop::Performance::RangeInclude - formats the error message correctly for (a..b).member? 1 - formats the error message correctly for (a..b).include? 1 - autocorrects (a..b).member? without parens - autocorrects (a...b).member? with parens - autocorrects (a..b).member? with parens - autocorrects (a..b).include? without parens - autocorrects (a...b).include? with parens - autocorrects (a..b).include? with parens - autocorrects (a...b).include? without parens - autocorrects (a...b).member? without parens +RuboCop::Cop::Performance::StringReplacement + accepts methods other than gsub + registers an offense when using escape characters in the pattern + registers an offense when using escape characters in the replacement + registers an offense when using gsub to find and replace a single character + registers an offense when the pattern has non deterministic regex as a string + registers an offense for gsub! when deleting one characters + registers an offense when using gsub! to find and replace a single character + deterministic regex + regex literal + registers an offense when replacing ! with a literal + registers an offense when deleting % + registers an offense when deleting \u1234 + registers an offense when replacing ` with a literal + registers an offense when replacing ' with a literal + registers an offense when deleting 3 + registers an offense when deleting 2 + registers an offense when replacing c with a literal + registers an offense when deleting c + registers an offense when replacing _ with a literal + registers an offense when deleting \\ + registers an offense when deleting = + registers an offense when replacing & with a literal + registers an offense when replacing , with a literal + registers an offense when using space + registers an offense when deleting \x65 + registers an offense when replacing " with a literal + registers an offense when deleting _ + registers an offense when replacing a with a literal + registers an offense when replacing : with a literal + registers an offense when replacing > with a literal + registers an offense when deleting a + registers an offense when replacing 1 with a literal + registers an offense when deleting - + registers an offense when replacing \\ with a literal + registers an offense when deleting \r + registers an offense when deleting 1 + registers an offense when deleting ; + allows deterministic regex when the length of the pattern and the length of the replacement do not match + registers an offense when using %r notation + registers an offense when replacing 2 with a literal + registers an offense when deleting ! + registers an offense when deleting < + registers an offense when deleting " + registers an offense when deleting : + registers an offense when replacing \r with a literal + registers an offense when replacing < with a literal + registers an offense when deleting , + registers an offense when deleting # + registers an offense when deleting ` +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + registers an offense when deleting \y + registers an offense when replacing ; with a literal + registers an offense when replacing 3 with a literal +/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ + registers an offense when replacing \y with a literal + registers an offense when replacing # with a literal + registers an offense when deleting & + registers an offense when replacing b with a literal + registers an offense when escape characters in regex + registers an offense when deleting b + registers an offense when replacing = with a literal + registers an offense when replacing \u1234 with a literal + registers an offense when deleting ~ + registers an offense when replacing ~ with a literal + registers an offense when replacing \x65 with a literal + registers an offense when deleting ' + registers an offense when replacing - with a literal + registers an offense when deleting > + registers an offense when replacing % with a literal + regex constructor + registers an offense when only using word characters + registers an offense when regex is built from regex + registers an offense when using compile + behaves like accepts + accepts calls to gsub when the length of the pattern is shorter than the length of the replacement + accepts calls to gsub when the length of the pattern is longer than the length of the replacement + non deterministic parameters + allows regex with options + allows empty regex pattern from regex + allows regex literals with options + accepts the second param being a variable + accepts gsub with only one param + allows empty string pattern + accepts gsub when the length of the pattern is greater than 1 + accepts a replacement with string interpolation + allows empty regex pattern from string + accepts the both params being a variables + accepts a pattern with string interpolation + allows empty regex literal pattern + accepts the first param being a variable + accepts gsub with a block + behaves like accepts + accepts calls to gsub when the length of the pattern is longer than the length of the replacement + accepts calls to gsub when the length of the pattern is shorter than the length of the replacement + non deterministic parameters + accepts the second param being a variable + allows empty string pattern + allows empty regex literal pattern + accepts a replacement with string interpolation + accepts the both params being a variables + accepts a pattern with string interpolation + accepts gsub when the length of the pattern is greater than 1 + accepts gsub with a block + allows empty regex pattern from regex + accepts the first param being a variable + accepts gsub with only one param + allows regex literals with options + allows regex with options + allows empty regex pattern from string + auto-correct + corrects to delete + corrects when the pattern uses Regexp.compile + corrects when the pattern uses Regexp.new + corrects when there are no brackets + corrects when deleting a single character + corrects when a regexp contains escapes + corrects when deleting an escape character + corrects when the pattern is a regex literal + corrects to tr + corrects when the replacement contains escape backslash + corrects when replacing to a single quote + corrects when the pattern is a regex literal + corrects when the replacement contains a new line character + corrects when the pattern uses Regexp.new + corrects when the pattern is a regex literal using %r + corrects when replacing to a double quote + corrects when the pattern contains double backslash + corrects when the length of the pattern and replacement are one + corrects when the pattern contains a new line character + corrects when the pattern uses Regexp.compile + non deterministic regex + allows regex containing () + allows regex containing a | + allows regex containing [] + allows regex containing a ? + allows regex containing a . + allows regex literal containing interpolations + allows regex containing a $ + allows regex containing a ^ + allows regex containing a backslash + allows regex containing a * + allows regex containing escaped () + allows regex constructor containing regex with interpolations + allows regex containing a + + allows regex containing {} + allows regex constructor containing a string with interpolations RuboCop::Cop::Performance::Casecmp behaves like selectors - autocorrects obj.upcase == str.upcase + autocorrects str.upcase == with parens around arg + autocorrects string != str.upcase + doesn't report an offense for variable == str.upcase autocorrects string.eql? str.upcase without parens - autocorrects string with parens == str.upcase - autocorrects str.upcase.eql? with parens - formats the error message correctly for str.upcase == - autocorrects == str.upcase + autocorrects string with parens and funny spacing eql? str.upcase + autocorrects str.upcase != autocorrects str.upcase.eql? without parens - autocorrects str.upcase.eql? with parens and funny spacing + formats the error message correctly for obj.upcase == str.upcase + autocorrects str.upcase != with parens around arg + autocorrects obj.upcase == str.upcase doesn't report an offense for str.upcase == variable - autocorrects str.upcase != - doesn't report an offense for str.upcase == obj.method autocorrects str.upcase == - autocorrects str.upcase == with parens around arg - autocorrects string.eql? str.upcase with parens - formats the error message correctly for == str.upcase - formats the error message correctly for obj.upcase == str.upcase - autocorrects obj.upcase eql? str.upcase + autocorrects str.upcase.eql? with parens and funny spacing + autocorrects str.upcase.eql? with parens doesn't report an offense for obj.method == str.upcase - autocorrects str.upcase != with parens around arg - autocorrects string with parens and funny spacing eql? str.upcase - doesn't report an offense for variable == str.upcase - autocorrects string != str.upcase + autocorrects obj.upcase eql? str.upcase + autocorrects string with parens == str.upcase + autocorrects == str.upcase + formats the error message correctly for == str.upcase + formats the error message correctly for str.upcase == + doesn't report an offense for str.upcase == obj.method + autocorrects string.eql? str.upcase with parens behaves like selectors - autocorrects obj.downcase == str.downcase doesn't report an offense for variable == str.downcase + formats the error message correctly for str.downcase == + autocorrects str.downcase != with parens around arg + autocorrects string with parens and funny spacing eql? str.downcase doesn't report an offense for str.downcase == obj.method - autocorrects string with parens == str.downcase - autocorrects obj.downcase eql? str.downcase - autocorrects str.downcase.eql? without parens - autocorrects str.downcase.eql? with parens and funny spacing - doesn't report an offense for obj.method == str.downcase - autocorrects str.downcase == with parens around arg - autocorrects str.downcase != autocorrects string != str.downcase + autocorrects str.downcase == autocorrects == str.downcase + formats the error message correctly for obj.downcase == str.downcase + autocorrects string with parens == str.downcase doesn't report an offense for str.downcase == variable - formats the error message correctly for str.downcase == - autocorrects string.eql? str.downcase with parens formats the error message correctly for == str.downcase autocorrects string.eql? str.downcase without parens + doesn't report an offense for obj.method == str.downcase + autocorrects str.downcase.eql? with parens and funny spacing autocorrects str.downcase.eql? with parens - autocorrects string with parens and funny spacing eql? str.downcase - formats the error message correctly for obj.downcase == str.downcase - autocorrects str.downcase != with parens around arg - autocorrects str.downcase == + autocorrects str.downcase != + autocorrects string.eql? str.downcase with parens + autocorrects str.downcase == with parens around arg + autocorrects str.downcase.eql? without parens + autocorrects obj.downcase == str.downcase + autocorrects obj.downcase eql? str.downcase -RuboCop::Cop::Performance::Squeeze - does not register an offense when using `#squeeze` - registers an offense and corrects when using `#gsub!(/a+/, 'a')` - does not register an offense when using `#squeeze!` - does not register an offense when replacement does not match pattern - registers an offense and corrects when using `#gsub(/a+/, 'a')` +RuboCop::Cop::Performance::FlatMap + configured to warn when flatten is not called with parameters + behaves like flatten_with_params_enabled + registers an offense when calling map...flatten! + will not correct map..flatten! to flat_map + behaves like flatten_with_params_enabled + will not correct collect..flatten to flat_map + registers an offense when calling collect...flatten + behaves like map_and_collect + registers an offense when calling collect(&foo).flatten!(1) + registers an offense when calling collect...flatten!(1) + corrects collect(&foo).flatten! to flat_map + does not register an offense when calling collect!...flatten! + does not register an offense when calling collect...flatten! with a number greater than 1 + registers an offense when calling collect(&:foo).flatten!(1) + corrects collect(&:foo).flatten! to flat_map + corrects collect..flatten!(1) to flat_map + behaves like flatten_with_params_enabled + will not correct collect..flatten! to flat_map + registers an offense when calling collect...flatten! + behaves like map_and_collect + corrects map(&:foo).flatten to flat_map + corrects map..flatten(1) to flat_map + does not register an offense when calling map!...flatten + registers an offense when calling map(&:foo).flatten(1) + registers an offense when calling map(&foo).flatten(1) + corrects map(&foo).flatten to flat_map + does not register an offense when calling map...flatten with a number greater than 1 + registers an offense when calling map...flatten(1) + behaves like map_and_collect + corrects map(&foo).flatten! to flat_map + registers an offense when calling map...flatten!(1) + corrects map..flatten!(1) to flat_map + registers an offense when calling map(&foo).flatten!(1) + registers an offense when calling map(&:foo).flatten!(1) + does not register an offense when calling map!...flatten! + corrects map(&:foo).flatten! to flat_map + does not register an offense when calling map...flatten! with a number greater than 1 + behaves like flatten_with_params_enabled + will not correct map..flatten to flat_map + registers an offense when calling map...flatten + behaves like map_and_collect + does not register an offense when calling collect...flatten with a number greater than 1 + corrects collect..flatten(1) to flat_map + registers an offense when calling collect(&foo).flatten(1) + corrects collect(&:foo).flatten to flat_map + registers an offense when calling collect(&:foo).flatten(1) + does not register an offense when calling collect!...flatten + registers an offense when calling collect...flatten(1) + corrects collect(&foo).flatten to flat_map + configured to only warn when flattening one level + behaves like map_and_collect + corrects map(&foo).flatten! to flat_map + registers an offense when calling map(&foo).flatten!(1) + registers an offense when calling map...flatten!(1) + does not register an offense when calling map...flatten! with a number greater than 1 + registers an offense when calling map(&:foo).flatten!(1) + corrects map(&:foo).flatten! to flat_map + corrects map..flatten!(1) to flat_map + does not register an offense when calling map!...flatten! + behaves like flatten_with_params_disabled + does not register an offense when calling collect...flatten + behaves like map_and_collect + does not register an offense when calling collect...flatten with a number greater than 1 + registers an offense when calling collect...flatten(1) + corrects collect..flatten(1) to flat_map + corrects collect(&:foo).flatten to flat_map + corrects collect(&foo).flatten to flat_map + does not register an offense when calling collect!...flatten + registers an offense when calling collect(&foo).flatten(1) + registers an offense when calling collect(&:foo).flatten(1) + behaves like map_and_collect + corrects collect..flatten!(1) to flat_map + corrects collect(&foo).flatten! to flat_map + does not register an offense when calling collect...flatten! with a number greater than 1 + registers an offense when calling collect(&:foo).flatten!(1) + corrects collect(&:foo).flatten! to flat_map + registers an offense when calling collect(&foo).flatten!(1) + registers an offense when calling collect...flatten!(1) + does not register an offense when calling collect!...flatten! + behaves like flatten_with_params_disabled + does not register an offense when calling map...flatten + behaves like flatten_with_params_disabled + does not register an offense when calling map...flatten! + behaves like map_and_collect + does not register an offense when calling map!...flatten + registers an offense when calling map(&:foo).flatten(1) + corrects map..flatten(1) to flat_map + registers an offense when calling map(&foo).flatten(1) + corrects map(&:foo).flatten to flat_map + registers an offense when calling map...flatten(1) + corrects map(&foo).flatten to flat_map + does not register an offense when calling map...flatten with a number greater than 1 + behaves like flatten_with_params_disabled + does not register an offense when calling collect...flatten! RuboCop::Cop::Performance::RegexpMatch - registers an offense when a regexp used independently with a regexp used in `if` are mixed - accepts String#match? method call accepts match without explicit regexp/str/sym use accepts match without arguments - accepts Regexp#match? method call accepts =~ with assignment + accepts String#match? method call + registers an offense when a regexp used independently with a regexp used in `if` are mixed + accepts Regexp#match? method call behaves like all legacy match methods - registers an offense for matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in method before `$100` - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + accepts Regexp#match method call with position in method with Regexp.last_match + corrects Regexp#match method call with position in if guard condition with $100 is used in another method + corrects Regexp#match method call with position in if guard condition with Regexp.last_match is used in another method + registers an offense for Regexp#match method call with position in method before `$1` + accepts Regexp#match method call with position in method with $~ in block + corrects Regexp#match method call with position in class, `$~` is in method + corrects Regexp#match method call with position in method before `$`` + registers an offense for Regexp#match method call with position in module, `$'` is in method + registers an offense for Regexp#match method call with position, $MATCH reference is overrided + accepts Regexp#match method call with position in guard condition with $1 is used in the line after that + accepts Regexp#match method call with position in method with $~ before unless + corrects Regexp#match method call with position, $2 reference is overrided + registers an offense for Regexp#match method call with position in module, `$MATCH` is in method + accepts Regexp#match method call with position in guard condition with $MATCH is used in the line after that + accepts Regexp#match method call with position in method with $2 in block + accepts Regexp#match method call with position in method with Regexp.last_match before unless + corrects Regexp#match method call with position in class, `$&` is in method + corrects Regexp#match method call with position in method before `$100` + accepts Regexp#match method call with position in method with $' in block + accepts Regexp#match method call with position in a class method with $MATCH + corrects Regexp#match method call with position in method before `$MATCH` + corrects Regexp#match method call with position in method, `$`` is in other method + corrects Regexp#match method call with position in method before `Regexp.last_match` + registers an offense for Regexp#match method call with position in module, `$&` is in method + corrects Regexp#match method call with position in unless condition + corrects Regexp#match method call with position in method before `$'` + registers an offense for Regexp#match method call with position, $100 reference is overrided + corrects Regexp#match method call with position in module, `$'` is in method + registers an offense for Regexp#match method call with position in module, `$100` is in method + accepts Regexp#match method call with position in method with $~ + registers an offense for Regexp#match method call with position in method, `Regexp.last_match(1)` is in other method + registers an offense for Regexp#match method call with position in method, `$`` is in other method + corrects Regexp#match method call with position in if guard condition with $~ is used in another method + accepts Regexp#match method call with position in method with $100 before if + accepts Regexp#match method call with position in method with Regexp.last_match(1) before unless + registers an offense for Regexp#match method call with position in module, `$~` is in method + registers an offense for Regexp#match method call with position in class method, `Regexp.last_match` is in other method + accepts Regexp#match method call with position in method with $2 before if + corrects Regexp#match method call with position in module, `Regexp.last_match(1)` is in method + corrects Regexp#match method call with position in if condition + corrects Regexp#match method call with position in if guard condition with $1 is used in another method + registers an offense for Regexp#match method call with position in class method, `$'` is in other method + corrects Regexp#match method call with position, $& reference is overrided + corrects Regexp#match method call with position in class, `$'` is in method + registers an offense for Regexp#match method call with position in method before `$~` + corrects Regexp#match method call with position in class method, `$MATCH` is in other method + corrects Regexp#match method call with position in method before `$&` + registers an offense for Regexp#match method call with position in if guard condition with $1 is used in another method + accepts Regexp#match method call with position in method with $` + accepts Regexp#match method call with position in method with $2 before unless + corrects Regexp#match method call with position in method, `$MATCH` is in other method + corrects Regexp#match method call with position in method, `$1` is in other method + corrects Regexp#match method call with position, $MATCH reference is overrided + registers an offense for Regexp#match method call with position in if guard condition with $100 is used in another method + accepts Regexp#match method call with position in method with Regexp.last_match(1) in block + accepts Regexp#match method call with position in guard condition with $' is used in the line after that + accepts Regexp#match method call with position in method with $~ before if + registers an offense for Regexp#match method call with position in class, `$'` is in method + registers an offense for Regexp#match method call with position in class, `$~` is in method + accepts Regexp#match method call with position in method with $' + registers an offense for Regexp#match method call with position, Regexp.last_match(1) reference is overrided + corrects Regexp#match method call with position in if guard condition with $' is used in another method + registers an offense for Regexp#match method call with position, $~ reference is overrided + registers an offense for Regexp#match method call with position in if guard condition with $MATCH is used in another method + corrects Regexp#match method call with position in method, `Regexp.last_match` is in other method + registers an offense for Regexp#match method call with position, $& reference is overrided + registers an offense for Regexp#match method call with position, $' reference is overrided + corrects Regexp#match method call with position in method, `$100` is in other method + registers an offense for Regexp#match method call with position in if guard condition with $~ is used in another method + accepts Regexp#match method call with position in guard condition with $` is used in the line after that + corrects Regexp#match method call with position in if guard condition with $& is used in another method + accepts Regexp#match method call with position in method with $& in block + accepts Regexp#match method call with position in guard condition with $100 is used in the line after that + corrects Regexp#match method call with position in elsif condition + accepts Regexp#match method call with position in method with $100 + registers an offense for Regexp#match method call with position in if guard condition with Regexp.last_match(1) is used in another method + accepts Regexp#match method call with position in a class method with $100 + corrects Regexp#match method call with position in module, `$&` is in method + registers an offense for Regexp#match method call with position in module, `Regexp.last_match` is in method + corrects Regexp#match method call with position in method definition + corrects Regexp#match method call with position in class method, `$2` is in other method + accepts Regexp#match method call with position in method with $1 before if + corrects Regexp#match method call with position in module, `Regexp.last_match` is in method + corrects Regexp#match method call with position in class, `$1` is in method + corrects Regexp#match method call with position in unless condition + registers an offense for Regexp#match method call with position, Regexp.last_match reference is overrided + corrects Regexp#match method call with position in class method, `$100` is in other method + accepts Regexp#match method call with position in method with $' before unless + registers an offense for Regexp#match method call with position in module, `$2` is in method + registers an offense for Regexp#match method call with position, $1 reference is overrided + accepts Regexp#match method call with position in method with $& + registers an offense for Regexp#match method call with position in method, `$1` is in other method + registers an offense for Regexp#match method call with position in class, `Regexp.last_match` is in method + corrects Regexp#match method call with position, $1 reference is overrided + corrects Regexp#match method call with position in module, `$~` is in method + registers an offense for Regexp#match method call with position in if condition + registers an offense for Regexp#match method call with position in class, `Regexp.last_match(1)` is in method + accepts Regexp#match method call with position in method with $MATCH in block + accepts Regexp#match method call with position in method with Regexp.last_match(1) + corrects Regexp#match method call with position in if condition + accepts Regexp#match method call with position in method with $` before if + corrects Regexp#match method call with position in if guard condition with $` is used in another method + corrects Regexp#match method call with position in module, `$100` is in method + corrects Regexp#match method call with position, $` reference is overrided + corrects Regexp#match method call with position, Regexp.last_match reference is overrided + accepts Regexp#match method call with position in method with $` before unless + registers an offense for Regexp#match method call with position in method before `$&` + corrects Regexp#match method call with position, $~ reference is overrided + accepts Regexp#match method call with position in method with $1 in block + corrects Regexp#match method call with position in method, `Regexp.last_match(1)` is in other method + registers an offense for Regexp#match method call with position in method before `$MATCH` + accepts Regexp#match method call with position in a class method with $~ + accepts Regexp#match method call with position in method with $& before if + corrects Regexp#match method call with position in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for Regexp#match method call with position in module, `$1` is in method + corrects Regexp#match method call with position in class, `$MATCH` is in method + corrects Regexp#match method call with position in class method, `Regexp.last_match(1)` is in other method + registers an offense for Regexp#match method call with position in method, `$2` is in other method + accepts Regexp#match method call with position in method with Regexp.last_match(1) before if + accepts Regexp#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for Regexp#match method call with position in ternary operator + registers an offense for Regexp#match method call with position in method before `$100` + registers an offense for Regexp#match method call with position in method, `$&` is in other method + corrects Regexp#match method call with position in class, `Regexp.last_match(1)` is in method + registers an offense for Regexp#match method call with position in method definition + corrects Regexp#match method call with position in case condition + registers an offense for Regexp#match method call with position in class, `$MATCH` is in method + accepts Regexp#match method call with position in method with $` in block + registers an offense for Regexp#match method call with position in class method, `Regexp.last_match(1)` is in other method + registers an offense for Regexp#match method call with position in module, `Regexp.last_match(1)` is in method + corrects Regexp#match method call with position in class method, `$1` is in other method + corrects Regexp#match method call with position in class method, `$`` is in other method + accepts Regexp#match method call with position in method with $100 before unless + accepts Regexp#match method call with position in method with Regexp.last_match before if + accepts Regexp#match method call with position in method with $MATCH before if + registers an offense for Regexp#match method call with position in class method, `$1` is in other method + registers an offense for Regexp#match method call with position in module, `$`` is in method + registers an offense for Regexp#match method call with position in class, `$2` is in method + registers an offense for Regexp#match method call with position in method, `$100` is in other method + registers an offense for Regexp#match method call with position in unless condition + registers an offense for Regexp#match method call with position in method, `$~` is in other method + registers an offense for Regexp#match method call with position in class method, `$&` is in other method + accepts Regexp#match method call with position in guard condition with $& is used in the line after that + registers an offense for Regexp#match method call with position in class method, `$100` is in other method + corrects Regexp#match method call with position in method, `$~` is in other method + registers an offense for Regexp#match method call with position in case condition + corrects Regexp#match method call with position in class method, `$&` is in other method + corrects Regexp#match method call with position, $100 reference is overrided + corrects Regexp#match method call with position in module, `$`` is in method + registers an offense for Regexp#match method call with position in unless condition + corrects Regexp#match method call with position, $' reference is overrided + corrects Regexp#match method call with position in class, `$2` is in method + registers an offense for Regexp#match method call with position in class, `$100` is in method + corrects Regexp#match method call with position in method before `$1` + registers an offense for Regexp#match method call with position in if guard condition with $2 is used in another method + accepts Regexp#match method call with position in method with $MATCH + corrects Regexp#match method call with position, Regexp.last_match(1) reference is overrided + registers an offense for Regexp#match method call with position in method before `$'` + registers an offense for Regexp#match method call with position in method, `$'` is in other method + registers an offense for Regexp#match method call with position, $` reference is overrided + registers an offense for Regexp#match method call with position in class method, `$2` is in other method + corrects Regexp#match method call with position in class method, `$'` is in other method + corrects Regexp#match method call with position in method, `$&` is in other method + corrects Regexp#match method call with position in method before `Regexp.last_match(1)` + corrects Regexp#match method call with position in ternary operator + registers an offense for Regexp#match method call with position in class method, `$MATCH` is in other method + registers an offense for Regexp#match method call with position, $2 reference is overrided + corrects Regexp#match method call with position in method, `$2` is in other method + registers an offense for Regexp#match method call with position in method before `Regexp.last_match(1)` + corrects Regexp#match method call with position in if guard condition with $MATCH is used in another method + registers an offense for Regexp#match method call with position in method before `Regexp.last_match` + registers an offense for Regexp#match method call with position in method before `$2` + accepts Regexp#match method call with position in a class method with $& + corrects Regexp#match method call with position in method before `$~` + accepts Regexp#match method call with position in a class method with $1 + accepts Regexp#match method call with position in a class method with Regexp.last_match(1) + accepts Regexp#match method call with position in method with $& before unless + corrects Regexp#match method call with position in class method, `$~` is in other method + registers an offense for Regexp#match method call with position in class method, `$`` is in other method + registers an offense for Regexp#match method call with position in if guard condition with $' is used in another method + accepts Regexp#match method call with position in method with $1 + accepts Regexp#match method call with position in method with $1 before unless + registers an offense for Regexp#match method call with position in if guard condition with $` is used in another method + registers an offense for Regexp#match method call with position in if condition + registers an offense for Regexp#match method call with position in method, `$MATCH` is in other method + registers an offense for Regexp#match method call with position in class, `$`` is in method + registers an offense for Regexp#match method call with position in class method, `$~` is in other method + accepts Regexp#match method call with position in a class method with $' + corrects Regexp#match method call with position in module, `$2` is in method + corrects Regexp#match method call with position in method, `$'` is in other method + corrects Regexp#match method call with position in class, `Regexp.last_match` is in method + registers an offense for Regexp#match method call with position in class, `$&` is in method + accepts Regexp#match method call with position in method with $MATCH before unless + accepts Regexp#match method call with position in a class method with $2 + corrects Regexp#match method call with position in method before `$2` + accepts Regexp#match method call with position in guard condition with $2 is used in the line after that + accepts Regexp#match method call with position in guard condition with Regexp.last_match is used in the line after that + corrects Regexp#match method call with position in if guard condition with $2 is used in another method + accepts Regexp#match method call with position in method with $' before if + registers an offense for Regexp#match method call with position in if guard condition with $& is used in another method + registers an offense for Regexp#match method call with position in if guard condition with Regexp.last_match is used in another method + accepts Regexp#match method call with position in a class method with Regexp.last_match + corrects Regexp#match method call with position in module, `$MATCH` is in method + accepts Regexp#match method call with position in method with $2 + accepts Regexp#match method call with position in method with $100 in block + corrects Regexp#match method call with position in class method, `Regexp.last_match` is in other method + accepts Regexp#match method call with position in a class method with $` + accepts Regexp#match method call with position in guard condition with $~ is used in the line after that + corrects Regexp#match method call with position in class, `$100` is in method + corrects Regexp#match method call with position in class, `$`` is in method + registers an offense for Regexp#match method call with position in method, `Regexp.last_match` is in other method + accepts Regexp#match method call with position in method with Regexp.last_match in block + corrects Regexp#match method call with position in module, `$1` is in method + registers an offense for Regexp#match method call with position in elsif condition + registers an offense for Regexp#match method call with position in class, `$1` is in method + registers an offense for Regexp#match method call with position in method before `$`` + behaves like all legacy match methods + corrects matching by !~` in class method, `$~` is in other method + registers an offense for matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in method, `$~` is in other method + accepts matching by !~` in guard condition with $~ is used in the line after that + corrects matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $MATCH before unless + accepts matching by !~` in method with $' + accepts matching by !~` in a class method with $' + accepts matching by !~` in method with $1 in block + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in method with Regexp.last_match(1) + accepts matching by !~` in method with $~ in block + accepts matching by !~` in guard condition with $1 is used in the line after that + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in class method, `$&` is in other method + corrects matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in method with $MATCH + registers an offense for matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in case condition + corrects matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in method with $100 before unless + registers an offense for matching by !~` in class, `$1` is in method + corrects matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $` in block + corrects matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in method definition + accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~` in method, `$&` is in other method + corrects matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in method before `$~` + accepts matching by !~` in method with $& in block + registers an offense for matching by !~`, $100 reference is overrided + corrects matching by !~` in class method, `$`` is in other method + accepts matching by !~` in method with $1 before if + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in module, `$2` is in method + corrects matching by !~`, $~ reference is overrided + accepts matching by !~` in method with $MATCH in block + accepts matching by !~` in method with $MATCH before if + accepts matching by !~` in method with $` before unless + accepts matching by !~` in method with $1 + corrects matching by !~` in unless condition + registers an offense for matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in method before `$100` + registers an offense for matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $~ + corrects matching by !~` in method before `$~` + registers an offense for matching by !~` in method, `$'` is in other method + accepts matching by !~` in a class method with Regexp.last_match + corrects matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in method with $2 + accepts matching by !~` in method with $' in block + registers an offense for matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in module, `$`` is in method + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~` in if condition + corrects matching by !~` in case condition + registers an offense for matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in elsif condition + corrects matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in module, `$1` is in method + accepts matching by !~` in method with Regexp.last_match(1) in block + accepts matching by !~` in guard condition with $2 is used in the line after that + registers an offense for matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + accepts matching by !~` in a class method with $MATCH + accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in elsif condition + accepts matching by !~` in method with $& + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in module, `$`` is in method + corrects matching by !~` in module, `$100` is in method + corrects matching by !~` in unless condition + registers an offense for matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in method before `$MATCH` + corrects matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in method with $& before if + accepts matching by !~` in method with $100 before if + accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in method before `$&` + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in method before `$1` + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by !~` in ternary operator + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in module, `$&` is in method + corrects matching by !~` in if condition + registers an offense for matching by !~`, $1 reference is overrided + corrects matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in method, `$`` is in other method + accepts matching by !~` in method with Regexp.last_match in block + corrects matching by !~`, $' reference is overrided + accepts matching by !~` in guard condition with $& is used in the line after that + accepts matching by !~` in method with Regexp.last_match before if + registers an offense for matching by !~`, $' reference is overrided + registers an offense for matching by !~` in if condition + corrects matching by !~` in module, `$MATCH` is in method + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in method with $2 before unless + corrects matching by !~` in class, `$2` is in method + registers an offense for matching by !~` in class method, `$'` is in other method + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by !~` in method, `$100` is in other method + accepts matching by !~` in a class method with $1 + corrects matching by !~` in method before `$100` + accepts matching by !~` in method with $100 + accepts matching by !~` in method with $100 in block + corrects matching by !~` in class, `$&` is in method + registers an offense for matching by !~` in method before `$'` + registers an offense for matching by !~` in class, `$&` is in method + corrects matching by !~`, $1 reference is overrided + corrects matching by !~` in method before `$1` + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in class method, `$~` is in other method + corrects matching by !~` in method before `$MATCH` + accepts matching by !~` in guard condition with $100 is used in the line after that + corrects matching by !~`, $2 reference is overrided + accepts matching by !~` in method with $& before unless + corrects matching by !~` in method before `$2` + corrects matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in guard condition with $MATCH is used in the line after that + corrects matching by !~`, Regexp.last_match reference is overrided + accepts matching by !~` in method with $' before unless + registers an offense for matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in method before `$&` + registers an offense for matching by !~` in class, `$2` is in method + registers an offense for matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in method, `$&` is in other method + corrects matching by !~` in class method, `$'` is in other method + accepts matching by !~` in method with Regexp.last_match + registers an offense for matching by !~` in method before `$`` + accepts matching by !~` in guard condition with $` is used in the line after that + registers an offense for matching by !~` in class method, `$2` is in other method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~`, $` reference is overrided + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in module, `$&` is in method + corrects matching by !~` in class, `$1` is in method + corrects matching by !~` in method, `$'` is in other method + registers an offense for matching by !~` in class, `$'` is in method + accepts matching by !~` in method with $` before if + corrects matching by !~` in class, `$~` is in method + accepts matching by !~` in method with $2 in block + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in method, `$2` is in other method + registers an offense for matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in method before `$'` + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in module, `$~` is in method + accepts matching by !~` in method with $1 before unless + accepts matching by !~` in a class method with $` + accepts matching by !~` in method with $~ before if + corrects matching by !~` in ternary operator + accepts matching by !~` in method with Regexp.last_match before unless + accepts matching by !~` in method with $2 before if + registers an offense for matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in module, `$100` is in method + accepts matching by !~` in a class method with $100 + corrects matching by !~` in class, `$`` is in method + corrects matching by !~` in method before `$`` + corrects matching by !~`, $& reference is overrided + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in method, `$2` is in other method + corrects matching by !~` in if condition + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in method definition + accepts matching by !~` in a class method with $2 + corrects matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in unless condition + corrects matching by !~` in class method, `$2` is in other method + accepts matching by !~` in a class method with $& + corrects matching by !~`, $` reference is overrided + accepts matching by !~` in method with $~ before unless + registers an offense for matching by !~` in method before `$2` + corrects matching by !~`, $MATCH reference is overrided + corrects matching by !~` in class method, `$100` is in other method + accepts matching by !~` in method with $` + corrects matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~`, $& reference is overrided + accepts matching by !~` in method with $' before if + registers an offense for matching by !~` in if guard condition with $~ is used in another method + behaves like all legacy match methods + corrects matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in unless condition + corrects matching by !~` in module, `$100` is in method + corrects matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $~ is used in the line after that + corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in class method, `$'` is in other method + accepts matching by !~` in method with Regexp.last_match in block + corrects matching by !~` in method, `$'` is in other method + accepts matching by !~` in method with $MATCH before unless + registers an offense for matching by !~` in method before `$1` + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by !~`, $~ reference is overrided + accepts matching by !~` in method with $1 in block + registers an offense for matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in method before `$&` + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in a class method with $' + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in method, `$`` is in other method + corrects matching by !~` in method, `$`` is in other method + accepts matching by !~` in method with $100 + registers an offense for matching by !~` in method before `$'` + registers an offense for matching by !~` in method, `$~` is in other method + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with Regexp.last_match(1) + registers an offense for matching by !~` in ternary operator + accepts matching by !~` in method with $` before if + corrects matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in class, `$100` is in method + accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with $MATCH before if + accepts matching by !~` in method with $100 before if + corrects matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method before `$MATCH` + corrects matching by !~` in module, `$'` is in method + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in method with $MATCH in block + registers an offense for matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $& is used in the line after that + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in method, `$1` is in other method + corrects matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~` in method before `$&` + corrects matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in method with $& before if + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in method definition + registers an offense for matching by !~` in method before `Regexp.last_match` + registers an offense for matching by !~` in unless condition + corrects matching by !~` in class, `$'` is in method + registers an offense for matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in method before `$2` + registers an offense for matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~` in class, `$&` is in method + accepts matching by !~` in a class method with $100 + accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~`, $2 reference is overrided + accepts matching by !~` in method with $1 before unless + accepts matching by !~` in method with $1 before if + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in module, `$~` is in method + registers an offense for matching by !~`, $' reference is overrided + accepts matching by !~` in guard condition with $MATCH is used in the line after that + accepts matching by !~` in method with $2 before if + accepts matching by !~` in method with $~ before unless + accepts matching by !~` in method with $1 + corrects matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in if guard condition with $` is used in another method + accepts matching by !~` in method with Regexp.last_match(1) in block + corrects matching by !~` in unless condition + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in module, `$2` is in method + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with $MATCH + accepts matching by !~` in method with $2 in block + registers an offense for matching by !~` in class method, `$'` is in other method + accepts matching by !~` in a class method with $~ + corrects matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~`, $100 reference is overrided + corrects matching by !~`, $' reference is overrided + corrects matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in case condition + accepts matching by !~` in guard condition with $100 is used in the line after that + corrects matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in module, `$100` is in method + corrects matching by !~` in method, `$MATCH` is in other method + accepts matching by !~` in method with $100 before unless + accepts matching by !~` in method with $' before unless + accepts matching by !~` in a class method with $& + accepts matching by !~` in method with $~ in block + corrects matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in method before `$~` + accepts matching by !~` in method with Regexp.last_match(1) before if + registers an offense for matching by !~`, $MATCH reference is overrided + accepts matching by !~` in a class method with $2 + corrects matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in method definition + registers an offense for matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in class, `$1` is in method + accepts matching by !~` in method with $100 in block + registers an offense for matching by !~`, $& reference is overrided + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~` in method, `$'` is in other method + corrects matching by !~` in class method, `$1` is in other method + corrects matching by !~`, $& reference is overrided + accepts matching by !~` in method with $` before unless + registers an offense for matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in class, `$2` is in method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + accepts matching by !~` in method with $& in block + registers an offense for matching by !~` in elsif condition + accepts matching by !~` in method with $' + corrects matching by !~` in if condition + corrects matching by !~` in class method, `$&` is in other method + accepts matching by !~` in method with $~ + corrects matching by !~` in module, `$MATCH` is in method + registers an offense for matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in module, `$`` is in method + corrects matching by !~` in method before `$~` + corrects matching by !~` in method, `$2` is in other method + corrects matching by !~` in class, `$&` is in method + registers an offense for matching by !~`, $` reference is overrided + corrects matching by !~` in elsif condition + registers an offense for matching by !~` in class, `$~` is in method + accepts matching by !~` in method with $& before unless + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in case condition + corrects matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~` in method, `$2` is in other method + corrects matching by !~` in class method, `$`` is in other method + corrects matching by !~` in if condition + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in method before `$100` + accepts matching by !~` in guard condition with $2 is used in the line after that + registers an offense for matching by !~` in method before `$`` + corrects matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in class method, `$&` is in other method + corrects matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in a class method with $1 + registers an offense for matching by !~` in module, `$&` is in method + corrects matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $2 before unless + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in class method, `$1` is in other method + accepts matching by !~` in a class method with $MATCH + accepts matching by !~` in method with $` in block + registers an offense for matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in method before `$100` + corrects matching by !~`, $` reference is overrided + corrects matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $~ before if + corrects matching by !~` in module, `$1` is in method + corrects matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in method before `$1` + accepts matching by !~` in method with Regexp.last_match(1) before unless + accepts matching by !~` in method with Regexp.last_match before if + accepts matching by !~` in a class method with $` + accepts matching by !~` in a class method with Regexp.last_match + accepts matching by !~` in method with $' in block + accepts matching by !~` in method with $& + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in class, `$2` is in method + accepts matching by !~` in guard condition with $` is used in the line after that + accepts matching by !~` in method with $` + corrects matching by !~` in method before `$'` + corrects matching by !~` in method, `$100` is in other method + corrects matching by !~` in class method, `$~` is in other method + accepts matching by !~` in method with $' before if + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in method, `$&` is in other method + registers an offense for matching by !~` in method, `$&` is in other method + registers an offense for matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in class method, `$~` is in other method + registers an offense for matching by !~` in module, `$MATCH` is in method + corrects matching by !~`, $~ reference is overrided + accepts matching by !~` in method with $2 + corrects matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in class, `$1` is in method + corrects matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in class, `$100` is in method + accepts matching by !~` in method with Regexp.last_match before unless + corrects matching by !~` in unless condition + corrects matching by !~` in ternary operator + registers an offense for matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in method, `$100` is in other method + corrects matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~` in module, `$~` is in method + corrects matching by !~` in method before `$`` + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in if guard condition with $1 is used in another method + accepts matching by !~` in guard condition with $1 is used in the line after that + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in method before `$MATCH` + behaves like all legacy match methods + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in unless condition + corrects matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~` in unless condition + accepts matching by =~` in method with Regexp.last_match(1) before unless + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~`, $MATCH reference is overrided + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in elsif condition + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in method with $1 accepts matching by =~` in a class method with Regexp.last_match(1) - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~`, $1 reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) before if - accepts matching by =~` in method with $100 - corrects matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with $MATCH before if - accepts matching by =~` in method with $& - corrects matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in method before `$&` - registers an offense for matching by =~` in class, `$&` is in method - accepts matching by =~` in guard condition with $1 is used in the line after that - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in class method, `$2` is in other method - accepts matching by =~` in method with $' in block - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in ternary operator - corrects matching by =~` in method before `Regexp.last_match(1)` registers an offense for matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in method before `$1` - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $' before if - registers an offense for matching by =~` in method before `$2` - corrects matching by =~` in class method, `$2` is in other method - corrects matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~` in class, `$100` is in method - accepts matching by =~` in method with $~ before unless - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by =~`, $` reference is overrided + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in module, `$2` is in method corrects matching by =~` in method before `$&` - corrects matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $` in block - corrects matching by =~` in module, `$2` is in method - corrects matching by =~` in method before `$'` - accepts matching by =~` in method with Regexp.last_match(1) in block - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in method, `$2` is in other method - accepts matching by =~` in a class method with $` - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in elsif condition - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~`, $& reference is overrided - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in method before `$1` - registers an offense for matching by =~` in if condition - accepts matching by =~` in a class method with $2 - accepts matching by =~` in guard condition with $MATCH is used in the line after that - corrects matching by =~` in method before `$2` + accepts matching by =~` in method with $~ + corrects matching by =~`, $~ reference is overrided registers an offense for matching by =~` in if condition - accepts matching by =~` in method with Regexp.last_match before if - registers an offense for matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in unless condition - registers an offense for matching by =~` in class, `$'` is in method - corrects matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in module, `$100` is in method - accepts matching by =~` in method with $1 before if - corrects matching by =~` in module, `$&` is in method - accepts matching by =~` in method with $2 before if - registers an offense for matching by =~` in if guard condition with $' is used in another method accepts matching by =~` in a class method with $1 - registers an offense for matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in method, `$1` is in other method - corrects matching by =~` in module, `$100` is in method - corrects matching by =~` in method, `$~` is in other method corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~` in class, `$`` is in method + corrects matching by =~` in method before `$~` + registers an offense for matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in case condition + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in method before `$1` + corrects matching by =~` in method before `$100` registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in class method, `$100` is in other method - corrects matching by =~` in class, `$1` is in method - corrects matching by =~` in module, `$'` is in method - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in class method, `$1` is in other method - accepts matching by =~` in method with $100 in block - corrects matching by =~` in if condition - corrects matching by =~`, $& reference is overrided - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by =~` in class, `$'` is in method + registers an offense for matching by =~` in if guard condition with $1 is used in another method accepts matching by =~` in method with $` before unless - registers an offense for matching by =~` in method, `$&` is in other method - accepts matching by =~` in method with $2 - registers an offense for matching by =~`, Regexp.last_match reference is overrided - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in method, `$`` is in other method - accepts matching by =~` in method with $100 before if - accepts matching by =~` in guard condition with $100 is used in the line after that - registers an offense for matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in class, `$`` is in method - registers an offense for matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in module, `$&` is in method - accepts matching by =~` in method with $' before unless - registers an offense for matching by =~` in method definition - accepts matching by =~` in method with $1 - corrects matching by =~` in class, `$MATCH` is in method - accepts matching by =~` in a class method with $100 - registers an offense for matching by =~` in class method, `$~` is in other method - accepts matching by =~` in a class method with Regexp.last_match - registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in method with $~ in block - accepts matching by =~` in method with Regexp.last_match in block - corrects matching by =~` in class method, `$100` is in other method - accepts matching by =~` in method with $2 before unless - corrects matching by =~` in ternary operator - registers an offense for matching by =~`, $MATCH reference is overrided - accepts matching by =~` in guard condition with $& is used in the line after that - accepts matching by =~` in method with $& in block - corrects matching by =~` in module, `$~` is in method - corrects matching by =~` in case condition - corrects matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in unless condition - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in method with $2 in block - corrects matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in method before `$~` - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with $` before if - accepts matching by =~` in guard condition with $~ is used in the line after that - accepts matching by =~` in guard condition with $' is used in the line after that - corrects matching by =~` in method, `$&` is in other method - corrects matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in method with $MATCH - registers an offense for matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in if guard condition with $100 is used in another method - accepts matching by =~` in method with Regexp.last_match before unless - corrects matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in class method, `$&` is in other method registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in method, `$`` is in other method + accepts matching by =~` in method with $' + registers an offense for matching by =~`, $~ reference is overrided + registers an offense for matching by =~` in class method, `$'` is in other method + corrects matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in class method, `$~` is in other method corrects matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~` in if condition - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with Regexp.last_match in block corrects matching by =~` in method before `$`` - accepts matching by =~` in method with $~ before if - corrects matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in a class method with $MATCH - registers an offense for matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method, `$MATCH` is in other method registers an offense for matching by =~` in module, `$1` is in method - accepts matching by =~` in guard condition with $2 is used in the line after that - corrects matching by =~`, $` reference is overrided - corrects matching by =~` in method before `$100` - corrects matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in a class method with $& - corrects matching by =~` in method before `$MATCH` - registers an offense for matching by =~`, $' reference is overrided - corrects matching by =~`, $' reference is overrided - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~` in method before `$`` - accepts matching by =~` in method with $MATCH in block - accepts matching by =~` in method with Regexp.last_match(1) before unless - accepts matching by =~` in method with $~ - accepts matching by =~` in method with $` - registers an offense for matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in method definition - registers an offense for matching by =~` in case condition - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in module, `$`` is in method - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in class method, `$&` is in other method - accepts matching by =~` in a class method with $' - corrects matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in method with $1 in block - corrects matching by =~`, $100 reference is overrided - corrects matching by =~` in method, `$2` is in other method - corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in method with $' - registers an offense for matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in class method, `$`` is in other method - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with Regexp.last_match(1) - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in guard condition with $` is used in the line after that - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in class, `$2` is in method corrects matching by =~` in elsif condition - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in method before `$'` - registers an offense for matching by =~` in class method, `$'` is in other method - corrects matching by =~`, $MATCH reference is overrided - corrects matching by =~` in unless condition - registers an offense for matching by =~` in method before `$MATCH` - accepts matching by =~` in method with $MATCH before unless - registers an offense for matching by =~` in module, `$'` is in method - accepts matching by =~` in method with $1 before unless - corrects matching by =~` in method, `$1` is in other method - corrects matching by =~` in class, `$'` is in method - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $& before if - registers an offense for matching by =~` in class method, `$`` is in other method - behaves like all legacy match methods - corrects matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with Regexp.last_match(1) before if - accepts matching by =~` in method with $MATCH in block - registers an offense for matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $~ before unless + corrects matching by =~` in class method, `$100` is in other method + corrects matching by =~` in class method, `$MATCH` is in other method registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~` in class, `$100` is in method - accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in elsif condition - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in a class method with Regexp.last_match(1) - registers an offense for matching by =~` in elsif condition - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in class, `$~` is in method - accepts matching by =~` in a class method with $` - corrects matching by =~` in method before `$2` - accepts matching by =~` in method with Regexp.last_match before unless - registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in class method, `$`` is in other method - accepts matching by =~` in a class method with $' - registers an offense for matching by =~` in method before `$2` - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in method before `$100` - accepts matching by =~` in method with Regexp.last_match(1) before unless - accepts matching by =~` in method with $' - corrects matching by =~` in unless condition - registers an offense for matching by =~` in method before `$MATCH` - accepts matching by =~` in method with $2 before unless - corrects matching by =~` in class, `$1` is in method - corrects matching by =~` in if condition - corrects matching by =~`, $MATCH reference is overrided - corrects matching by =~` in module, `$100` is in method - corrects matching by =~` in method, `$100` is in other method - accepts matching by =~` in a class method with $1 - registers an offense for matching by =~` in method before `$`` - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in ternary operator - corrects matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with $& in block - corrects matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in ternary operator - corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $` before unless - accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~` in class, `$&` is in method - registers an offense for matching by =~`, $2 reference is overrided - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in guard condition with $& is used in the line after that - corrects matching by =~` in module, `$2` is in method - accepts matching by =~` in method with $~ before if - registers an offense for matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~`, $& reference is overrided accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~` in method, `$2` is in other method - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in if condition + corrects matching by =~` in class method, `$`` is in other method corrects matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in module, `$'` is in method - corrects matching by =~` in unless condition - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in module, `$'` is in method - accepts matching by =~` in method with $1 - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in guard condition with $' is used in the line after that - registers an offense for matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in a class method with $MATCH - registers an offense for matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in guard condition with $100 is used in the line after that - accepts matching by =~` in method with Regexp.last_match - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in method, `$2` is in other method - registers an offense for matching by =~`, $' reference is overrided - registers an offense for matching by =~` in unless condition - corrects matching by =~` in method, `$'` is in other method - registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in module, `$100` is in method + corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in method, `$&` is in other method corrects matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in method with Regexp.last_match before if - corrects matching by =~` in class method, `$`` is in other method - corrects matching by =~` in class, `$`` is in method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $2 before unless corrects matching by =~` in method, `$&` is in other method - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in method with $' in block - accepts matching by =~` in method with $` - registers an offense for matching by =~` in method, `$MATCH` is in other method - corrects matching by =~`, $' reference is overrided - registers an offense for matching by =~` in class, `$MATCH` is in method - corrects matching by =~`, $~ reference is overrided - corrects matching by =~` in if condition - accepts matching by =~` in method with $1 in block - accepts matching by =~` in method with $' before unless - accepts matching by =~` in method with $~ in block - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with $` before if - corrects matching by =~` in method, `$~` is in other method - registers an offense for matching by =~`, $~ reference is overrided - registers an offense for matching by =~`, $1 reference is overrided - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~` in class, `$&` is in method - accepts matching by =~` in method with $& - registers an offense for matching by =~` in class, `$100` is in method - accepts matching by =~` in method with $MATCH before unless - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in class method, `$'` is in other method - corrects matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in method before `$1` - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in method before `$'` - corrects matching by =~` in class method, `$&` is in other method - accepts matching by =~` in method with Regexp.last_match(1) - corrects matching by =~` in class, `$2` is in method - corrects matching by =~` in class method, `$2` is in other method - accepts matching by =~` in method with $100 - registers an offense for matching by =~`, $100 reference is overrided - corrects matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~`, $2 reference is overrided - corrects matching by =~` in case condition - accepts matching by =~` in method with $100 in block - accepts matching by =~` in method with $100 before if - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~` in method definition - corrects matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in method with $& before if - corrects matching by =~` in module, `$&` is in method - accepts matching by =~` in guard condition with $MATCH is used in the line after that - corrects matching by =~` in method before `$100` - corrects matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in unless condition - accepts matching by =~` in method with $` in block - registers an offense for matching by =~` in class, `$'` is in method - registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~` in method before `$1` - accepts matching by =~` in a class method with Regexp.last_match - registers an offense for matching by =~` in class method, `$MATCH` is in other method - accepts matching by =~` in method with $2 in block + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in if guard condition with $2 is used in another method registers an offense for matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in method with $2 + corrects matching by =~` in class method, `$&` is in other method + accepts matching by =~` in a class method with $' + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in method with $~ before unless + accepts matching by =~` in method with $100 before unless + registers an offense for matching by =~`, $' reference is overrided corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in a class method with $& - corrects matching by =~`, $` reference is overrided - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in a class method with $100 - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in method definition - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in module, `$~` is in method - accepts matching by =~` in a class method with $2 - corrects matching by =~`, $100 reference is overrided - accepts matching by =~` in method with $2 before if - registers an offense for matching by =~` in method before `$&` - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~`, $& reference is overrided - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with $~ - corrects matching by =~` in method before `$'` - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in class method, `$&` is in other method - accepts matching by =~` in method with Regexp.last_match in block - registers an offense for matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in method before `$~` - corrects matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in class, `$&` is in method corrects matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $' before if - corrects matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in method, `$`` is in other method - corrects matching by =~` in class, `$'` is in method - accepts matching by =~` in method with $MATCH before if - registers an offense for matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in module, `$2` is in method - accepts matching by =~` in guard condition with $` is used in the line after that - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $2 - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in method before `$&` - accepts matching by =~` in method with $1 before if - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $MATCH - accepts matching by =~` in guard condition with $1 is used in the line after that - registers an offense for matching by =~` in module, `$&` is in method - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in method before `$`` - accepts matching by =~` in guard condition with $2 is used in the line after that - registers an offense for matching by =~` in class, `$~` is in method - accepts matching by =~` in a class method with $~ - behaves like all legacy match methods - corrects match method call for a variable in if guard condition with $' is used in another method - accepts match method call for a variable in method with $& before if - accepts match method call for a variable in method with $~ before unless - accepts match method call for a variable in method with Regexp.last_match in block - registers an offense for match method call for a variable in if guard condition with $~ is used in another method - registers an offense for match method call for a variable in module, `$MATCH` is in method - registers an offense for match method call for a variable, $MATCH reference is overrided - registers an offense for match method call for a variable in method, `$2` is in other method - accepts match method call for a variable in method with $& - accepts match method call for a variable in method with $2 before unless - corrects match method call for a variable, $MATCH reference is overrided - corrects match method call for a variable in method, `$&` is in other method - accepts match method call for a variable in guard condition with Regexp.last_match(1) is used in the line after that - corrects match method call for a variable in method before `$2` - corrects match method call for a variable in class method, `$100` is in other method - registers an offense for match method call for a variable in unless condition - corrects match method call for a variable in method, `$MATCH` is in other method - registers an offense for match method call for a variable in class, `Regexp.last_match(1)` is in method - registers an offense for match method call for a variable in module, `Regexp.last_match` is in method - registers an offense for match method call for a variable in module, `$~` is in method - registers an offense for match method call for a variable in method before `Regexp.last_match` - registers an offense for match method call for a variable, Regexp.last_match reference is overrided - accepts match method call for a variable in method with $` before if - registers an offense for match method call for a variable in if guard condition with $` is used in another method - registers an offense for match method call for a variable in module, `$1` is in method - registers an offense for match method call for a variable in if guard condition with $& is used in another method - corrects match method call for a variable in method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable, $~ reference is overrided - corrects match method call for a variable in if guard condition with $MATCH is used in another method - corrects match method call for a variable in class method, `$~` is in other method - accepts match method call for a variable in method with $2 - registers an offense for match method call for a variable in class, `$1` is in method - registers an offense for match method call for a variable in module, `$100` is in method - registers an offense for match method call for a variable in method, `$&` is in other method - accepts match method call for a variable in guard condition with $MATCH is used in the line after that - accepts match method call for a variable in method with $& in block - corrects match method call for a variable, $` reference is overrided - corrects match method call for a variable in module, `$2` is in method - registers an offense for match method call for a variable in class, `$&` is in method - corrects match method call for a variable in method before `$&` - accepts match method call for a variable in method with $MATCH - registers an offense for match method call for a variable in if guard condition with $' is used in another method - corrects match method call for a variable in module, `$~` is in method - registers an offense for match method call for a variable in method, `$100` is in other method - accepts match method call for a variable in method with $MATCH in block - corrects match method call for a variable, $1 reference is overrided - registers an offense for match method call for a variable in class method, `$1` is in other method - registers an offense for match method call for a variable in if condition - accepts match method call for a variable in guard condition with Regexp.last_match is used in the line after that - corrects match method call for a variable in class, `$1` is in method - corrects match method call for a variable in class, `$100` is in method - corrects match method call for a variable in method, `$1` is in other method - corrects match method call for a variable in elsif condition - corrects match method call for a variable, $~ reference is overrided - corrects match method call for a variable, $100 reference is overrided - registers an offense for match method call for a variable in if guard condition with Regexp.last_match is used in another method - corrects match method call for a variable in method before `$`` - corrects match method call for a variable in module, `$'` is in method - corrects match method call for a variable in module, `$&` is in method - registers an offense for match method call for a variable in class, `$`` is in method - corrects match method call for a variable in if guard condition with $~ is used in another method - accepts match method call for a variable in guard condition with $100 is used in the line after that - registers an offense for match method call for a variable in class method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable, $2 reference is overrided - registers an offense for match method call for a variable in method, `$1` is in other method - accepts match method call for a variable in method with $1 before unless - registers an offense for match method call for a variable, Regexp.last_match(1) reference is overrided - accepts match method call for a variable in method with $100 in block - registers an offense for match method call for a variable in class method, `$2` is in other method - accepts match method call for a variable in a class method with Regexp.last_match - corrects match method call for a variable in method before `$MATCH` - corrects match method call for a variable in class method, `$&` is in other method - corrects match method call for a variable in class method, `$1` is in other method - accepts match method call for a variable in method with $2 in block - corrects match method call for a variable in method, `Regexp.last_match(1)` is in other method - registers an offense for match method call for a variable, $` reference is overrided - accepts match method call for a variable in guard condition with $' is used in the line after that - corrects match method call for a variable in class method, `$MATCH` is in other method - corrects match method call for a variable in if guard condition with $& is used in another method - corrects match method call for a variable in method before `$1` - corrects match method call for a variable in class, `$`` is in method - registers an offense for match method call for a variable in method, `$`` is in other method - registers an offense for match method call for a variable in method before `Regexp.last_match(1)` - registers an offense for match method call for a variable in if condition - corrects match method call for a variable in class method, `$`` is in other method - registers an offense for match method call for a variable in class, `$MATCH` is in method - corrects match method call for a variable in method before `$~` - accepts match method call for a variable in a class method with $1 - corrects match method call for a variable in method before `$100` - accepts match method call for a variable in method with $' before if - registers an offense for match method call for a variable, $100 reference is overrided - accepts match method call for a variable in method with Regexp.last_match - accepts match method call for a variable in method with Regexp.last_match(1) in block - accepts match method call for a variable in method with $' before unless - corrects match method call for a variable in method, `$100` is in other method - accepts match method call for a variable in method with Regexp.last_match before if - corrects match method call for a variable in class, `$~` is in method - registers an offense for match method call for a variable in class, `$'` is in method - registers an offense for match method call for a variable in module, `Regexp.last_match(1)` is in method - accepts match method call for a variable in method with $& before unless - accepts match method call for a variable in method with $100 before unless - corrects match method call for a variable, Regexp.last_match(1) reference is overrided - corrects match method call for a variable in module, `$100` is in method - accepts match method call for a variable in method with Regexp.last_match(1) before unless - accepts match method call for a variable in method with $MATCH before unless - accepts match method call for a variable in method with Regexp.last_match before unless - corrects match method call for a variable in unless condition - registers an offense for match method call for a variable in module, `$2` is in method - corrects match method call for a variable in class method, `Regexp.last_match` is in other method - accepts match method call for a variable in guard condition with $` is used in the line after that - accepts match method call for a variable in a class method with $~ - accepts match method call for a variable in a class method with $MATCH - registers an offense for match method call for a variable in class method, `$&` is in other method - accepts match method call for a variable in method with $2 before if - accepts match method call for a variable in method with $1 in block - registers an offense for match method call for a variable in method before `$`` - accepts match method call for a variable in a class method with Regexp.last_match(1) - accepts match method call for a variable in guard condition with $2 is used in the line after that - registers an offense for match method call for a variable in if guard condition with $100 is used in another method - registers an offense for match method call for a variable in class method, `$~` is in other method - registers an offense for match method call for a variable in elsif condition - corrects match method call for a variable in class, `$'` is in method - corrects match method call for a variable in method, `$~` is in other method - corrects match method call for a variable in if guard condition with $100 is used in another method - registers an offense for match method call for a variable in class method, `$`` is in other method - accepts match method call for a variable in method with $MATCH before if - registers an offense for match method call for a variable in if guard condition with $2 is used in another method - corrects match method call for a variable, Regexp.last_match reference is overrided - registers an offense for match method call for a variable in if guard condition with Regexp.last_match(1) is used in another method - accepts match method call for a variable in a class method with $' - corrects match method call for a variable in if condition - corrects match method call for a variable in class method, `Regexp.last_match(1)` is in other method - registers an offense for match method call for a variable in method, `Regexp.last_match` is in other method - accepts match method call for a variable in method with $~ in block - registers an offense for match method call for a variable, $1 reference is overrided - registers an offense for match method call for a variable in class method, `$'` is in other method - registers an offense for match method call for a variable in class method, `$MATCH` is in other method - accepts match method call for a variable in method with Regexp.last_match(1) - corrects match method call for a variable in if guard condition with $` is used in another method - registers an offense for match method call for a variable in if guard condition with $MATCH is used in another method - registers an offense for match method call for a variable in method, `Regexp.last_match(1)` is in other method - registers an offense for match method call for a variable, $' reference is overrided - corrects match method call for a variable in class, `$&` is in method - corrects match method call for a variable, $& reference is overrided - accepts match method call for a variable in method with $100 - corrects match method call for a variable in module, `$`` is in method - registers an offense for match method call for a variable in method, `$~` is in other method - corrects match method call for a variable in module, `Regexp.last_match(1)` is in method - corrects match method call for a variable in if guard condition with Regexp.last_match is used in another method - registers an offense for match method call for a variable in class, `Regexp.last_match` is in method - accepts match method call for a variable in a class method with $100 - accepts match method call for a variable in method with Regexp.last_match(1) before if - corrects match method call for a variable in if condition - accepts match method call for a variable in method with $1 before if - corrects match method call for a variable in case condition - corrects match method call for a variable in module, `$MATCH` is in method - accepts match method call for a variable in guard condition with $~ is used in the line after that - corrects match method call for a variable in module, `$1` is in method - registers an offense for match method call for a variable in class method, `Regexp.last_match(1)` is in other method - registers an offense for match method call for a variable in class, `$~` is in method - accepts match method call for a variable in guard condition with $1 is used in the line after that - accepts match method call for a variable in method with $100 before if - corrects match method call for a variable in unless condition - registers an offense for match method call for a variable in module, `$'` is in method - registers an offense for match method call for a variable in module, `$&` is in method - registers an offense for match method call for a variable, $& reference is overrided - corrects match method call for a variable in class method, `$'` is in other method - registers an offense for match method call for a variable in module, `$`` is in method - corrects match method call for a variable in class, `Regexp.last_match` is in method - corrects match method call for a variable, $' reference is overrided - corrects match method call for a variable in method definition - corrects match method call for a variable in class, `Regexp.last_match(1)` is in method - registers an offense for match method call for a variable in unless condition - corrects match method call for a variable in method before `$'` - corrects match method call for a variable in class, `$2` is in method - accepts match method call for a variable in a class method with $` - accepts match method call for a variable in guard condition with $& is used in the line after that - accepts match method call for a variable in method with $` - registers an offense for match method call for a variable in class method, `$100` is in other method - corrects match method call for a variable in method, `$`` is in other method - accepts match method call for a variable in method with $` in block - registers an offense for match method call for a variable in class, `$2` is in method - corrects match method call for a variable, $2 reference is overrided - corrects match method call for a variable in module, `Regexp.last_match` is in method - accepts match method call for a variable in method with $~ - corrects match method call for a variable in method, `$2` is in other method - corrects match method call for a variable in method, `$'` is in other method - registers an offense for match method call for a variable in method before `$~` - registers an offense for match method call for a variable in ternary operator - registers an offense for match method call for a variable in case condition - corrects match method call for a variable in ternary operator - registers an offense for match method call for a variable in method before `$1` - corrects match method call for a variable in method before `Regexp.last_match(1)` - corrects match method call for a variable in if guard condition with Regexp.last_match(1) is used in another method - accepts match method call for a variable in a class method with $& - accepts match method call for a variable in method with $~ before if - corrects match method call for a variable in method before `Regexp.last_match` - registers an offense for match method call for a variable in method, `$MATCH` is in other method - registers an offense for match method call for a variable in class, `$100` is in method - accepts match method call for a variable in method with $1 - accepts match method call for a variable in method with $' - registers an offense for match method call for a variable in method before `$100` - corrects match method call for a variable in if guard condition with $2 is used in another method - corrects match method call for a variable in class, `$MATCH` is in method - accepts match method call for a variable in method with $` before unless - registers an offense for match method call for a variable in method before `$MATCH` - registers an offense for match method call for a variable in method before `$2` - registers an offense for match method call for a variable in method before `$&` - accepts match method call for a variable in method with $' in block - registers an offense for match method call for a variable in method before `$'` - accepts match method call for a variable in a class method with $2 - registers an offense for match method call for a variable in method definition - corrects match method call for a variable in class method, `$2` is in other method - registers an offense for match method call for a variable in if guard condition with $1 is used in another method - corrects match method call for a variable in if guard condition with $1 is used in another method - registers an offense for match method call for a variable in method, `$'` is in other method - behaves like all legacy match methods - accepts matching by =~` in method with $100 before if + corrects matching by =~`, $1 reference is overrided registers an offense for matching by =~` in ternary operator - registers an offense for matching by =~` in class method, `$100` is in other method - accepts matching by =~` in method with Regexp.last_match before if - corrects matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in method, `$'` is in other method corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in method, `$~` is in other method - accepts matching by =~` in a class method with Regexp.last_match(1) - accepts matching by =~` in method with $' in block - corrects matching by =~` in if condition - corrects matching by =~`, $& reference is overrided - registers an offense for matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in method before `$&` - accepts matching by =~` in method with $1 in block - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~`, $' reference is overrided - registers an offense for matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in method with Regexp.last_match - accepts matching by =~` in method with $1 - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in class, `$2` is in method - registers an offense for matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in method, `$&` is in other method - corrects matching by =~` in module, `$100` is in method - accepts matching by =~` in method with $MATCH - registers an offense for matching by =~` in if guard condition with $` is used in another method - corrects matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in method with $~ - accepts matching by =~` in method with $2 before if - registers an offense for matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in module, `$100` is in method - corrects matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $~ in block - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in method before `$`` - corrects matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in module, `$&` is in method - corrects matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~` in module, `$'` is in method - corrects matching by =~` in if guard condition with $2 is used in another method - accepts matching by =~` in method with Regexp.last_match(1) - corrects matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in class, `$&` is in method - accepts matching by =~` in a class method with $& - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in class method, `$1` is in other method - accepts matching by =~` in method with $& before if registers an offense for matching by =~` in if condition - accepts matching by =~` in method with Regexp.last_match(1) before if - registers an offense for matching by =~` in class, `$'` is in method - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in class method, `$`` is in other method - accepts matching by =~` in a class method with Regexp.last_match - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $& in block - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~`, $' reference is overrided - corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in if guard condition with $MATCH is used in another method accepts matching by =~` in method with $' before unless - accepts matching by =~` in a class method with $` - accepts matching by =~` in method with $' - accepts matching by =~` in method with $1 before if - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in method before `$`` - corrects matching by =~`, $2 reference is overrided - corrects matching by =~` in class, `$'` is in method - corrects matching by =~` in method, `$2` is in other method - accepts matching by =~` in method with $~ before unless - accepts matching by =~` in a class method with $MATCH - corrects matching by =~` in method, `$'` is in other method - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in elsif condition - corrects matching by =~` in unless condition - registers an offense for matching by =~` in unless condition - accepts matching by =~` in guard condition with $' is used in the line after that - registers an offense for matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in method, `$'` is in other method - registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in method with $100 - accepts matching by =~` in method with Regexp.last_match(1) before unless - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~` in method before `$~` - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in guard condition with $1 is used in the line after that - accepts matching by =~` in a class method with $100 - registers an offense for matching by =~` in method definition - accepts matching by =~` in a class method with $2 - accepts matching by =~` in method with $2 - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in method with Regexp.last_match in block - registers an offense for matching by =~` in method, `$`` is in other method - accepts matching by =~` in method with $` + accepts matching by =~` in method with $' in block + accepts matching by =~` in method with $& in block + corrects matching by =~` in method definition corrects matching by =~` in module, `$2` is in method - corrects matching by =~`, $1 reference is overrided - corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $~ before if - registers an offense for matching by =~` in class method, `$'` is in other method - corrects matching by =~`, $` reference is overrided - accepts matching by =~` in method with $2 before unless - registers an offense for matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in class method, `$2` is in other method - corrects matching by =~` in class, `$1` is in method - corrects matching by =~` in method before `$100` - accepts matching by =~` in method with Regexp.last_match before unless - accepts matching by =~` in a class method with $' - registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~` in method, `$1` is in other method - corrects matching by =~` in class method, `$&` is in other method - corrects matching by =~` in class, `$&` is in method - corrects matching by =~` in unless condition - corrects matching by =~` in class, `$100` is in method - corrects matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in method before `$MATCH` registers an offense for matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $100 in block - corrects matching by =~` in class method, `$'` is in other method - corrects matching by =~` in method definition - accepts matching by =~` in guard condition with $& is used in the line after that + accepts matching by =~` in method with $& before unless + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~`, $& reference is overrided + accepts matching by =~` in method with $` registers an offense for matching by =~` in method before `$100` - registers an offense for matching by =~` in method before `$~` + corrects matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in method before `Regexp.last_match(1)` corrects matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $` in block - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~`, $MATCH reference is overrided - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in if guard condition with $100 is used in another method corrects matching by =~` in method, `$100` is in other method - corrects matching by =~` in class method, `$2` is in other method - corrects matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in method before `$1` - corrects matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with $MATCH before if - registers an offense for matching by =~` in method, `$2` is in other method - accepts matching by =~` in a class method with $1 - corrects matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in method before `$MATCH` - corrects matching by =~` in method before `$&` - accepts matching by =~` in method with $` before unless + registers an offense for matching by =~` in method, `$~` is in other method + accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $& before if + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in module, `$'` is in method corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by =~` in module, `$'` is in method - corrects matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in method definition accepts matching by =~` in guard condition with $` is used in the line after that - corrects matching by =~` in method before `$2` - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~`, $& reference is overrided - accepts matching by =~` in method with $& before unless - accepts matching by =~` in method with $2 in block - corrects matching by =~` in if guard condition with $~ is used in another method - accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in method with $' before if - accepts matching by =~` in guard condition with $100 is used in the line after that corrects matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in guard condition with $2 is used in the line after that - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in method before `$2` - corrects matching by =~` in elsif condition - corrects matching by =~` in method before `$'` + accepts matching by =~` in method with $MATCH before if + accepts matching by =~` in guard condition with $100 is used in the line after that + corrects matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~` in class method, `$2` is in other method + accepts matching by =~` in method with $& registers an offense for matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $100 before unless - registers an offense for matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in if condition - accepts matching by =~` in method with $` before if - corrects matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in a class method with $2 corrects matching by =~` in case condition - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in ternary operator - corrects matching by =~` in module, `$1` is in method - registers an offense for matching by =~` in method before `$'` - accepts matching by =~` in guard condition with $MATCH is used in the line after that - corrects matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~`, $2 reference is overrided - accepts matching by =~` in method with $& - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in method with $MATCH in block - corrects matching by =~` in method before `$1` - accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in if guard condition with $1 is used in another method - behaves like all legacy match methods - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in ternary operator - accepts matching by =~` in a class method with $MATCH - registers an offense for matching by =~` in if condition - accepts matching by =~` in method with $~ - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in method before `$1` - accepts matching by =~` in method with $100 - registers an offense for matching by =~` in class method, `$&` is in other method - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in a class method with $1 - corrects matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in class method, `$100` is in other method - corrects matching by =~` in class, `$`` is in method - accepts matching by =~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in method before `$`` - registers an offense for matching by =~` in class, `$'` is in method - corrects matching by =~` in class, `$'` is in method - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in method before `$MATCH` - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in a class method with $& - corrects matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in class, `$&` is in method corrects matching by =~` in if condition - corrects matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in method with $2 in block - corrects matching by =~` in method, `$&` is in other method - accepts matching by =~` in a class method with $100 - accepts matching by =~` in method with $MATCH - accepts matching by =~` in method with Regexp.last_match(1) in block - registers an offense for matching by =~` in method before `$2` - registers an offense for matching by =~` in method definition - corrects matching by =~` in case condition - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in module, `$MATCH` is in method - corrects matching by =~`, $& reference is overrided - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in method with $2 - corrects matching by =~` in unless condition - registers an offense for matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in module, `$`` is in method - corrects matching by =~` in class method, `$&` is in other method - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in module, `$100` is in method - accepts matching by =~` in method with $2 before unless - accepts matching by =~` in method with $& - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in class method, `$~` is in other method - corrects matching by =~`, $1 reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by =~` in module, `$&` is in method registers an offense for matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in guard condition with $2 is used in the line after that - registers an offense for matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in method, `$100` is in other method - registers an offense for matching by =~`, $& reference is overrided - registers an offense for matching by =~` in method before `$`` - registers an offense for matching by =~` in class method, `$1` is in other method - accepts matching by =~` in method with $& in block - registers an offense for matching by =~`, $100 reference is overrided - accepts matching by =~` in method with $' before unless corrects matching by =~` in method before `$1` - corrects matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in method before `$100` - accepts matching by =~` in method with $` before if - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in method before `$2` - corrects matching by =~`, $100 reference is overrided - corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in method with $~ before unless - registers an offense for matching by =~` in method, `$100` is in other method - corrects matching by =~`, $` reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in method with Regexp.last_match + corrects matching by =~` in module, `$100` is in method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in a class method with $MATCH + registers an offense for matching by =~`, $100 reference is overrided corrects matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $100 before if - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with Regexp.last_match before if - corrects matching by =~` in method definition - corrects matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~` in class method, `$`` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in method before `$~` - corrects matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in method before `$'` - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in if guard condition with $2 is used in another method corrects matching by =~` in if condition - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in module, `$&` is in method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by =~` in method with $1 - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in if condition - corrects matching by =~`, $' reference is overrided - corrects matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in method before `$MATCH` - accepts matching by =~` in method with $' in block - corrects matching by =~` in module, `$&` is in method - accepts matching by =~` in guard condition with $& is used in the line after that - accepts matching by =~` in method with $~ before if - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~`, $' reference is overrided - registers an offense for matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in method before `$100` - registers an offense for matching by =~` in class, `$MATCH` is in method - corrects matching by =~`, $MATCH reference is overrided - corrects matching by =~` in method before `$'` - corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in method before `$2` accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in method, `$MATCH` is in other method - corrects matching by =~` in method, `$~` is in other method - corrects matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in class method, `$100` is in other method - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $` before unless + corrects matching by =~` in unless condition + accepts matching by =~` in method with $~ before if + accepts matching by =~` in method with $100 before if + registers an offense for matching by =~` in method, `$`` is in other method registers an offense for matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in method, `$1` is in other method - corrects matching by =~` in module, `$'` is in method - corrects matching by =~` in elsif condition - corrects matching by =~` in class method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $` - accepts matching by =~` in a class method with Regexp.last_match - accepts matching by =~` in method with $1 before if - corrects matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in elsif condition - accepts matching by =~` in method with $MATCH in block - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $1 in block + corrects matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in class method, `$1` is in other method + accepts matching by =~` in method with Regexp.last_match(1) + registers an offense for matching by =~` in if guard condition with $' is used in another method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~` in class, `$~` is in method + accepts matching by =~` in method with $MATCH accepts matching by =~` in method with $1 before unless - accepts matching by =~` in method with Regexp.last_match in block - corrects matching by =~` in unless condition - corrects matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in case condition + registers an offense for matching by =~` in if guard condition with $& is used in another method accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in guard condition with $~ is used in the line after that - accepts matching by =~` in guard condition with $` is used in the line after that - corrects matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with Regexp.last_match before unless + accepts matching by =~` in method with $100 + corrects matching by =~` in class, `$&` is in method accepts matching by =~` in method with $100 in block - accepts matching by =~` in a class method with Regexp.last_match(1) - registers an offense for matching by =~` in if guard condition with $100 is used in another method - accepts matching by =~` in method with $& before if - registers an offense for matching by =~` in module, `$'` is in method - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in method, `$2` is in other method - accepts matching by =~` in method with $2 before if - registers an offense for matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) before if - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $` in block - corrects matching by =~` in method, `$2` is in other method - accepts matching by =~` in method with Regexp.last_match(1) before unless - corrects matching by =~` in method before `$&` - registers an offense for matching by =~` in method before `$&` - accepts matching by =~` in a class method with $' - accepts matching by =~` in a class method with $2 - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in method, `$`` is in other method - accepts matching by =~` in a class method with $` + corrects matching by =~` in method, `$~` is in other method registers an offense for matching by =~` in method before `$~` - corrects matching by =~`, $~ reference is overrided - accepts matching by =~` in guard condition with $100 is used in the line after that - accepts matching by =~` in a class method with $~ - accepts matching by =~` in method with $' before if - accepts matching by =~` in method with $~ in block - registers an offense for matching by =~` in if guard condition with $& is used in another method - corrects matching by =~`, $2 reference is overrided - accepts matching by =~` in method with $MATCH before if - corrects matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $' - corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in class, `$~` is in method corrects matching by =~` in ternary operator - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in guard condition with $' is used in the line after that - behaves like all legacy match methods - corrects matching by =~` in if guard condition with $2 is used in another method - accepts matching by =~` in method with $' before if - corrects matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in guard condition with $~ is used in the line after that - registers an offense for matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with $' in block - accepts matching by =~` in a class method with $MATCH - accepts matching by =~` in a class method with $` - registers an offense for matching by =~` in method before `$100` - accepts matching by =~` in method with $MATCH - registers an offense for matching by =~` in class method, `$'` is in other method - corrects matching by =~` in module, `$`` is in method + registers an offense for matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in module, `$~` is in method + corrects matching by =~` in class method, `$'` is in other method registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~`, $100 reference is overrided + accepts matching by =~` in a class method with $~ + corrects matching by =~` in module, `$`` is in method accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~`, $& reference is overrided - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in class, `$`` is in method - corrects matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that + accepts matching by =~` in method with $2 in block accepts matching by =~` in method with Regexp.last_match(1) before if - registers an offense for matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in case condition - accepts matching by =~` in a class method with $2 - accepts matching by =~` in method with Regexp.last_match before if - corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in class method, `$`` is in other method + accepts matching by =~` in guard condition with $2 is used in the line after that registers an offense for matching by =~` in class method, `$~` is in other method - accepts matching by =~` in a class method with $100 - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in if condition - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in elsif condition - corrects matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in method with $` before unless - corrects matching by =~` in unless condition - corrects matching by =~` in module, `$1` is in method - corrects matching by =~` in class, `$2` is in method - registers an offense for matching by =~` in module, `$MATCH` is in method - corrects matching by =~` in elsif condition - registers an offense for matching by =~` in class, `$1` is in method - accepts matching by =~` in guard condition with $& is used in the line after that - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~` in if guard condition with $~ is used in another method - accepts matching by =~` in method with $1 before if - registers an offense for matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in method with $100 before if + registers an offense for matching by =~` in method, `$2` is in other method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + accepts matching by =~` in method with Regexp.last_match before unless corrects matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in if guard condition with $2 is used in another method - accepts matching by =~` in method with $~ before unless - accepts matching by =~` in method with $MATCH before if - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in class method, `$`` is in other method - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in method, `$100` is in other method - corrects matching by =~` in if guard condition with $MATCH is used in another method - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~` in module, `$&` is in method - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in class, `$'` is in method - corrects matching by =~` in if condition - corrects matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in class method, `$1` is in other method - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method registers an offense for matching by =~` in method before `$'` - accepts matching by =~` in guard condition with $2 is used in the line after that - accepts matching by =~` in method with $MATCH before unless - corrects matching by =~` in class, `$&` is in method - accepts matching by =~` in method with $~ before if - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with $` before if - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in class method, `$1` is in other method + registers an offense for matching by =~` in unless condition + accepts matching by =~` in guard condition with $~ is used in the line after that registers an offense for matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $MATCH in block - accepts matching by =~` in method with $& - registers an offense for matching by =~` in method, `$2` is in other method + corrects matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with $` before if + accepts matching by =~` in a class method with $100 registers an offense for matching by =~` in class, `$'` is in method - registers an offense for matching by =~`, $2 reference is overrided + registers an offense for matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in method with $1 before if + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~`, Regexp.last_match reference is overrided corrects matching by =~`, $' reference is overrided - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in class method, `$'` is in other method - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in if guard condition with $100 is used in another method - accepts matching by =~` in method with $` in block - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in ternary operator - registers an offense for matching by =~` in method, `$&` is in other method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by =~`, $' reference is overrided - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $1 in block - registers an offense for matching by =~` in method, `$'` is in other method - registers an offense for matching by =~` in module, `$~` is in method - accepts matching by =~` in a class method with $' - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with Regexp.last_match before unless - accepts matching by =~` in method with $2 - registers an offense for matching by =~` in if condition corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in method before `$100` - registers an offense for matching by =~` in unless condition - corrects matching by =~` in module, `$2` is in method - corrects matching by =~` in method, `$2` is in other method - accepts matching by =~` in method with $& in block - registers an offense for matching by =~` in method before `$MATCH` - accepts matching by =~` in guard condition with $100 is used in the line after that - corrects matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in a class method with $~ - corrects matching by =~` in method before `Regexp.last_match(1)` - accepts matching by =~` in method with $1 before unless - accepts matching by =~` in method with $100 before unless - registers an offense for matching by =~`, $` reference is overrided - corrects matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in module, `$2` is in method - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in method before `$1` - corrects matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in class method, `$100` is in other method - accepts matching by =~` in method with Regexp.last_match in block - corrects matching by =~`, $1 reference is overrided - corrects matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~`, $& reference is overrided - corrects matching by =~` in method, `$100` is in other method - corrects matching by =~` in if guard condition with $~ is used in another method - accepts matching by =~` in method with $2 in block - accepts matching by =~` in method with $~ in block - registers an offense for matching by =~` in method before `$&` - accepts matching by =~` in method with $100 - corrects matching by =~` in class, `$~` is in method - accepts matching by =~` in method with $2 before unless - registers an offense for matching by =~` in class, `$2` is in method - corrects matching by =~` in unless condition - registers an offense for matching by =~`, $1 reference is overrided - corrects matching by =~` in method before `$1` - corrects matching by =~` in method before `$&` - registers an offense for matching by =~` in method before `$~` - corrects matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in module, `$'` is in method - accepts matching by =~` in guard condition with $MATCH is used in the line after that - corrects matching by =~` in case condition - accepts matching by =~` in method with $1 - registers an offense for matching by =~` in method before `$`` - accepts matching by =~` in method with Regexp.last_match(1) before unless - corrects matching by =~` in method before `$`` - corrects matching by =~` in ternary operator - accepts matching by =~` in guard condition with $' is used in the line after that - accepts matching by =~` in method with $~ - corrects matching by =~`, $` reference is overrided - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~` in class, `$`` is in method - corrects matching by =~`, $100 reference is overrided + accepts matching by =~` in method with $1 in block + registers an offense for matching by =~` in method, `$100` is in other method + registers an offense for matching by =~`, $2 reference is overrided accepts matching by =~` in a class method with $& - accepts matching by =~` in method with $' - registers an offense for matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~`, $MATCH reference is overrided - accepts matching by =~` in a class method with Regexp.last_match(1) - registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~`, $~ reference is overrided - registers an offense for matching by =~`, $100 reference is overrided - corrects matching by =~` in method, `$&` is in other method - accepts matching by =~` in method with $' before unless - accepts matching by =~` in method with $` - corrects matching by =~` in class, `$1` is in method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in method definition - corrects matching by =~` in method before `$2` - registers an offense for matching by =~` in method definition - accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in method with Regexp.last_match before if + accepts matching by =~` in method with $` in block accepts matching by =~` in a class method with Regexp.last_match - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in unless condition - corrects matching by =~` in module, `$'` is in method - accepts matching by =~` in a class method with $1 - accepts matching by =~` in method with Regexp.last_match(1) - registers an offense for matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in method before `$2` - registers an offense for matching by =~` in class, `$&` is in method - corrects matching by =~` in method, `$~` is in other method - accepts matching by =~` in method with $& before if - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in module, `$~` is in method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in method, `$~` is in other method + corrects matching by =~` in method before `$'` + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with $' before if + registers an offense for matching by =~` in method, `$1` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in a class method with $` + corrects matching by =~` in method, `$2` is in other method accepts matching by =~` in method with $2 before if - registers an offense for matching by =~` in class method, `$MATCH` is in other method - behaves like all legacy match methods - corrects Symbol#match method call in class method, `$`` is in other method - accepts Symbol#match method call in method with $' - corrects Symbol#match method call in method before `$MATCH` - registers an offense for Symbol#match method call in elsif condition - accepts Symbol#match method call in guard condition with $MATCH is used in the line after that - registers an offense for Symbol#match method call in class method, `$1` is in other method - corrects Symbol#match method call in class, `$`` is in method - corrects Symbol#match method call in if guard condition with $& is used in another method - corrects Symbol#match method call in if guard condition with $100 is used in another method - registers an offense for Symbol#match method call in class method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call in class method, `$~` is in other method - accepts Symbol#match method call in method with $~ before if - accepts Symbol#match method call in method with Regexp.last_match before unless - registers an offense for Symbol#match method call in if guard condition with $1 is used in another method - corrects Symbol#match method call in module, `Regexp.last_match` is in method - registers an offense for Symbol#match method call in method, `$`` is in other method - accepts Symbol#match method call in method with $& in block - corrects Symbol#match method call in module, `$&` is in method - accepts Symbol#match method call in method with $2 in block - accepts Symbol#match method call in method with Regexp.last_match(1) in block - accepts Symbol#match method call in a class method with Regexp.last_match(1) - corrects Symbol#match method call in class method, `$1` is in other method - accepts Symbol#match method call in guard condition with $1 is used in the line after that - corrects Symbol#match method call in class method, `Regexp.last_match` is in other method - accepts Symbol#match method call in method with $1 before unless - corrects Symbol#match method call in class method, `$100` is in other method - corrects Symbol#match method call in class, `$&` is in method - corrects Symbol#match method call in method, `$1` is in other method - accepts Symbol#match method call in method with $MATCH before if - registers an offense for Symbol#match method call in module, `$2` is in method - corrects Symbol#match method call in method, `$&` is in other method - accepts Symbol#match method call in method with $` - registers an offense for Symbol#match method call in method, `$&` is in other method - accepts Symbol#match method call in method with Regexp.last_match in block - registers an offense for Symbol#match method call, $' reference is overrided - registers an offense for Symbol#match method call in if guard condition with $MATCH is used in another method - corrects Symbol#match method call in class, `$MATCH` is in method - corrects Symbol#match method call in method, `$~` is in other method - registers an offense for Symbol#match method call in class, `$MATCH` is in method - registers an offense for Symbol#match method call in method, `Regexp.last_match` is in other method - registers an offense for Symbol#match method call in method, `$'` is in other method - registers an offense for Symbol#match method call in class method, `$2` is in other method - corrects Symbol#match method call in module, `$100` is in method - accepts Symbol#match method call in method with $` before unless - registers an offense for Symbol#match method call in class, `$`` is in method - registers an offense for Symbol#match method call in if guard condition with Regexp.last_match is used in another method - accepts Symbol#match method call in method with $MATCH in block - registers an offense for Symbol#match method call in if guard condition with $' is used in another method - registers an offense for Symbol#match method call, $100 reference is overrided - registers an offense for Symbol#match method call in class, `$2` is in method - corrects Symbol#match method call in if guard condition with $` is used in another method - registers an offense for Symbol#match method call in unless condition - registers an offense for Symbol#match method call in method before `Regexp.last_match(1)` - registers an offense for Symbol#match method call in class, `Regexp.last_match` is in method - accepts Symbol#match method call in method with $1 in block - accepts Symbol#match method call in method with Regexp.last_match(1) before if - registers an offense for Symbol#match method call in method before `$100` - accepts Symbol#match method call in method with $' before if - corrects Symbol#match method call in class, `$1` is in method - corrects Symbol#match method call in if condition - corrects Symbol#match method call in class method, `$~` is in other method - corrects Symbol#match method call, $100 reference is overrided - corrects Symbol#match method call in method, `$'` is in other method - accepts Symbol#match method call in a class method with $MATCH - registers an offense for Symbol#match method call in if guard condition with $100 is used in another method - registers an offense for Symbol#match method call in method before `$MATCH` - accepts Symbol#match method call in method with $100 - registers an offense for Symbol#match method call, $2 reference is overrided - registers an offense for Symbol#match method call in module, `$1` is in method - registers an offense for Symbol#match method call in class method, `$&` is in other method - corrects Symbol#match method call in method before `$100` - corrects Symbol#match method call in class, `$'` is in method - corrects Symbol#match method call in method before `$'` - registers an offense for Symbol#match method call in module, `$&` is in method - corrects Symbol#match method call in if guard condition with $2 is used in another method - corrects Symbol#match method call in method before `$1` - accepts Symbol#match method call in method with $1 before if - registers an offense for Symbol#match method call in class method, `$`` is in other method - registers an offense for Symbol#match method call in class, `$&` is in method - corrects Symbol#match method call in method before `Regexp.last_match` - corrects Symbol#match method call, $~ reference is overrided - corrects Symbol#match method call in method definition - accepts Symbol#match method call in method with Regexp.last_match(1) before unless - registers an offense for Symbol#match method call in module, `$~` is in method - accepts Symbol#match method call in method with Regexp.last_match before if - accepts Symbol#match method call in method with $& before if - corrects Symbol#match method call in if guard condition with $MATCH is used in another method - accepts Symbol#match method call in guard condition with $100 is used in the line after that - accepts Symbol#match method call in a class method with Regexp.last_match - accepts Symbol#match method call in a class method with $` - accepts Symbol#match method call in method with $2 before unless - registers an offense for Symbol#match method call in method before `Regexp.last_match` - corrects Symbol#match method call, Regexp.last_match reference is overrided - registers an offense for Symbol#match method call in if guard condition with $~ is used in another method - corrects Symbol#match method call in class method, `$&` is in other method - corrects Symbol#match method call in method, `$100` is in other method - accepts Symbol#match method call in method with $100 before unless - registers an offense for Symbol#match method call, $& reference is overrided - registers an offense for Symbol#match method call in class, `$100` is in method - corrects Symbol#match method call in module, `$MATCH` is in method - accepts Symbol#match method call in guard condition with $~ is used in the line after that - registers an offense for Symbol#match method call in module, `Regexp.last_match(1)` is in method - registers an offense for Symbol#match method call in if guard condition with $& is used in another method - accepts Symbol#match method call in guard condition with $2 is used in the line after that - corrects Symbol#match method call in method, `Regexp.last_match` is in other method - corrects Symbol#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call in module, `$`` is in method - corrects Symbol#match method call in class, `Regexp.last_match(1)` is in method - registers an offense for Symbol#match method call in method, `$100` is in other method - corrects Symbol#match method call in module, `$'` is in method - accepts Symbol#match method call in guard condition with $` is used in the line after that - accepts Symbol#match method call in method with $& before unless - accepts Symbol#match method call in guard condition with Regexp.last_match is used in the line after that - corrects Symbol#match method call, $1 reference is overrided - corrects Symbol#match method call in class method, `$MATCH` is in other method - corrects Symbol#match method call in if guard condition with $' is used in another method - corrects Symbol#match method call, $` reference is overrided - registers an offense for Symbol#match method call in module, `$'` is in method - corrects Symbol#match method call in class method, `Regexp.last_match(1)` is in other method - corrects Symbol#match method call in class, `$~` is in method - corrects Symbol#match method call in elsif condition - registers an offense for Symbol#match method call in if condition - corrects Symbol#match method call in method before `$`` - corrects Symbol#match method call, $& reference is overrided - registers an offense for Symbol#match method call in class method, `Regexp.last_match` is in other method - accepts Symbol#match method call in method with $2 - accepts Symbol#match method call in method with $` in block - accepts Symbol#match method call in method with $' before unless - corrects Symbol#match method call in class, `$100` is in method - registers an offense for Symbol#match method call in method before `$~` - registers an offense for Symbol#match method call in module, `Regexp.last_match` is in method - registers an offense for Symbol#match method call in class, `$1` is in method - registers an offense for Symbol#match method call in if condition - corrects Symbol#match method call in class method, `$'` is in other method - accepts Symbol#match method call in method with Regexp.last_match(1) - corrects Symbol#match method call, $' reference is overrided - registers an offense for Symbol#match method call in module, `$100` is in method - accepts Symbol#match method call in a class method with $2 - corrects Symbol#match method call in method, `$MATCH` is in other method - corrects Symbol#match method call in unless condition - registers an offense for Symbol#match method call, $~ reference is overrided - registers an offense for Symbol#match method call in if guard condition with Regexp.last_match(1) is used in another method - corrects Symbol#match method call in class, `$2` is in method - corrects Symbol#match method call in method before `$2` - corrects Symbol#match method call in method before `$&` - accepts Symbol#match method call in method with $100 in block - corrects Symbol#match method call in class method, `$2` is in other method - registers an offense for Symbol#match method call in ternary operator - registers an offense for Symbol#match method call in if guard condition with $` is used in another method - registers an offense for Symbol#match method call in method before `$`` - corrects Symbol#match method call in if condition - accepts Symbol#match method call in method with $MATCH - corrects Symbol#match method call in method before `$~` - corrects Symbol#match method call, $MATCH reference is overrided - accepts Symbol#match method call in guard condition with Regexp.last_match(1) is used in the line after that - accepts Symbol#match method call in method with $` before if - registers an offense for Symbol#match method call in class method, `$100` is in other method - registers an offense for Symbol#match method call in case condition - corrects Symbol#match method call in if guard condition with $1 is used in another method - accepts Symbol#match method call in guard condition with $' is used in the line after that - accepts Symbol#match method call in a class method with $100 - registers an offense for Symbol#match method call in method before `$1` - accepts Symbol#match method call in method with $' in block - accepts Symbol#match method call in method with $MATCH before unless - accepts Symbol#match method call in method with $~ before unless - registers an offense for Symbol#match method call in method, `$MATCH` is in other method - registers an offense for Symbol#match method call in unless condition - registers an offense for Symbol#match method call in module, `$MATCH` is in method - corrects Symbol#match method call in if guard condition with Regexp.last_match(1) is used in another method - accepts Symbol#match method call in method with Regexp.last_match - corrects Symbol#match method call in if guard condition with $~ is used in another method - registers an offense for Symbol#match method call, $` reference is overrided - corrects Symbol#match method call in class, `Regexp.last_match` is in method - corrects Symbol#match method call in module, `$~` is in method - registers an offense for Symbol#match method call in method, `$1` is in other method - accepts Symbol#match method call in method with $~ in block - registers an offense for Symbol#match method call in method definition - registers an offense for Symbol#match method call in class, `$'` is in method - accepts Symbol#match method call in a class method with $' - registers an offense for Symbol#match method call in method, `$2` is in other method - accepts Symbol#match method call in method with $2 before if - corrects Symbol#match method call in module, `$1` is in method - corrects Symbol#match method call in module, `Regexp.last_match(1)` is in method - corrects Symbol#match method call in module, `$`` is in method - registers an offense for Symbol#match method call, Regexp.last_match(1) reference is overrided - corrects Symbol#match method call in method, `$2` is in other method - accepts Symbol#match method call in method with $~ - corrects Symbol#match method call in case condition - accepts Symbol#match method call in a class method with $~ - accepts Symbol#match method call in method with $& - registers an offense for Symbol#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call in method, `$~` is in other method - corrects Symbol#match method call, $2 reference is overrided - registers an offense for Symbol#match method call, $1 reference is overrided - accepts Symbol#match method call in method with $1 - registers an offense for Symbol#match method call in class, `$~` is in method - accepts Symbol#match method call in a class method with $1 - corrects Symbol#match method call, Regexp.last_match(1) reference is overrided - registers an offense for Symbol#match method call in method before `$&` - registers an offense for Symbol#match method call in if guard condition with $2 is used in another method - registers an offense for Symbol#match method call in class, `Regexp.last_match(1)` is in method - registers an offense for Symbol#match method call in class method, `$MATCH` is in other method - corrects Symbol#match method call in method before `Regexp.last_match(1)` - accepts Symbol#match method call in method with $100 before if - registers an offense for Symbol#match method call in method before `$'` - corrects Symbol#match method call in if guard condition with Regexp.last_match is used in another method - corrects Symbol#match method call in ternary operator - registers an offense for Symbol#match method call in class method, `$'` is in other method - registers an offense for Symbol#match method call, $MATCH reference is overrided - accepts Symbol#match method call in a class method with $& - accepts Symbol#match method call in guard condition with $& is used in the line after that - registers an offense for Symbol#match method call, Regexp.last_match reference is overrided - corrects Symbol#match method call in unless condition - corrects Symbol#match method call in module, `$2` is in method - corrects Symbol#match method call in method, `$`` is in other method - registers an offense for Symbol#match method call in method before `$2` + corrects matching by =~` in class, `$1` is in method + accepts matching by =~` in method with $MATCH in block + registers an offense for matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in class, `$100` is in method behaves like all legacy match methods - corrects Regexp#match method call in method, `$'` is in other method - registers an offense for Regexp#match method call in class, `$2` is in method - accepts Regexp#match method call in method with $2 before unless + corrects Regexp#match method call, $' reference is overrided + registers an offense for Regexp#match method call, Regexp.last_match reference is overrided + accepts Regexp#match method call in method with $& in block + registers an offense for Regexp#match method call in method before `$~` registers an offense for Regexp#match method call in if guard condition with $~ is used in another method - accepts Regexp#match method call in method with Regexp.last_match(1) in block - corrects Regexp#match method call in if condition - accepts Regexp#match method call in method with $2 in block - accepts Regexp#match method call in a class method with $~ - registers an offense for Regexp#match method call, $100 reference is overrided - accepts Regexp#match method call in method with $1 - registers an offense for Regexp#match method call in method, `$MATCH` is in other method - corrects Regexp#match method call in class method, `$2` is in other method - registers an offense for Regexp#match method call in method, `Regexp.last_match` is in other method - registers an offense for Regexp#match method call in method before `$2` - corrects Regexp#match method call in class method, `$'` is in other method - registers an offense for Regexp#match method call in method, `$100` is in other method + registers an offense for Regexp#match method call in class, `$&` is in method + accepts Regexp#match method call in method with $2 before if + registers an offense for Regexp#match method call in method definition + registers an offense for Regexp#match method call in class method, `Regexp.last_match` is in other method + corrects Regexp#match method call in case condition + registers an offense for Regexp#match method call in module, `Regexp.last_match` is in method + registers an offense for Regexp#match method call in method, `$1` is in other method + corrects Regexp#match method call in class method, `$`` is in other method + registers an offense for Regexp#match method call, $MATCH reference is overrided + registers an offense for Regexp#match method call in method before `$'` corrects Regexp#match method call in method, `$&` is in other method - corrects Regexp#match method call in class, `$1` is in method + corrects Regexp#match method call in class, `$2` is in method + accepts Regexp#match method call in method with $' in block + registers an offense for Regexp#match method call in method before `$MATCH` + accepts Regexp#match method call in a class method with $1 + corrects Regexp#match method call in class method, `Regexp.last_match` is in other method + registers an offense for Regexp#match method call in class, `$1` is in method + accepts Regexp#match method call in guard condition with $MATCH is used in the line after that + corrects Regexp#match method call in class method, `$100` is in other method + corrects Regexp#match method call, $100 reference is overrided + registers an offense for Regexp#match method call in if guard condition with $` is used in another method + corrects Regexp#match method call in method definition + registers an offense for Regexp#match method call in if condition + registers an offense for Regexp#match method call in unless condition + corrects Regexp#match method call, $& reference is overrided + accepts Regexp#match method call in guard condition with Regexp.last_match is used in the line after that + registers an offense for Regexp#match method call in method, `$`` is in other method + registers an offense for Regexp#match method call in method, `Regexp.last_match` is in other method + corrects Regexp#match method call in module, `$&` is in method + corrects Regexp#match method call in class method, `$~` is in other method + accepts Regexp#match method call in a class method with $` + corrects Regexp#match method call in module, `$2` is in method + corrects Regexp#match method call in class, `$`` is in method + accepts Regexp#match method call in method with $MATCH in block + accepts Regexp#match method call in method with $1 before unless + accepts Regexp#match method call in guard condition with $2 is used in the line after that + registers an offense for Regexp#match method call in class method, `$`` is in other method + registers an offense for Regexp#match method call in if guard condition with $1 is used in another method + registers an offense for Regexp#match method call in elsif condition + accepts Regexp#match method call in method with $100 in block + corrects Regexp#match method call in method, `$'` is in other method + accepts Regexp#match method call in a class method with Regexp.last_match(1) + registers an offense for Regexp#match method call in module, `$MATCH` is in method + corrects Regexp#match method call in elsif condition + registers an offense for Regexp#match method call in module, `$100` is in method + registers an offense for Regexp#match method call in method, `$~` is in other method registers an offense for Regexp#match method call in if guard condition with $2 is used in another method - registers an offense for Regexp#match method call in class method, `$2` is in other method - corrects Regexp#match method call in class method, `$1` is in other method - registers an offense for Regexp#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call in module, `Regexp.last_match` is in method - corrects Regexp#match method call in class, `Regexp.last_match(1)` is in method + registers an offense for Regexp#match method call in case condition + corrects Regexp#match method call in if condition + accepts Regexp#match method call in method with $100 + corrects Regexp#match method call, $MATCH reference is overrided + accepts Regexp#match method call in method with Regexp.last_match in block + registers an offense for Regexp#match method call, $& reference is overrided corrects Regexp#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call in class, `$'` is in method - registers an offense for Regexp#match method call in module, `$MATCH` is in method - accepts Regexp#match method call in method with Regexp.last_match(1) - corrects Regexp#match method call, $` reference is overrided - corrects Regexp#match method call in class method, `Regexp.last_match` is in other method - accepts Regexp#match method call in a class method with $100 - registers an offense for Regexp#match method call, Regexp.last_match(1) reference is overrided + accepts Regexp#match method call in method with $' + corrects Regexp#match method call in ternary operator + registers an offense for Regexp#match method call in class, `$100` is in method + registers an offense for Regexp#match method call in class, `Regexp.last_match(1)` is in method registers an offense for Regexp#match method call in module, `Regexp.last_match(1)` is in method - corrects Regexp#match method call in method, `$1` is in other method - accepts Regexp#match method call in method with $100 before unless - registers an offense for Regexp#match method call in class method, `$100` is in other method - accepts Regexp#match method call in method with $' in block + corrects Regexp#match method call in method before `$2` corrects Regexp#match method call in module, `$MATCH` is in method - accepts Regexp#match method call in method with $` before unless - registers an offense for Regexp#match method call in method before `$~` - corrects Regexp#match method call in if guard condition with $100 is used in another method registers an offense for Regexp#match method call, $2 reference is overrided - accepts Regexp#match method call in method with $1 in block - corrects Regexp#match method call in class, `$~` is in method - corrects Regexp#match method call in module, `$2` is in method - registers an offense for Regexp#match method call in class method, `$1` is in other method - registers an offense for Regexp#match method call, $` reference is overrided - corrects Regexp#match method call in method, `$2` is in other method - registers an offense for Regexp#match method call in method, `$1` is in other method corrects Regexp#match method call in unless condition + accepts Regexp#match method call in method with $1 + accepts Regexp#match method call in guard condition with $` is used in the line after that + accepts Regexp#match method call in method with $1 before if + accepts Regexp#match method call in method with $& + accepts Regexp#match method call in a class method with $' + corrects Regexp#match method call in class, `$1` is in method + corrects Regexp#match method call in method before `$`` + registers an offense for Regexp#match method call in method before `$2` + corrects Regexp#match method call in method, `$1` is in other method + corrects Regexp#match method call in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for Regexp#match method call in module, `$1` is in method + registers an offense for Regexp#match method call in class, `$'` is in method + corrects Regexp#match method call in module, `$100` is in method + registers an offense for Regexp#match method call in unless condition + corrects Regexp#match method call, $1 reference is overrided + accepts Regexp#match method call in method with $100 before if + corrects Regexp#match method call, $2 reference is overrided + accepts Regexp#match method call in method with $` before if + registers an offense for Regexp#match method call in module, `$2` is in method + corrects Regexp#match method call, Regexp.last_match reference is overrided + corrects Regexp#match method call in method before `$'` + accepts Regexp#match method call in method with $2 + corrects Regexp#match method call in method before `$~` + corrects Regexp#match method call in class method, `Regexp.last_match(1)` is in other method + corrects Regexp#match method call in method, `$`` is in other method + registers an offense for Regexp#match method call in if guard condition with Regexp.last_match is used in another method + registers an offense for Regexp#match method call in class method, `$1` is in other method + corrects Regexp#match method call in if guard condition with $100 is used in another method corrects Regexp#match method call in module, `Regexp.last_match(1)` is in method - accepts Regexp#match method call in guard condition with $' is used in the line after that - accepts Regexp#match method call in method with Regexp.last_match(1) before if - corrects Regexp#match method call in if guard condition with $& is used in another method - corrects Regexp#match method call, $' reference is overrided - accepts Regexp#match method call in method with $100 in block + corrects Regexp#match method call in method before `$1` + registers an offense for Regexp#match method call in if guard condition with $100 is used in another method + accepts Regexp#match method call in method with $MATCH before unless + accepts Regexp#match method call in method with $& before if + accepts Regexp#match method call in method with $MATCH + corrects Regexp#match method call in class method, `$&` is in other method + accepts Regexp#match method call in method with $' before unless + registers an offense for Regexp#match method call, $1 reference is overrided + corrects Regexp#match method call in class, `$~` is in method + registers an offense for Regexp#match method call in class, `Regexp.last_match` is in method + accepts Regexp#match method call in method with $1 in block + registers an offense for Regexp#match method call, Regexp.last_match(1) reference is overrided + accepts Regexp#match method call in method with $MATCH before if + accepts Regexp#match method call in method with Regexp.last_match(1) before unless + registers an offense for Regexp#match method call in method, `Regexp.last_match(1)` is in other method + corrects Regexp#match method call in method before `$MATCH` + corrects Regexp#match method call in module, `$`` is in method + registers an offense for Regexp#match method call in method before `Regexp.last_match` + registers an offense for Regexp#match method call in method before `$&` + corrects Regexp#match method call in method before `Regexp.last_match(1)` + corrects Regexp#match method call in method, `$~` is in other method + registers an offense for Regexp#match method call in class method, `Regexp.last_match(1)` is in other method + accepts Regexp#match method call in method with $` in block corrects Regexp#match method call in class, `Regexp.last_match` is in method - accepts Regexp#match method call in method with Regexp.last_match before unless - accepts Regexp#match method call in a class method with $MATCH - registers an offense for Regexp#match method call in class, `$1` is in method - corrects Regexp#match method call in method definition + corrects Regexp#match method call in method, `Regexp.last_match` is in other method + corrects Regexp#match method call in class, `$&` is in method corrects Regexp#match method call in class method, `$MATCH` is in other method - registers an offense for Regexp#match method call in method before `$&` + accepts Regexp#match method call in method with $` before unless + accepts Regexp#match method call in guard condition with $& is used in the line after that + corrects Regexp#match method call in class, `Regexp.last_match(1)` is in method registers an offense for Regexp#match method call, $' reference is overrided - accepts Regexp#match method call in method with $& before if - corrects Regexp#match method call in if guard condition with Regexp.last_match is used in another method - corrects Regexp#match method call in class, `$'` is in method - accepts Regexp#match method call in method with Regexp.last_match before if - corrects Regexp#match method call, $1 reference is overrided - accepts Regexp#match method call in method with $& before unless - accepts Regexp#match method call in method with $' + accepts Regexp#match method call in method with $2 in block + corrects Regexp#match method call in if guard condition with $~ is used in another method + registers an offense for Regexp#match method call in class method, `$2` is in other method + accepts Regexp#match method call in method with Regexp.last_match(1) in block registers an offense for Regexp#match method call in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for Regexp#match method call in method before `$'` - registers an offense for Regexp#match method call in method, `$~` is in other method - corrects Regexp#match method call in unless condition - registers an offense for Regexp#match method call in module, `$~` is in method - corrects Regexp#match method call, $MATCH reference is overrided - registers an offense for Regexp#match method call in class, `$~` is in method - corrects Regexp#match method call in if guard condition with $' is used in another method + registers an offense for Regexp#match method call in if guard condition with $MATCH is used in another method + corrects Regexp#match method call in class method, `$1` is in other method accepts Regexp#match method call in method with $~ in block - corrects Regexp#match method call in method before `$100` - accepts Regexp#match method call in method with $MATCH - corrects Regexp#match method call in class method, `$`` is in other method - accepts Regexp#match method call in guard condition with $~ is used in the line after that - accepts Regexp#match method call in method with $2 - registers an offense for Regexp#match method call in unless condition + corrects Regexp#match method call in method, `$MATCH` is in other method registers an offense for Regexp#match method call in method, `$'` is in other method - corrects Regexp#match method call in module, `$1` is in method - corrects Regexp#match method call in method, `$100` is in other method - corrects Regexp#match method call in method before `$1` - accepts Regexp#match method call in method with $1 before if - corrects Regexp#match method call in method, `$`` is in other method - accepts Regexp#match method call in method with $MATCH in block - accepts Regexp#match method call in a class method with Regexp.last_match(1) registers an offense for Regexp#match method call, $~ reference is overrided - accepts Regexp#match method call in method with Regexp.last_match(1) before unless - accepts Regexp#match method call in guard condition with Regexp.last_match is used in the line after that - corrects Regexp#match method call in method before `Regexp.last_match` - corrects Regexp#match method call in module, `$'` is in method - registers an offense for Regexp#match method call, $1 reference is overrided - corrects Regexp#match method call in module, `$&` is in method - registers an offense for Regexp#match method call in method before `$1` - corrects Regexp#match method call, $& reference is overrided - accepts Regexp#match method call in method with $2 before if - registers an offense for Regexp#match method call in class method, `$`` is in other method - accepts Regexp#match method call in method with $' before if - registers an offense for Regexp#match method call in module, `$&` is in method - accepts Regexp#match method call in guard condition with $` is used in the line after that - corrects Regexp#match method call, $2 reference is overrided - accepts Regexp#match method call in method with $100 - corrects Regexp#match method call in class method, `$&` is in other method - accepts Regexp#match method call in method with $& in block - corrects Regexp#match method call in if condition - corrects Regexp#match method call in case condition - registers an offense for Regexp#match method call in method before `$100` - registers an offense for Regexp#match method call in class method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call in unless condition - registers an offense for Regexp#match method call in method before `Regexp.last_match` + corrects Regexp#match method call in module, `Regexp.last_match` is in method + corrects Regexp#match method call in unless condition accepts Regexp#match method call in method with Regexp.last_match - registers an offense for Regexp#match method call in if guard condition with $1 is used in another method - accepts Regexp#match method call in a class method with $1 + accepts Regexp#match method call in method with $~ before unless + accepts Regexp#match method call in method with Regexp.last_match(1) + corrects Regexp#match method call, $~ reference is overrided registers an offense for Regexp#match method call in if guard condition with $& is used in another method - accepts Regexp#match method call in guard condition with Regexp.last_match(1) is used in the line after that - corrects Regexp#match method call in class method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call in class method, `$'` is in other method - registers an offense for Regexp#match method call, Regexp.last_match reference is overrided - registers an offense for Regexp#match method call in method, `$&` is in other method - registers an offense for Regexp#match method call in module, `$1` is in method - corrects Regexp#match method call in ternary operator - corrects Regexp#match method call in method before `$&` + registers an offense for Regexp#match method call in method, `$MATCH` is in other method + corrects Regexp#match method call in if guard condition with Regexp.last_match is used in another method + corrects Regexp#match method call, $` reference is overrided + corrects Regexp#match method call in class method, `$2` is in other method + accepts Regexp#match method call in a class method with Regexp.last_match + corrects Regexp#match method call in class, `$MATCH` is in method + registers an offense for Regexp#match method call in method, `$2` is in other method + corrects Regexp#match method call in module, `$1` is in method + registers an offense for Regexp#match method call in class method, `$&` is in other method + corrects Regexp#match method call in class, `$100` is in method + accepts Regexp#match method call in method with $~ before if + accepts Regexp#match method call in a class method with $~ + registers an offense for Regexp#match method call in class method, `$~` is in other method + accepts Regexp#match method call in method with Regexp.last_match before if + registers an offense for Regexp#match method call in method, `$100` is in other method accepts Regexp#match method call in guard condition with $1 is used in the line after that + accepts Regexp#match method call in method with $` + registers an offense for Regexp#match method call in class, `$2` is in method accepts Regexp#match method call in guard condition with $100 is used in the line after that - registers an offense for Regexp#match method call, $& reference is overrided - registers an offense for Regexp#match method call in method before `$MATCH` - accepts Regexp#match method call in method with $' before unless - registers an offense for Regexp#match method call in class, `$100` is in method - accepts Regexp#match method call in guard condition with $& is used in the line after that - registers an offense for Regexp#match method call in method definition - corrects Regexp#match method call in method before `Regexp.last_match(1)` - accepts Regexp#match method call in guard condition with $MATCH is used in the line after that - registers an offense for Regexp#match method call in module, `$'` is in method - corrects Regexp#match method call, $~ reference is overrided - corrects Regexp#match method call in class, `$`` is in method - registers an offense for Regexp#match method call in if guard condition with $100 is used in another method - corrects Regexp#match method call in if guard condition with $1 is used in another method - registers an offense for Regexp#match method call in if guard condition with Regexp.last_match is used in another method - registers an offense for Regexp#match method call in module, `$2` is in method - corrects Regexp#match method call in elsif condition - corrects Regexp#match method call in class, `$2` is in method - registers an offense for Regexp#match method call in if condition - accepts Regexp#match method call in method with $MATCH before unless - registers an offense for Regexp#match method call in module, `$100` is in method - accepts Regexp#match method call in method with $~ - accepts Regexp#match method call in a class method with $` - registers an offense for Regexp#match method call, $MATCH reference is overrided - corrects Regexp#match method call in method, `$~` is in other method - corrects Regexp#match method call in class, `$&` is in method - registers an offense for Regexp#match method call in class, `$&` is in method - accepts Regexp#match method call in method with $1 before unless - registers an offense for Regexp#match method call in if guard condition with $' is used in another method - corrects Regexp#match method call in method, `Regexp.last_match` is in other method - corrects Regexp#match method call in class, `$100` is in method - corrects Regexp#match method call in module, `$~` is in method - registers an offense for Regexp#match method call in if guard condition with $` is used in another method + accepts Regexp#match method call in guard condition with $~ is used in the line after that + registers an offense for Regexp#match method call in method before `Regexp.last_match(1)` + registers an offense for Regexp#match method call in class method, `$'` is in other method + registers an offense for Regexp#match method call in module, `$`` is in method + corrects Regexp#match method call in method before `Regexp.last_match` + registers an offense for Regexp#match method call in method before `$1` + corrects Regexp#match method call in method, `$2` is in other method + corrects Regexp#match method call in if guard condition with $' is used in another method + registers an offense for Regexp#match method call in method before `$`` + corrects Regexp#match method call, Regexp.last_match(1) reference is overrided registers an offense for Regexp#match method call in class, `$MATCH` is in method + registers an offense for Regexp#match method call, $` reference is overrided + accepts Regexp#match method call in guard condition with Regexp.last_match(1) is used in the line after that + corrects Regexp#match method call in method before `$100` + corrects Regexp#match method call in if guard condition with $& is used in another method + corrects Regexp#match method call in method, `$100` is in other method + registers an offense for Regexp#match method call in class method, `$100` is in other method + registers an offense for Regexp#match method call in module, `$&` is in method + corrects Regexp#match method call in method before `$&` + registers an offense for Regexp#match method call in class, `$`` is in method + corrects Regexp#match method call in if guard condition with $1 is used in another method registers an offense for Regexp#match method call in if condition - accepts Regexp#match method call in method with $` in block - corrects Regexp#match method call in class, `$MATCH` is in method - registers an offense for Regexp#match method call in method, `$`` is in other method - accepts Regexp#match method call in method with $` - corrects Regexp#match method call in method, `$MATCH` is in other method - corrects Regexp#match method call in method before `$'` - corrects Regexp#match method call in method before `$MATCH` - accepts Regexp#match method call in method with Regexp.last_match in block - corrects Regexp#match method call in module, `$`` is in method - corrects Regexp#match method call in if guard condition with $~ is used in another method - corrects Regexp#match method call in module, `$100` is in method - registers an offense for Regexp#match method call in if guard condition with $MATCH is used in another method registers an offense for Regexp#match method call in ternary operator - corrects Regexp#match method call in method before `$2` - accepts Regexp#match method call in a class method with $2 - corrects Regexp#match method call in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for Regexp#match method call in method, `$&` is in other method + registers an offense for Regexp#match method call in module, `$'` is in method + registers an offense for Regexp#match method call in module, `$~` is in method corrects Regexp#match method call in if guard condition with $` is used in another method - corrects Regexp#match method call, Regexp.last_match(1) reference is overrided - registers an offense for Regexp#match method call in class method, `$~` is in other method - corrects Regexp#match method call in class method, `$100` is in other method - registers an offense for Regexp#match method call in class, `Regexp.last_match` is in method - corrects Regexp#match method call in if guard condition with $MATCH is used in another method - registers an offense for Regexp#match method call in module, `$`` is in method - registers an offense for Regexp#match method call in class method, `Regexp.last_match` is in other method - accepts Regexp#match method call in method with $~ before if - accepts Regexp#match method call in guard condition with $2 is used in the line after that - corrects Regexp#match method call in method before `$`` + registers an offense for Regexp#match method call in if guard condition with $' is used in another method + registers an offense for Regexp#match method call, $100 reference is overrided + accepts Regexp#match method call in a class method with $100 + accepts Regexp#match method call in method with $~ + registers an offense for Regexp#match method call in class, `$~` is in method + accepts Regexp#match method call in method with Regexp.last_match(1) before if + corrects Regexp#match method call in class method, `$'` is in other method + accepts Regexp#match method call in a class method with $2 + corrects Regexp#match method call in if guard condition with $2 is used in another method + corrects Regexp#match method call in class, `$'` is in method + corrects Regexp#match method call in module, `$'` is in method + corrects Regexp#match method call in module, `$~` is in method accepts Regexp#match method call in a class method with $& - corrects Regexp#match method call in module, `Regexp.last_match` is in method - registers an offense for Regexp#match method call in method before `Regexp.last_match(1)` - registers an offense for Regexp#match method call in class method, `$&` is in other method - corrects Regexp#match method call, Regexp.last_match reference is overrided - registers an offense for Regexp#match method call in class, `Regexp.last_match(1)` is in method - accepts Regexp#match method call in a class method with $' - corrects Regexp#match method call in class method, `$~` is in other method - accepts Regexp#match method call in method with $~ before unless - corrects Regexp#match method call, $100 reference is overrided - registers an offense for Regexp#match method call in class, `$`` is in method registers an offense for Regexp#match method call in class method, `$MATCH` is in other method - registers an offense for Regexp#match method call in case condition - accepts Regexp#match method call in method with $100 before if - corrects Regexp#match method call in if guard condition with $2 is used in another method - accepts Regexp#match method call in method with $& - accepts Regexp#match method call in method with $` before if - registers an offense for Regexp#match method call in elsif condition - corrects Regexp#match method call in method before `$~` - accepts Regexp#match method call in a class method with Regexp.last_match - registers an offense for Regexp#match method call in method before `$`` - registers an offense for Regexp#match method call in method, `$2` is in other method - accepts Regexp#match method call in method with $MATCH before if + accepts Regexp#match method call in a class method with $MATCH + registers an offense for Regexp#match method call in method before `$100` + accepts Regexp#match method call in method with Regexp.last_match before unless + accepts Regexp#match method call in method with $& before unless + accepts Regexp#match method call in guard condition with $' is used in the line after that + corrects Regexp#match method call in if condition + accepts Regexp#match method call in method with $100 before unless + accepts Regexp#match method call in method with $2 before unless + accepts Regexp#match method call in method with $' before if + corrects Regexp#match method call in if guard condition with $MATCH is used in another method behaves like all legacy match methods - registers an offense for matching by ===` in module, `$2` is in method - accepts matching by ===` in method with $2 in block - corrects matching by ===`, $` reference is overrided - registers an offense for matching by ===`, $1 reference is overrided - corrects matching by ===` in method, `$MATCH` is in other method - registers an offense for matching by ===` in class, `$`` is in method - registers an offense for matching by ===` in method, `$1` is in other method - registers an offense for matching by ===` in module, `Regexp.last_match(1)` is in method - corrects matching by ===` in module, `$2` is in method - corrects matching by ===` in class, `$~` is in method - registers an offense for matching by ===` in ternary operator - corrects matching by ===` in class, `Regexp.last_match` is in method - accepts matching by ===` in method with $' - registers an offense for matching by ===` in method, `$'` is in other method - registers an offense for matching by ===`, $~ reference is overrided - registers an offense for matching by ===`, Regexp.last_match reference is overrided - corrects matching by ===` in if guard condition with Regexp.last_match is used in another method - accepts matching by ===` in method with $~ in block - registers an offense for matching by ===` in module, `$'` is in method - corrects matching by ===` in module, `$'` is in method + corrects matching by ===` in method, `$'` is in other method + corrects matching by ===`, Regexp.last_match reference is overrided + corrects matching by ===` in method, `Regexp.last_match` is in other method + accepts matching by ===` in method with $100 before if + registers an offense for matching by ===` in class method, `$100` is in other method corrects matching by ===` in if guard condition with $2 is used in another method - registers an offense for matching by ===` in module, `$100` is in method - registers an offense for matching by ===` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by ===` in if guard condition with $~ is used in another method - registers an offense for matching by ===` in unless condition + registers an offense for matching by ===` in module, `$&` is in method + corrects matching by ===` in module, `Regexp.last_match(1)` is in method + accepts matching by ===` in a class method with $~ + corrects matching by ===` in class, `Regexp.last_match` is in method + corrects matching by ===`, $1 reference is overrided + registers an offense for matching by ===`, $MATCH reference is overrided accepts matching by ===` in method with $1 before unless - accepts matching by ===` in method with Regexp.last_match(1) before if - accepts matching by ===` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by ===` in method with $1 before if - registers an offense for matching by ===`, Regexp.last_match(1) reference is overrided + corrects matching by ===`, $2 reference is overrided + accepts matching by ===` in method with $1 in block + corrects matching by ===` in ternary operator + accepts matching by ===` in method with $& before if + registers an offense for matching by ===` in if guard condition with $MATCH is used in another method + corrects matching by ===` in class, `$1` is in method + registers an offense for matching by ===` in class, `Regexp.last_match` is in method + registers an offense for matching by ===`, $~ reference is overrided + corrects matching by ===` in class, `$`` is in method + accepts matching by ===` in a class method with $2 + accepts matching by ===` in guard condition with $` is used in the line after that + corrects matching by ===` in method definition corrects matching by ===` in method before `$~` - accepts matching by ===` in method with $' before if - accepts matching by ===` in method with Regexp.last_match in block - corrects matching by ===` in module, `$1` is in method - registers an offense for matching by ===`, $MATCH reference is overrided - corrects matching by ===` in class method, `Regexp.last_match(1)` is in other method - corrects matching by ===` in class, `$2` is in method + registers an offense for matching by ===` in module, `$100` is in method + corrects matching by ===` in if condition registers an offense for matching by ===`, $` reference is overrided - accepts matching by ===` in guard condition with Regexp.last_match is used in the line after that - corrects matching by ===` in class method, `$~` is in other method - corrects matching by ===` in class method, `$MATCH` is in other method - registers an offense for matching by ===`, $2 reference is overrided - corrects matching by ===` in module, `$&` is in method - corrects matching by ===` in module, `$100` is in method - corrects matching by ===` in class, `$MATCH` is in method - accepts matching by ===` in a class method with $2 - registers an offense for matching by ===` in module, `$~` is in method - corrects matching by ===`, $MATCH reference is overrided + corrects matching by ===` in module, `$2` is in method + corrects matching by ===` in if guard condition with $MATCH is used in another method + registers an offense for matching by ===` in method, `$2` is in other method + accepts matching by ===` in a class method with $& + corrects matching by ===` in class, `$2` is in method + registers an offense for matching by ===` in method, `Regexp.last_match` is in other method + accepts matching by ===` in method with $2 + accepts matching by ===` in method with $` in block + corrects matching by ===` in if guard condition with $' is used in another method registers an offense for matching by ===` in method definition - accepts matching by ===` in method with Regexp.last_match(1) in block - accepts matching by ===` in a class method with $1 + accepts matching by ===` in method with $MATCH before if + corrects matching by ===` in if condition + corrects matching by ===`, $& reference is overrided + corrects matching by ===` in class, `$MATCH` is in method + registers an offense for matching by ===` in method, `$~` is in other method + accepts matching by ===` in method with $& before unless + registers an offense for matching by ===`, Regexp.last_match(1) reference is overrided + corrects matching by ===` in if guard condition with $1 is used in another method + accepts matching by ===` in method with $' before if + accepts matching by ===` in method with $1 before if + accepts matching by ===` in method with Regexp.last_match before if + corrects matching by ===` in method, `$1` is in other method + corrects matching by ===` in module, `$1` is in method corrects matching by ===` in module, `$~` is in method - accepts matching by ===` in method with $1 - registers an offense for matching by ===` in if guard condition with $& is used in another method - accepts matching by ===` in method with $& in block - corrects matching by ===` in class method, `$2` is in other method - accepts matching by ===` in guard condition with $& is used in the line after that - accepts matching by ===` in a class method with $' + registers an offense for matching by ===` in method, `$100` is in other method + corrects matching by ===` in method before `$2` + accepts matching by ===` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by ===` in class, `$&` is in method + corrects matching by ===` in if guard condition with Regexp.last_match is used in another method + accepts matching by ===` in method with Regexp.last_match(1) before if + corrects matching by ===` in method, `$~` is in other method + registers an offense for matching by ===` in module, `$~` is in method + registers an offense for matching by ===` in module, `Regexp.last_match(1)` is in method + accepts matching by ===` in method with Regexp.last_match + corrects matching by ===` in unless condition registers an offense for matching by ===` in method, `$MATCH` is in other method - corrects matching by ===` in method, `Regexp.last_match(1)` is in other method - corrects matching by ===` in method, `$&` is in other method - accepts matching by ===` in a class method with $& - corrects matching by ===` in class method, `$1` is in other method - registers an offense for matching by ===` in if guard condition with $MATCH is used in another method - accepts matching by ===` in method with $100 in block + corrects matching by ===` in method before `$`` + registers an offense for matching by ===` in class, `$~` is in method + registers an offense for matching by ===` in method, `$&` is in other method + corrects matching by ===`, $~ reference is overrided + registers an offense for matching by ===` in class method, `$2` is in other method + accepts matching by ===` in method with $` + registers an offense for matching by ===` in class, `$'` is in method + registers an offense for matching by ===` in method before `$'` + corrects matching by ===` in class, `$'` is in method + registers an offense for matching by ===` in module, `$`` is in method + corrects matching by ===` in class, `$100` is in method + registers an offense for matching by ===` in unless condition + corrects matching by ===` in method before `$MATCH` + corrects matching by ===` in class, `$~` is in method + accepts matching by ===` in method with $' in block + corrects matching by ===` in if guard condition with $~ is used in another method + registers an offense for matching by ===` in method before `$MATCH` + corrects matching by ===` in if guard condition with $100 is used in another method + registers an offense for matching by ===` in method, `Regexp.last_match(1)` is in other method + accepts matching by ===` in guard condition with $~ is used in the line after that + corrects matching by ===` in class method, `$`` is in other method + registers an offense for matching by ===` in module, `$1` is in method + registers an offense for matching by ===` in if guard condition with $~ is used in another method + registers an offense for matching by ===`, $' reference is overrided + accepts matching by ===` in method with $' accepts matching by ===` in a class method with $MATCH - accepts matching by ===` in method with $1 in block - accepts matching by ===` in method with Regexp.last_match(1) - corrects matching by ===` in if guard condition with $& is used in another method - corrects matching by ===` in if condition - accepts matching by ===` in method with $& before unless - corrects matching by ===` in ternary operator - corrects matching by ===` in method definition - registers an offense for matching by ===` in class method, `$'` is in other method - corrects matching by ===` in method, `$'` is in other method - corrects matching by ===` in if guard condition with $MATCH is used in another method - registers an offense for matching by ===` in if guard condition with $100 is used in another method - corrects matching by ===` in method, `Regexp.last_match` is in other method - registers an offense for matching by ===` in if condition + registers an offense for matching by ===` in class, `$100` is in method accepts matching by ===` in guard condition with $' is used in the line after that - corrects matching by ===` in class, `$'` is in method - corrects matching by ===` in method before `$100` - accepts matching by ===` in method with $MATCH - registers an offense for matching by ===` in class, `Regexp.last_match` is in method - registers an offense for matching by ===` in method before `$'` registers an offense for matching by ===` in method before `$&` - corrects matching by ===` in method, `$100` is in other method - corrects matching by ===` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by ===` in method with $` - corrects matching by ===` in class, `$1` is in method - registers an offense for matching by ===` in class method, `Regexp.last_match(1)` is in other method - accepts matching by ===` in method with $MATCH in block - registers an offense for matching by ===` in method before `Regexp.last_match` - corrects matching by ===` in module, `$MATCH` is in method - accepts matching by ===` in method with $100 before if - accepts matching by ===` in method with $2 - registers an offense for matching by ===` in elsif condition - registers an offense for matching by ===` in module, `$&` is in method - registers an offense for matching by ===` in class, `Regexp.last_match(1)` is in method - corrects matching by ===` in method before `$2` - corrects matching by ===` in unless condition - corrects matching by ===`, $100 reference is overrided - registers an offense for matching by ===` in if guard condition with $` is used in another method + registers an offense for matching by ===` in method before `$100` + registers an offense for matching by ===` in if guard condition with $1 is used in another method + corrects matching by ===` in class method, `$'` is in other method registers an offense for matching by ===` in class method, `$&` is in other method - registers an offense for matching by ===` in class method, `$100` is in other method - registers an offense for matching by ===` in class, `$MATCH` is in method + registers an offense for matching by ===` in class method, `$MATCH` is in other method + accepts matching by ===` in method with Regexp.last_match(1) in block + accepts matching by ===` in method with $` before unless + registers an offense for matching by ===` in method before `Regexp.last_match` + accepts matching by ===` in method with $' before unless + registers an offense for matching by ===` in class, `$`` is in method + registers an offense for matching by ===` in unless condition + registers an offense for matching by ===` in if condition + registers an offense for matching by ===` in if guard condition with $& is used in another method accepts matching by ===` in method with $~ before unless - accepts matching by ===` in method with $~ before if - registers an offense for matching by ===` in class, `$'` is in method - registers an offense for matching by ===` in class, `$1` is in method + accepts matching by ===` in method with $100 before unless registers an offense for matching by ===` in module, `$MATCH` is in method + registers an offense for matching by ===` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by ===` in module, `$100` is in method + registers an offense for matching by ===` in method before `$~` + accepts matching by ===` in method with Regexp.last_match(1) corrects matching by ===`, $' reference is overrided - registers an offense for matching by ===` in method before `$MATCH` - registers an offense for matching by ===` in class method, `$`` is in other method - registers an offense for matching by ===` in module, `Regexp.last_match` is in method - corrects matching by ===` in class method, `$`` is in other method - registers an offense for matching by ===`, $100 reference is overrided - corrects matching by ===` in method, `$`` is in other method - registers an offense for matching by ===` in method, `Regexp.last_match` is in other method - accepts matching by ===` in a class method with Regexp.last_match + corrects matching by ===` in method, `$MATCH` is in other method + accepts matching by ===` in method with $~ in block + registers an offense for matching by ===` in class, `$MATCH` is in method + accepts matching by ===` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by ===` in class method, `Regexp.last_match(1)` is in other method + corrects matching by ===` in module, `$&` is in method + accepts matching by ===` in method with Regexp.last_match in block accepts matching by ===` in method with $` before if corrects matching by ===` in method before `$'` - corrects matching by ===` in class method, `Regexp.last_match` is in other method + registers an offense for matching by ===` in class, `Regexp.last_match(1)` is in method + corrects matching by ===` in if guard condition with $` is used in another method + corrects matching by ===` in method before `Regexp.last_match(1)` + registers an offense for matching by ===` in class method, `$~` is in other method + accepts matching by ===` in method with $1 + accepts matching by ===` in a class method with $` + accepts matching by ===` in guard condition with $& is used in the line after that + registers an offense for matching by ===`, $2 reference is overrided accepts matching by ===` in a class method with Regexp.last_match(1) - registers an offense for matching by ===` in method before `$1` - registers an offense for matching by ===` in if guard condition with $' is used in another method - registers an offense for matching by ===` in method before `$`` - corrects matching by ===` in class, `Regexp.last_match(1)` is in method - corrects matching by ===` in if guard condition with $' is used in another method - corrects matching by ===` in if condition - corrects matching by ===`, Regexp.last_match reference is overrided - corrects matching by ===` in method before `$`` + registers an offense for matching by ===` in if guard condition with $2 is used in another method + corrects matching by ===` in method before `$1` corrects matching by ===` in method before `$&` - corrects matching by ===` in class, `$100` is in method - accepts matching by ===` in guard condition with $~ is used in the line after that - corrects matching by ===` in class method, `$&` is in other method - corrects matching by ===` in case condition - registers an offense for matching by ===` in class method, `$2` is in other method - registers an offense for matching by ===` in class, `$2` is in method - corrects matching by ===` in module, `Regexp.last_match` is in method - registers an offense for matching by ===` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by ===` in method, `$2` is in other method - registers an offense for matching by ===` in class, `$100` is in method - corrects matching by ===`, $1 reference is overrided - registers an offense for matching by ===` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by ===` in method before `$~` - registers an offense for matching by ===` in class method, `Regexp.last_match` is in other method - corrects matching by ===` in method, `$1` is in other method - registers an offense for matching by ===` in method, `$`` is in other method - registers an offense for matching by ===` in if guard condition with $1 is used in another method - accepts matching by ===` in a class method with $100 - corrects matching by ===` in unless condition + corrects matching by ===`, Regexp.last_match(1) reference is overrided corrects matching by ===` in method before `Regexp.last_match` - corrects matching by ===` in class, `$&` is in method - registers an offense for matching by ===` in method, `$100` is in other method - accepts matching by ===` in method with $' before unless - corrects matching by ===` in class method, `$'` is in other method - registers an offense for matching by ===` in method, `$~` is in other method - accepts matching by ===` in guard condition with $1 is used in the line after that - accepts matching by ===` in method with Regexp.last_match(1) before unless - registers an offense for matching by ===` in method before `$2` - registers an offense for matching by ===` in class method, `$MATCH` is in other method accepts matching by ===` in method with $2 before if - registers an offense for matching by ===`, $& reference is overrided - accepts matching by ===` in method with $` in block - corrects matching by ===` in method before `Regexp.last_match(1)` - accepts matching by ===` in method with $MATCH before unless - accepts matching by ===` in method with $100 before unless - accepts matching by ===` in a class method with $~ - registers an offense for matching by ===` in method before `Regexp.last_match(1)` - accepts matching by ===` in method with $~ - corrects matching by ===` in if guard condition with $~ is used in another method - registers an offense for matching by ===` in class method, `$1` is in other method - accepts matching by ===` in guard condition with $MATCH is used in the line after that accepts matching by ===` in guard condition with $100 is used in the line after that - registers an offense for matching by ===` in module, `$1` is in method - accepts matching by ===` in method with $' in block + registers an offense for matching by ===` in method before `$2` + corrects matching by ===` in method before `$100` + registers an offense for matching by ===`, $1 reference is overrided + registers an offense for matching by ===` in if guard condition with $' is used in another method + accepts matching by ===` in method with $MATCH + registers an offense for matching by ===` in module, `$'` is in method + registers an offense for matching by ===` in if guard condition with $100 is used in another method + registers an offense for matching by ===` in elsif condition + accepts matching by ===` in method with $100 in block + accepts matching by ===` in method with $~ before if + accepts matching by ===` in method with $2 before unless + corrects matching by ===` in class method, `$2` is in other method + registers an offense for matching by ===` in if condition + corrects matching by ===` in class method, `$1` is in other method + accepts matching by ===` in guard condition with $1 is used in the line after that + accepts matching by ===` in method with $MATCH in block + corrects matching by ===`, $100 reference is overrided + registers an offense for matching by ===` in class method, `$1` is in other method + registers an offense for matching by ===` in class method, `Regexp.last_match` is in other method accepts matching by ===` in guard condition with $2 is used in the line after that - registers an offense for matching by ===`, $' reference is overrided - registers an offense for matching by ===` in if guard condition with $2 is used in another method - corrects matching by ===` in method, `$2` is in other method + accepts matching by ===` in a class method with $1 accepts matching by ===` in method with Regexp.last_match before unless - corrects matching by ===` in method, `$~` is in other method - corrects matching by ===`, Regexp.last_match(1) reference is overrided - registers an offense for matching by ===` in class, `$&` is in method - registers an offense for matching by ===` in unless condition - accepts matching by ===` in method with $& before if - accepts matching by ===` in method with $100 + registers an offense for matching by ===` in ternary operator + corrects matching by ===` in class method, `$MATCH` is in other method + registers an offense for matching by ===` in class method, `$`` is in other method corrects matching by ===` in elsif condition - registers an offense for matching by ===` in class, `$~` is in method - registers an offense for matching by ===` in case condition - accepts matching by ===` in method with Regexp.last_match - corrects matching by ===` in module, `$`` is in method - accepts matching by ===` in method with Regexp.last_match before if - corrects matching by ===`, $~ reference is overrided - accepts matching by ===` in guard condition with $` is used in the line after that - accepts matching by ===` in method with $2 before unless - corrects matching by ===` in method before `$MATCH` - accepts matching by ===` in method with $MATCH before if - corrects matching by ===` in class method, `$100` is in other method - accepts matching by ===` in a class method with $` - corrects matching by ===` in method before `$1` - registers an offense for matching by ===` in module, `$`` is in method - registers an offense for matching by ===` in method, `$&` is in other method - registers an offense for matching by ===` in if condition - corrects matching by ===` in if guard condition with $` is used in another method - corrects matching by ===`, $2 reference is overrided - corrects matching by ===` in class, `$`` is in method - registers an offense for matching by ===` in method before `$100` - registers an offense for matching by ===` in class method, `$~` is in other method - corrects matching by ===` in if guard condition with $100 is used in another method - corrects matching by ===` in if guard condition with $1 is used in another method - corrects matching by ===`, $& reference is overrided + corrects matching by ===` in method, `$&` is in other method + registers an offense for matching by ===` in module, `Regexp.last_match` is in method + registers an offense for matching by ===`, $100 reference is overrided accepts matching by ===` in method with $& - accepts matching by ===` in method with $` before unless - corrects matching by ===` in module, `Regexp.last_match(1)` is in method - behaves like all legacy match methods - corrects matching by ===` in method before `Regexp.last_match(1)` - registers an offense for matching by ===` in method, `$`` is in other method - corrects matching by ===` in class method, `$~` is in other method - accepts matching by ===` in method with $100 in block - accepts matching by ===` in method with $1 - registers an offense for matching by ===` in class method, `$~` is in other method - registers an offense for matching by ===` in class, `$100` is in method - accepts matching by ===` in a class method with $MATCH - corrects matching by ===` in if guard condition with $100 is used in another method - registers an offense for matching by ===` in module, `$`` is in method - registers an offense for matching by ===` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by ===`, Regexp.last_match reference is overrided + accepts matching by ===` in method with $& in block + registers an offense for matching by ===` in method before `$1` + accepts matching by ===` in method with $MATCH before unless + corrects matching by ===` in method, `$100` is in other method + corrects matching by ===` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by ===` in class, `$1` is in method + corrects matching by ===` in class, `$&` is in method registers an offense for matching by ===` in module, `$2` is in method - registers an offense for matching by ===` in if guard condition with $& is used in another method - corrects matching by ===` in elsif condition - corrects matching by ===`, $2 reference is overrided - registers an offense for matching by ===` in method, `$&` is in other method - corrects matching by ===`, Regexp.last_match reference is overrided accepts matching by ===` in a class method with Regexp.last_match - registers an offense for matching by ===` in elsif condition - registers an offense for matching by ===` in ternary operator - corrects matching by ===` in class method, `$'` is in other method - accepts matching by ===` in method with Regexp.last_match(1) in block - accepts matching by ===` in guard condition with $100 is used in the line after that - corrects matching by ===` in module, `Regexp.last_match` is in method - registers an offense for matching by ===` in class, `$2` is in method - corrects matching by ===` in method before `Regexp.last_match` - accepts matching by ===` in method with $' - accepts matching by ===` in method with $~ - corrects matching by ===` in unless condition + corrects matching by ===` in class, `Regexp.last_match(1)` is in method accepts matching by ===` in guard condition with $MATCH is used in the line after that + accepts matching by ===` in method with $100 + registers an offense for matching by ===` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by ===` in method, `$`` is in other method + corrects matching by ===` in class method, `$100` is in other method + corrects matching by ===` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by ===` in method before `Regexp.last_match(1)` + registers an offense for matching by ===` in method before `$`` + corrects matching by ===` in module, `$MATCH` is in method + registers an offense for matching by ===`, Regexp.last_match reference is overrided corrects matching by ===` in class method, `Regexp.last_match` is in other method - accepts matching by ===` in method with $& in block - accepts matching by ===` in method with Regexp.last_match in block corrects matching by ===`, $` reference is overrided - corrects matching by ===` in module, `$2` is in method - corrects matching by ===` in module, `$&` is in method - registers an offense for matching by ===` in method before `Regexp.last_match` - corrects matching by ===` in class method, `$`` is in other method - registers an offense for matching by ===` in class method, `$100` is in other method - accepts matching by ===` in method with Regexp.last_match(1) - corrects matching by ===`, $' reference is overrided - accepts matching by ===` in method with $~ before unless - registers an offense for matching by ===` in module, `$1` is in method - registers an offense for matching by ===`, $` reference is overrided - registers an offense for matching by ===` in method before `$'` - registers an offense for matching by ===` in class, `$~` is in method - accepts matching by ===` in method with $100 before if - corrects matching by ===` in method before `$~` - corrects matching by ===` in if guard condition with $' is used in another method + registers an offense for matching by ===` in case condition + corrects matching by ===` in module, `$'` is in method + registers an offense for matching by ===` in class, `$2` is in method + corrects matching by ===` in case condition + accepts matching by ===` in a class method with $' accepts matching by ===` in a class method with $100 + registers an offense for matching by ===` in if guard condition with $` is used in another method + registers an offense for matching by ===`, $& reference is overrided + accepts matching by ===` in method with Regexp.last_match(1) before unless corrects matching by ===`, $MATCH reference is overrided - corrects matching by ===` in method before `$'` - registers an offense for matching by ===` in unless condition - accepts matching by ===` in guard condition with $2 is used in the line after that - registers an offense for matching by ===` in method before `$100` - registers an offense for matching by ===` in if condition - registers an offense for matching by ===` in method before `$MATCH` - registers an offense for matching by ===`, $100 reference is overrided - registers an offense for matching by ===` in class, `$1` is in method - corrects matching by ===` in class, `$1` is in method - corrects matching by ===`, $1 reference is overrided - corrects matching by ===`, $100 reference is overrided - accepts matching by ===` in method with $' before if - corrects matching by ===` in if guard condition with $MATCH is used in another method - registers an offense for matching by ===` in if guard condition with $2 is used in another method - accepts matching by ===` in method with $2 before if - accepts matching by ===` in a class method with $2 - registers an offense for matching by ===` in method before `$1` - accepts matching by ===` in method with Regexp.last_match before if - accepts matching by ===` in method with $MATCH - corrects matching by ===` in class method, `$100` is in other method - corrects matching by ===` in module, `$MATCH` is in method - corrects matching by ===` in method before `$`` - registers an offense for matching by ===` in if guard condition with $100 is used in another method - accepts matching by ===` in method with $1 before if - registers an offense for matching by ===`, $~ reference is overrided - corrects matching by ===` in method, `Regexp.last_match(1)` is in other method - accepts matching by ===` in method with Regexp.last_match(1) before if - corrects matching by ===` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by ===` in module, `$~` is in method - registers an offense for matching by ===` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by ===` in if guard condition with $' is used in another method - accepts matching by ===` in method with Regexp.last_match before unless - corrects matching by ===` in module, `$~` is in method - accepts matching by ===` in method with $' in block - corrects matching by ===` in class method, `$2` is in other method - accepts matching by ===` in method with $` before if - corrects matching by ===` in class, `Regexp.last_match(1)` is in method - accepts matching by ===` in method with $` before unless - corrects matching by ===` in method, `$~` is in other method - corrects matching by ===` in class, `$100` is in method - corrects matching by ===` in module, `$100` is in method - accepts matching by ===` in guard condition with $1 is used in the line after that - registers an offense for matching by ===` in class, `$&` is in method - registers an offense for matching by ===` in method, `Regexp.last_match` is in other method - accepts matching by ===` in method with $2 before unless + corrects matching by ===` in method, `$`` is in other method corrects matching by ===` in if guard condition with $& is used in another method - accepts matching by ===` in method with $2 in block - corrects matching by ===` in class method, `$&` is in other method registers an offense for matching by ===` in class method, `$'` is in other method - registers an offense for matching by ===` in unless condition - registers an offense for matching by ===` in class method, `$1` is in other method + corrects matching by ===` in class method, `$&` is in other method + accepts matching by ===` in method with $~ + registers an offense for matching by ===` in method, `$1` is in other method + corrects matching by ===` in class method, `$~` is in other method + registers an offense for matching by ===` in method, `$'` is in other method + corrects matching by ===` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by ===` in unless condition + accepts matching by ===` in method with $2 in block + corrects matching by ===` in module, `Regexp.last_match` is in method + corrects matching by ===` in module, `$`` is in method + corrects matching by ===` in method, `$2` is in other method + behaves like all legacy match methods registers an offense for matching by ===` in method before `$~` - accepts matching by ===` in guard condition with $' is used in the line after that - accepts matching by ===` in method with $& before if registers an offense for matching by ===` in class, `$MATCH` is in method - corrects matching by ===`, $~ reference is overrided - accepts matching by ===` in guard condition with $` is used in the line after that - corrects matching by ===` in method, `$MATCH` is in other method - corrects matching by ===`, $& reference is overrided - accepts matching by ===` in guard condition with Regexp.last_match is used in the line after that - corrects matching by ===` in method before `$MATCH` - accepts matching by ===` in method with $` - registers an offense for matching by ===` in method before `$2` - accepts matching by ===` in method with $~ before if - corrects matching by ===` in module, `Regexp.last_match(1)` is in method - accepts matching by ===` in method with $MATCH before unless - corrects matching by ===` in class method, `$1` is in other method - registers an offense for matching by ===` in method, `$2` is in other method - accepts matching by ===` in method with $2 - registers an offense for matching by ===` in class method, `$`` is in other method - registers an offense for matching by ===` in if guard condition with $` is used in another method - corrects matching by ===` in class method, `$MATCH` is in other method - registers an offense for matching by ===` in method before `$`` + corrects matching by ===` in if guard condition with $~ is used in another method + accepts matching by ===` in method with Regexp.last_match(1) in block + registers an offense for matching by ===` in method, `$MATCH` is in other method + registers an offense for matching by ===`, $& reference is overrided + corrects matching by ===` in ternary operator + accepts matching by ===` in method with $1 before unless + corrects matching by ===` in class method, `$2` is in other method + corrects matching by ===` in module, `$&` is in method accepts matching by ===` in a class method with $& - corrects matching by ===` in case condition - registers an offense for matching by ===` in class, `$'` is in method registers an offense for matching by ===` in module, `Regexp.last_match` is in method - registers an offense for matching by ===` in class method, `Regexp.last_match` is in other method - accepts matching by ===` in a class method with $' - accepts matching by ===` in method with $MATCH in block - registers an offense for matching by ===`, Regexp.last_match(1) reference is overrided - corrects matching by ===` in method before `$1` - corrects matching by ===` in unless condition - accepts matching by ===` in a class method with $1 - registers an offense for matching by ===` in module, `$&` is in method + corrects matching by ===` in class method, `Regexp.last_match` is in other method + registers an offense for matching by ===` in if guard condition with $' is used in another method + accepts matching by ===` in method with Regexp.last_match(1) before if + corrects matching by ===` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by ===` in class method, `$1` is in other method + corrects matching by ===` in method before `Regexp.last_match(1)` + corrects matching by ===` in if guard condition with Regexp.last_match is used in another method + accepts matching by ===` in method with Regexp.last_match(1) + registers an offense for matching by ===` in method before `Regexp.last_match(1)` + registers an offense for matching by ===` in class, `$1` is in method + registers an offense for matching by ===` in class method, `$2` is in other method + accepts matching by ===` in method with $~ before if + corrects matching by ===` in method, `$'` is in other method + accepts matching by ===` in a class method with Regexp.last_match(1) + registers an offense for matching by ===` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by ===`, $` reference is overrided + registers an offense for matching by ===`, $~ reference is overrided + accepts matching by ===` in guard condition with $~ is used in the line after that + corrects matching by ===`, $100 reference is overrided + corrects matching by ===`, $' reference is overrided + registers an offense for matching by ===` in method, `$'` is in other method + corrects matching by ===` in method, `$1` is in other method + registers an offense for matching by ===` in method before `$`` + corrects matching by ===` in module, `Regexp.last_match` is in method corrects matching by ===` in class, `$&` is in method + corrects matching by ===` in unless condition + registers an offense for matching by ===`, $MATCH reference is overrided + accepts matching by ===` in method with $100 before unless corrects matching by ===` in class, `$2` is in method - accepts matching by ===` in method with $MATCH before if - registers an offense for matching by ===` in method, `$1` is in other method - corrects matching by ===` in method, `$`` is in other method - accepts matching by ===` in method with $1 in block + accepts matching by ===` in method with $` before unless + registers an offense for matching by ===` in module, `$&` is in method + registers an offense for matching by ===` in class, `$2` is in method + corrects matching by ===`, $~ reference is overrided + corrects matching by ===` in class method, `$100` is in other method + accepts matching by ===` in guard condition with $' is used in the line after that + corrects matching by ===` in module, `$MATCH` is in method + corrects matching by ===`, $` reference is overrided + registers an offense for matching by ===` in module, `Regexp.last_match(1)` is in method + corrects matching by ===` in if guard condition with $MATCH is used in another method + registers an offense for matching by ===` in module, `$MATCH` is in method + registers an offense for matching by ===` in ternary operator + accepts matching by ===` in method with $1 + accepts matching by ===` in guard condition with $` is used in the line after that corrects matching by ===` in if guard condition with $1 is used in another method - accepts matching by ===` in method with $& before unless - accepts matching by ===` in method with $100 - registers an offense for matching by ===` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by ===` in method definition - registers an offense for matching by ===` in module, `$100` is in method - registers an offense for matching by ===` in method, `$100` is in other method - registers an offense for matching by ===` in if guard condition with $MATCH is used in another method - corrects matching by ===` in method, `$2` is in other method - corrects matching by ===` in method, `Regexp.last_match` is in other method + registers an offense for matching by ===` in class, `$'` is in method + registers an offense for matching by ===` in if guard condition with $2 is used in another method + registers an offense for matching by ===`, Regexp.last_match(1) reference is overrided + accepts matching by ===` in method with $1 in block corrects matching by ===` in module, `$`` is in method - accepts matching by ===` in method with $& - accepts matching by ===` in method with Regexp.last_match - accepts matching by ===` in method with Regexp.last_match(1) before unless - registers an offense for matching by ===` in class, `Regexp.last_match` is in method - corrects matching by ===` in class, `$MATCH` is in method - registers an offense for matching by ===` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by ===` in case condition - accepts matching by ===` in method with $1 before unless - registers an offense for matching by ===` in if guard condition with $~ is used in another method - corrects matching by ===` in method, `$&` is in other method - accepts matching by ===` in method with $` in block - registers an offense for matching by ===`, $' reference is overrided - accepts matching by ===` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by ===` in if condition - registers an offense for matching by ===` in class method, `$MATCH` is in other method + corrects matching by ===` in class, `$1` is in method + registers an offense for matching by ===` in method, `$2` is in other method registers an offense for matching by ===` in if guard condition with $1 is used in another method - registers an offense for matching by ===`, $MATCH reference is overrided - corrects matching by ===` in if condition - accepts matching by ===` in a class method with $` - registers an offense for matching by ===` in method definition + corrects matching by ===` in class, `$'` is in method + registers an offense for matching by ===` in unless condition + registers an offense for matching by ===` in module, `$~` is in method + corrects matching by ===` in module, `$2` is in method + corrects matching by ===` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by ===` in class method, `$`` is in other method + registers an offense for matching by ===` in if guard condition with $100 is used in another method registers an offense for matching by ===` in class, `$`` is in method - corrects matching by ===` in method before `$2` - corrects matching by ===` in ternary operator + corrects matching by ===` in method, `$MATCH` is in other method + corrects matching by ===`, $2 reference is overrided + accepts matching by ===` in a class method with $MATCH + corrects matching by ===` in method, `$`` is in other method + accepts matching by ===` in a class method with Regexp.last_match + registers an offense for matching by ===` in module, `$1` is in method + corrects matching by ===`, Regexp.last_match(1) reference is overrided + registers an offense for matching by ===` in method, `$1` is in other method + accepts matching by ===` in method with $~ corrects matching by ===` in module, `$1` is in method + accepts matching by ===` in a class method with $` + accepts matching by ===` in method with $2 before unless + corrects matching by ===` in module, `$100` is in method + corrects matching by ===` in method, `$~` is in other method + corrects matching by ===` in module, `$'` is in method + registers an offense for matching by ===` in module, `$100` is in method + corrects matching by ===` in method before `$~` + accepts matching by ===` in a class method with $2 + registers an offense for matching by ===` in module, `$`` is in method + registers an offense for matching by ===` in class method, `$100` is in other method + accepts matching by ===` in method with $` before if + corrects matching by ===` in class, `$~` is in method corrects matching by ===` in method, `$100` is in other method - corrects matching by ===` in if guard condition with $` is used in another method - accepts matching by ===` in guard condition with $~ is used in the line after that - corrects matching by ===` in method, `$1` is in other method - accepts matching by ===` in guard condition with $& is used in the line after that + corrects matching by ===` in method, `$2` is in other method + accepts matching by ===` in method with $100 + corrects matching by ===` in if guard condition with $2 is used in another method + registers an offense for matching by ===` in method before `$100` + corrects matching by ===` in method before `$1` + corrects matching by ===` in case condition + accepts matching by ===` in method with $~ in block + accepts matching by ===` in method with $~ before unless + accepts matching by ===` in method with $' + accepts matching by ===` in method with Regexp.last_match + accepts matching by ===` in method with Regexp.last_match before unless + registers an offense for matching by ===` in class, `$&` is in method + registers an offense for matching by ===` in method before `Regexp.last_match` + accepts matching by ===` in method with $` corrects matching by ===` in class, `Regexp.last_match` is in method - registers an offense for matching by ===` in if condition - accepts matching by ===` in a class method with $~ - corrects matching by ===` in class, `$'` is in method - accepts matching by ===` in method with $100 before unless - corrects matching by ===` in class, `$~` is in method - corrects matching by ===` in if guard condition with $~ is used in another method - corrects matching by ===` in method before `$&` - corrects matching by ===` in method, `$'` is in other method - corrects matching by ===` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by ===` in method before `Regexp.last_match(1)` + corrects matching by ===`, $MATCH reference is overrided + registers an offense for matching by ===` in class, `$~` is in method + accepts matching by ===` in method with $1 before if + accepts matching by ===` in method with $& before unless + corrects matching by ===`, $1 reference is overrided + accepts matching by ===` in method with $& before if + corrects matching by ===` in class method, `$`` is in other method + registers an offense for matching by ===` in method before `$&` + corrects matching by ===` in if condition + registers an offense for matching by ===` in class method, `$MATCH` is in other method corrects matching by ===` in class, `$`` is in method - registers an offense for matching by ===` in class method, `$2` is in other method + accepts matching by ===` in method with $MATCH before unless + corrects matching by ===` in method before `$100` + accepts matching by ===` in guard condition with $& is used in the line after that + accepts matching by ===` in guard condition with $2 is used in the line after that + accepts matching by ===` in a class method with $~ + registers an offense for matching by ===` in method, `Regexp.last_match` is in other method + registers an offense for matching by ===`, Regexp.last_match reference is overrided registers an offense for matching by ===` in class, `Regexp.last_match(1)` is in method - accepts matching by ===` in a class method with Regexp.last_match(1) corrects matching by ===` in class method, `Regexp.last_match(1)` is in other method - accepts matching by ===` in method with $' before unless - registers an offense for matching by ===` in method, `$'` is in other method - registers an offense for matching by ===`, $& reference is overrided - corrects matching by ===` in method before `$100` - registers an offense for matching by ===` in method before `$&` - corrects matching by ===` in if guard condition with $2 is used in another method registers an offense for matching by ===`, $1 reference is overrided - accepts matching by ===` in method with $~ in block - corrects matching by ===`, Regexp.last_match(1) reference is overrided registers an offense for matching by ===` in method, `$~` is in other method - registers an offense for matching by ===` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by ===` in method, `$MATCH` is in other method + corrects matching by ===` in class method, `$'` is in other method + registers an offense for matching by ===` in method, `$100` is in other method + accepts matching by ===` in a class method with $' + accepts matching by ===` in method with $' before unless + accepts matching by ===` in method with $' in block + accepts matching by ===` in method with $` in block + corrects matching by ===` in class method, `$MATCH` is in other method + registers an offense for matching by ===` in class, `Regexp.last_match` is in method + accepts matching by ===` in method with $& in block + corrects matching by ===`, $& reference is overrided + accepts matching by ===` in method with $MATCH + corrects matching by ===` in class method, `$1` is in other method + accepts matching by ===` in method with $& + corrects matching by ===` in unless condition registers an offense for matching by ===`, $2 reference is overrided - registers an offense for matching by ===` in module, `$MATCH` is in method + registers an offense for matching by ===` in if condition + registers an offense for matching by ===`, $' reference is overrided + corrects matching by ===` in method before `$2` + accepts matching by ===` in method with $2 before if + registers an offense for matching by ===` in method before `$'` + registers an offense for matching by ===` in method, `$&` is in other method + corrects matching by ===` in if guard condition with $' is used in another method + corrects matching by ===` in method definition + accepts matching by ===` in a class method with $1 + accepts matching by ===` in method with Regexp.last_match before if + registers an offense for matching by ===` in unless condition + accepts matching by ===` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by ===` in method with $2 in block + corrects matching by ===` in method before `$&` + corrects matching by ===` in method before `Regexp.last_match` registers an offense for matching by ===` in class method, `$&` is in other method + registers an offense for matching by ===` in class method, `$'` is in other method + accepts matching by ===` in method with $100 before if + corrects matching by ===` in if guard condition with $& is used in another method + registers an offense for matching by ===` in class method, `Regexp.last_match` is in other method + corrects matching by ===` in method before `$'` + accepts matching by ===` in method with $100 in block + registers an offense for matching by ===` in method before `$MATCH` + accepts matching by ===` in method with $2 + registers an offense for matching by ===` in if condition + corrects matching by ===`, Regexp.last_match reference is overrided + accepts matching by ===` in a class method with $100 + corrects matching by ===` in class, `$MATCH` is in method + corrects matching by ===` in if condition + accepts matching by ===` in method with Regexp.last_match(1) before unless + corrects matching by ===` in if guard condition with $100 is used in another method + corrects matching by ===` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by ===` in if guard condition with $` is used in another method registers an offense for matching by ===` in module, `$'` is in method - corrects matching by ===` in module, `$'` is in method + accepts matching by ===` in guard condition with $1 is used in the line after that + accepts matching by ===` in method with $MATCH in block + registers an offense for matching by ===` in method before `$1` + corrects matching by ===` in elsif condition + registers an offense for matching by ===` in if guard condition with $& is used in another method + registers an offense for matching by ===` in if guard condition with $~ is used in another method + registers an offense for matching by ===` in method, `Regexp.last_match(1)` is in other method + corrects matching by ===` in class method, `$~` is in other method + accepts matching by ===` in method with $MATCH before if + corrects matching by ===` in if guard condition with $` is used in another method + accepts matching by ===` in guard condition with $MATCH is used in the line after that + registers an offense for matching by ===` in method, `$`` is in other method + registers an offense for matching by ===` in class method, `$~` is in other method + registers an offense for matching by ===` in case condition + accepts matching by ===` in method with $' before if + accepts matching by ===` in method with Regexp.last_match in block + accepts matching by ===` in guard condition with $100 is used in the line after that + corrects matching by ===` in class, `$100` is in method + corrects matching by ===` in method, `Regexp.last_match` is in other method + registers an offense for matching by ===` in class, `$100` is in method + registers an offense for matching by ===` in if guard condition with Regexp.last_match is used in another method + corrects matching by ===` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by ===` in method before `$MATCH` + registers an offense for matching by ===` in if guard condition with $MATCH is used in another method + registers an offense for matching by ===` in class method, `Regexp.last_match(1)` is in other method + corrects matching by ===` in module, `$~` is in method + registers an offense for matching by ===` in module, `$2` is in method + registers an offense for matching by ===` in elsif condition + corrects matching by ===` in class method, `$&` is in other method + corrects matching by ===` in method before `$`` + registers an offense for matching by ===` in method definition + accepts matching by ===` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by ===`, $100 reference is overrided + registers an offense for matching by ===` in method before `$2` + corrects matching by ===` in method, `$&` is in other method behaves like all legacy match methods - accepts matching by =~` in guard condition with $1 is used in the line after that - registers an offense for matching by =~` in method, `$'` is in other method - corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with $~ before unless + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by =~` in method before `$~` + corrects matching by =~` in method before `$&` + registers an offense for matching by =~` in method, `$1` is in other method + corrects matching by =~` in method definition + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in class, `$`` is in method + accepts matching by =~` in method with $' before if + corrects matching by =~` in method, `$&` is in other method + accepts matching by =~` in a class method with $` + registers an offense for matching by =~` in method before `$2` + accepts matching by =~` in guard condition with $~ is used in the line after that + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in method, `$`` is in other method + accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in a class method with $2 + registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~` in class, `$`` is in method registers an offense for matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in unless condition - corrects matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in method, `$2` is in other method - accepts matching by =~` in method with Regexp.last_match before unless + corrects matching by =~` in if condition corrects matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in case condition - corrects matching by =~` in method before `$2` - corrects matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in a class method with $~ - accepts matching by =~` in a class method with $1 - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $MATCH before if - accepts matching by =~` in method with $~ before if - corrects matching by =~` in method definition - corrects matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~` in class, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with Regexp.last_match before if + corrects matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~`, $& reference is overrided + corrects matching by =~` in method before `$MATCH` accepts matching by =~` in method with $1 - corrects matching by =~`, $& reference is overrided - accepts matching by =~` in method with $1 before if - accepts matching by =~` in method with $' in block - corrects matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~`, $MATCH reference is overrided + corrects matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in method, `$2` is in other method + accepts matching by =~` in method with $& in block accepts matching by =~` in method with Regexp.last_match(1) - corrects matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in class, `$MATCH` is in method corrects matching by =~` in class, `$&` is in method - corrects matching by =~` in class, `$100` is in method - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in method before `$&` - corrects matching by =~` in class method, `$100` is in other method + corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in method before `$'` registers an offense for matching by =~` in method definition - registers an offense for matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in if guard condition with $1 is used in another method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by =~` in method, `$2` is in other method - corrects matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~`, $` reference is overrided - registers an offense for matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in method with $1 before if + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in a class method with $& + registers an offense for matching by =~` in module, `$2` is in method + accepts matching by =~` in method with $2 + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in method with $~ in block + accepts matching by =~` in method with $2 in block + registers an offense for matching by =~`, $100 reference is overrided + accepts matching by =~` in a class method with Regexp.last_match registers an offense for matching by =~` in class, `$~` is in method - accepts matching by =~` in method with Regexp.last_match in block - accepts matching by =~` in a class method with $MATCH - registers an offense for matching by =~` in method before `$`` - accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by =~` in method with $MATCH before if + registers an offense for matching by =~` in class method, `$~` is in other method registers an offense for matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in class method, `$2` is in other method + accepts matching by =~` in method with $2 before if + corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in method, `$'` is in other method + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by =~` in method before `$1` + registers an offense for matching by =~` in method, `$&` is in other method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + corrects matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in method before `$`` + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method corrects matching by =~` in unless condition - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~`, $' reference is overrided - corrects matching by =~` in case condition - registers an offense for matching by =~` in module, `$MATCH` is in method - corrects matching by =~` in method before `$&` - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in method before `$MATCH` - registers an offense for matching by =~` in module, `$100` is in method - corrects matching by =~` in method before `$`` - registers an offense for matching by =~`, $` reference is overrided - registers an offense for matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with $' before unless - accepts matching by =~` in a class method with $` - registers an offense for matching by =~` in method before `$'` - corrects matching by =~`, $100 reference is overrided - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in method with Regexp.last_match - registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in if guard condition with $` is used in another method - corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in class method, `$100` is in other method + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~`, $` reference is overrided + corrects matching by =~` in class method, `$2` is in other method corrects matching by =~` in elsif condition - corrects matching by =~` in class, `$~` is in method - corrects matching by =~` in method before `$~` - accepts matching by =~` in a class method with Regexp.last_match(1) accepts matching by =~` in method with $` before if - accepts matching by =~` in method with $& - corrects matching by =~` in if guard condition with $MATCH is used in another method - accepts matching by =~` in method with $MATCH in block + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in method before `$2` + corrects matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~`, $& reference is overrided + accepts matching by =~` in method with $2 before unless + corrects matching by =~` in module, `$&` is in method + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in class method, `$100` is in other method + corrects matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~` in method before `$1` + accepts matching by =~` in method with $100 in block + accepts matching by =~` in method with $100 before if + corrects matching by =~` in module, `$`` is in method + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class, `$1` is in method + registers an offense for matching by =~`, $` reference is overrided + registers an offense for matching by =~` in method before `$100` registers an offense for matching by =~` in unless condition - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with $MATCH - registers an offense for matching by =~` in method, `$~` is in other method + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in unless condition + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in a class method with $100 + accepts matching by =~` in method with Regexp.last_match + registers an offense for matching by =~` in class method, `$1` is in other method + corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in class method, `$2` is in other method + accepts matching by =~` in a class method with $' + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~` in case condition + corrects matching by =~` in class, `$'` is in method + accepts matching by =~` in method with $MATCH before unless registers an offense for matching by =~` in ternary operator + corrects matching by =~` in method before `$`` + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in method before `$'` + accepts matching by =~` in method with $100 before unless + corrects matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in method, `$`` is in other method + corrects matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in method with $& before unless + registers an offense for matching by =~` in class, `$'` is in method + corrects matching by =~` in class, `$2` is in method + corrects matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $' + registers an offense for matching by =~` in case condition + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $~ before if + corrects matching by =~` in module, `$'` is in method + corrects matching by =~` in if guard condition with $100 is used in another method accepts matching by =~` in method with $` in block - accepts matching by =~` in a class method with $& accepts matching by =~` in guard condition with $& is used in the line after that - registers an offense for matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in class, `$&` is in method - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in method before `$~` + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method accepts matching by =~` in method with Regexp.last_match(1) in block - accepts matching by =~` in guard condition with $100 is used in the line after that - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - accepts matching by =~` in guard condition with $` is used in the line after that - registers an offense for matching by =~` in if condition - accepts matching by =~` in method with $2 before if - corrects matching by =~` in method before `$1` - accepts matching by =~` in method with $& before if - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in method with Regexp.last_match(1) before unless - registers an offense for matching by =~` in if guard condition with $100 is used in another method - accepts matching by =~` in method with $2 before unless + corrects matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~`, $~ reference is overrided + corrects matching by =~` in class method, `$~` is in other method registers an offense for matching by =~` in module, `$1` is in method - corrects matching by =~` in module, `$`` is in method - corrects matching by =~` in module, `$~` is in method - accepts matching by =~` in guard condition with $' is used in the line after that - corrects matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in if condition - corrects matching by =~` in module, `$'` is in method - registers an offense for matching by =~` in class, `$`` is in method - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in method before `$1` - corrects matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $& in block - corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~`, $' reference is overrided registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~`, $& reference is overrided - accepts matching by =~` in method with $1 in block - accepts matching by =~` in method with $~ before unless - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in a class method with Regexp.last_match - accepts matching by =~` in method with $2 in block - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in class, `$2` is in method - corrects matching by =~`, $' reference is overrided - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $~ in block - corrects matching by =~` in method, `$'` is in other method - registers an offense for matching by =~`, $100 reference is overrided - accepts matching by =~` in a class method with $2 - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - accepts matching by =~` in guard condition with $2 is used in the line after that - registers an offense for matching by =~` in method before `$100` - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in method before `$100` - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~`, $1 reference is overrided - corrects matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in module, `$2` is in method + corrects matching by =~` in class, `$~` is in method + accepts matching by =~` in guard condition with $100 is used in the line after that + accepts matching by =~` in method with $& registers an offense for matching by =~` in if condition - corrects matching by =~` in class method, `$~` is in other method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~` in method, `$1` is in other method - corrects matching by =~` in method before `$MATCH` - accepts matching by =~` in method with $' + accepts matching by =~` in method with Regexp.last_match before unless + registers an offense for matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in method with $' before unless + accepts matching by =~` in method with $' in block + accepts matching by =~` in method with Regexp.last_match in block accepts matching by =~` in method with $100 - accepts matching by =~` in method with $` - registers an offense for matching by =~` in module, `$~` is in method - corrects matching by =~` in if guard condition with $& is used in another method - corrects matching by =~`, $2 reference is overrided - corrects matching by =~` in method before `$'` - corrects matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in elsif condition - accepts matching by =~` in method with $2 - corrects matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in class method, `$1` is in other method - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in method, `$`` is in other method - accepts matching by =~` in a class method with $100 + accepts matching by =~` in method with $1 in block + accepts matching by =~` in method with $1 before unless corrects matching by =~` in method, `$100` is in other method + accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in a class method with $~ + registers an offense for matching by =~` in method, `$~` is in other method + corrects matching by =~` in module, `$~` is in method + corrects matching by =~` in ternary operator + registers an offense for matching by =~` in module, `$~` is in method + corrects matching by =~` in method before `$100` + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in class, `$100` is in method registers an offense for matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in method with $` before unless - corrects matching by =~` in unless condition + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~`, $2 reference is overrided registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in class method, `$&` is in other method - corrects matching by =~` in ternary operator - corrects matching by =~` in if condition - accepts matching by =~` in a class method with $' - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~`, $MATCH reference is overrided - accepts matching by =~` in method with $100 before if - corrects matching by =~` in class, `$'` is in method - registers an offense for matching by =~` in method, `$100` is in other method - corrects matching by =~` in if guard condition with $2 is used in another method - registers an offense for matching by =~` in class method, `$~` is in other method - accepts matching by =~` in method with $100 before unless - accepts matching by =~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in method with $MATCH + corrects matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in method with $MATCH in block + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in class, `$MATCH` is in method accepts matching by =~` in method with $~ - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in if condition + registers an offense for matching by =~` in elsif condition + registers an offense for matching by =~` in unless condition + accepts matching by =~` in method with $& before if + accepts matching by =~` in a class method with $MATCH + registers an offense for matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in method with $` before unless + accepts matching by =~` in method with $` + registers an offense for matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in method before `$~` + corrects matching by =~` in module, `$100` is in method registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in class method, `$1` is in other method - accepts matching by =~` in method with $' before if - accepts matching by =~` in method with $1 before unless - corrects matching by =~`, $~ reference is overrided - accepts matching by =~` in method with Regexp.last_match(1) before if - accepts matching by =~` in method with Regexp.last_match before if - accepts matching by =~` in method with $MATCH before unless - registers an offense for matching by =~` in class, `$'` is in method - registers an offense for matching by =~` in class method, `$`` is in other method + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in method, `$'` is in other method + corrects matching by =~` in class method, `$'` is in other method + accepts matching by =~` in a class method with $1 + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in if guard condition with $2 is used in another method + registers an offense for matching by =~` in module, `$100` is in method + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~`, $' reference is overrided behaves like all legacy match methods - corrects matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in method, `$`` is in other method - corrects matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in a class method with $~ - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by !~` in method with $& in block - corrects matching by !~` in method before `$1` - corrects matching by !~` in method before `$~` - corrects matching by !~` in class, `$100` is in method - accepts matching by !~` in method with $MATCH - corrects matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $` - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in method before `$2` - corrects matching by !~` in module, `$100` is in method - corrects matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in method, `$MATCH` is in other method registers an offense for matching by !~` in class method, `$`` is in other method - corrects matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by !~` in method definition - accepts matching by !~` in a class method with Regexp.last_match - registers an offense for matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $~ in block - corrects matching by !~` in method before `$MATCH` - corrects matching by !~` in method before `$2` - registers an offense for matching by !~` in method definition - accepts matching by !~` in method with $~ before if - corrects matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in guard condition with $' is used in the line after that - registers an offense for matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in elsif condition - accepts matching by !~` in method with $~ before unless - accepts matching by !~` in guard condition with $100 is used in the line after that - registers an offense for matching by !~` in module, `$`` is in method - corrects matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in class, `$~` is in method - corrects matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in a class method with $' - registers an offense for matching by !~` in method, `$'` is in other method - corrects matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $& before if - corrects matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with $1 before unless - corrects matching by !~` in case condition - accepts matching by !~` in method with $` before if - registers an offense for matching by !~`, $2 reference is overrided - registers an offense for matching by !~`, $MATCH reference is overrided - corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in class method, `$1` is in other method - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in method, `$100` is in other method - accepts matching by !~` in method with $2 - accepts matching by !~` in method with Regexp.last_match - registers an offense for matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in method before `$100` - registers an offense for matching by !~` in module, `$2` is in method - accepts matching by !~` in method with $MATCH in block - corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class, `$`` is in method - registers an offense for matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in unless condition - accepts matching by !~` in guard condition with $2 is used in the line after that - registers an offense for matching by !~` in module, `$'` is in method - corrects matching by !~` in unless condition - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in method with Regexp.last_match before unless - accepts matching by !~` in method with Regexp.last_match in block - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - accepts matching by !~` in method with $2 before unless + corrects matching by !~` in method before `$&` + corrects matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $' in block + registers an offense for matching by !~` in class, `$~` is in method accepts matching by !~` in method with Regexp.last_match(1) before unless - corrects matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $~ - corrects matching by !~` in unless condition - registers an offense for matching by !~` in class method, `$~` is in other method - accepts matching by !~` in method with Regexp.last_match before if - registers an offense for matching by !~`, $1 reference is overrided - accepts matching by !~` in method with $MATCH before unless - corrects matching by !~` in method, `$&` is in other method + corrects matching by !~` in class method, `$~` is in other method + registers an offense for matching by !~` in class, `$&` is in method registers an offense for matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in method with $2 in block - accepts matching by !~` in guard condition with $~ is used in the line after that - registers an offense for matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in class method, `$'` is in other method registers an offense for matching by !~` in class method, `$1` is in other method - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - accepts matching by !~` in method with $` before unless - registers an offense for matching by !~` in case condition - accepts matching by !~` in method with $` in block - corrects matching by !~` in method, `$MATCH` is in other method - corrects matching by !~` in ternary operator - registers an offense for matching by !~` in if guard condition with $' is used in another method - accepts matching by !~` in a class method with $& - corrects matching by !~` in method before `$&` - registers an offense for matching by !~` in if guard condition with $~ is used in another method - corrects matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in a class method with $1 - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in a class method with $2 - corrects matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in module, `$2` is in method - accepts matching by !~` in method with Regexp.last_match(1) - accepts matching by !~` in method with $' before unless - corrects matching by !~` in class, `$'` is in method accepts matching by !~` in a class method with $MATCH - corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in unless condition - corrects matching by !~` in module, `$1` is in method - corrects matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in module, `$'` is in method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in method before `$`` - registers an offense for matching by !~` in ternary operator - registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in class, `$~` is in method registers an offense for matching by !~` in method, `$100` is in other method - registers an offense for matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in class, `$'` is in method - accepts matching by !~` in a class method with $100 - corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~`, $& reference is overrided - registers an offense for matching by !~` in class, `$2` is in method - accepts matching by !~` in method with $1 - corrects matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in method, `$~` is in other method + corrects matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~` in class, `$`` is in method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~` in class, `$&` is in method + corrects matching by !~` in method before `$~` + corrects matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in class, `$100` is in method + corrects matching by !~` in module, `$100` is in method registers an offense for matching by !~` in class method, `$2` is in other method + corrects matching by !~` in unless condition + registers an offense for matching by !~` in module, `$2` is in method + corrects matching by !~` in method, `$&` is in other method + registers an offense for matching by !~` in class method, `$100` is in other method registers an offense for matching by !~`, $' reference is overrided registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in method before `$100` - corrects matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in if condition - accepts matching by !~` in method with Regexp.last_match(1) in block - accepts matching by !~` in method with $& - corrects matching by !~`, $1 reference is overrided - corrects matching by !~` in class, `$2` is in method - accepts matching by !~` in method with $2 before if - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in if condition accepts matching by !~` in method with $100 before if - corrects matching by !~` in method before `$'` - registers an offense for matching by !~` in class, `$&` is in method - accepts matching by !~` in a class method with $` - corrects matching by !~`, $& reference is overrided - accepts matching by !~` in guard condition with $1 is used in the line after that - corrects matching by !~` in method before `$`` - accepts matching by !~` in guard condition with $MATCH is used in the line after that - corrects matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in method with $100 - accepts matching by !~` in method with $MATCH before if - corrects matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in if guard condition with $1 is used in another method - accepts matching by !~` in method with $' - corrects matching by !~`, $' reference is overrided - registers an offense for matching by !~`, $` reference is overrided - accepts matching by !~` in method with $1 in block - registers an offense for matching by !~` in class, `$~` is in method - corrects matching by !~`, $~ reference is overrided - corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by !~` in elsif condition - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in method, `$1` is in other method - accepts matching by !~` in method with $' in block - corrects matching by !~` in if condition - accepts matching by !~` in method with Regexp.last_match(1) before if - corrects matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in module, `$~` is in method - corrects matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in method with $1 before if - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in guard condition with $` is used in the line after that - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in a class method with Regexp.last_match(1) - registers an offense for matching by !~` in if guard condition with $2 is used in another method - corrects matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in class, `$MATCH` is in method - corrects matching by !~` in method, `$'` is in other method - corrects matching by !~` in class, `$1` is in method - accepts matching by !~` in method with $& before unless - registers an offense for matching by !~` in module, `$1` is in method - corrects matching by !~` in class, `$&` is in method - registers an offense for matching by !~` in method before `$1` + accepts matching by !~` in a class method with $& registers an offense for matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in method before `$MATCH` - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in method, `$~` is in other method - accepts matching by !~` in method with $100 in block - accepts matching by !~` in guard condition with $& is used in the line after that - accepts matching by !~` in method with $' before if - behaves like all legacy match methods - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in method, `$&` is in other method - registers an offense for matching by !~`, $' reference is overrided - accepts matching by !~` in method with $& - registers an offense for matching by !~` in class, `$1` is in method - corrects matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in method definition - accepts matching by !~` in method with $' in block - registers an offense for matching by !~` in class method, `$'` is in other method accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~`, $MATCH reference is overrided - corrects matching by !~` in module, `$&` is in method - accepts matching by !~` in method with $1 in block - registers an offense for matching by !~` in method, `$~` is in other method - corrects matching by !~` in class, `$&` is in method - corrects matching by !~` in method, `$100` is in other method - corrects matching by !~` in method before `$&` - corrects matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in guard condition with $100 is used in the line after that - registers an offense for matching by !~` in class method, `$`` is in other method - accepts matching by !~` in a class method with Regexp.last_match + accepts matching by !~` in method with Regexp.last_match(1) in block + registers an offense for matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in elsif condition + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in class, `$2` is in method + corrects matching by !~`, $& reference is overrided + corrects matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in a class method with $MATCH - corrects matching by !~` in class method, `$1` is in other method - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in module, `$'` is in method - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in if condition - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in method before `$1` + registers an offense for matching by !~` in method, `$2` is in other method corrects matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in ternary operator - accepts matching by !~` in method with $& in block - accepts matching by !~` in method with $MATCH before unless - registers an offense for matching by !~`, $~ reference is overrided - corrects matching by !~` in method, `$'` is in other method - accepts matching by !~` in method with $2 - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in method with $` before if - corrects matching by !~` in class method, `Regexp.last_match` is in other method registers an offense for matching by !~` in if condition - accepts matching by !~` in method with $2 before if - accepts matching by !~` in guard condition with $~ is used in the line after that - corrects matching by !~` in method before `$2` - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by !~`, $' reference is overrided - corrects matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with $' accepts matching by !~` in a class method with $` + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in unless condition + accepts matching by !~` in method with $1 before unless accepts matching by !~` in method with Regexp.last_match(1) - accepts matching by !~` in method with Regexp.last_match(1) in block - accepts matching by !~` in method with $2 before unless - registers an offense for matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in class, `$2` is in method - corrects matching by !~` in class method, `$&` is in other method - corrects matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in method before `$1` - accepts matching by !~` in a class method with $' - corrects matching by !~` in method before `$100` - corrects matching by !~` in if condition + accepts matching by !~` in guard condition with $~ is used in the line after that + registers an offense for matching by !~` in case condition + accepts matching by !~` in method with $` + corrects matching by !~` in elsif condition corrects matching by !~`, $` reference is overrided - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in if guard condition with $` is used in another method + accepts matching by !~` in method with $MATCH + corrects matching by !~` in method, `$'` is in other method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in if guard condition with $MATCH is used in another method + accepts matching by !~` in guard condition with $2 is used in the line after that + corrects matching by !~` in class method, `$&` is in other method + corrects matching by !~` in if guard condition with $' is used in another method accepts matching by !~` in a class method with $2 - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in case condition - corrects matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in method with $' before if + accepts matching by !~` in method with $100 + accepts matching by !~` in method with $' before unless + registers an offense for matching by !~` in method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $` is used in the line after that + accepts matching by !~` in method with $~ before unless + registers an offense for matching by !~` in module, `Regexp.last_match` is in method corrects matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in method before `$`` - corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~`, $1 reference is overrided - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in module, `$'` is in method - registers an offense for matching by !~` in method before `$100` + corrects matching by !~` in method before `$1` + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in module, `$100` is in method + registers an offense for matching by !~`, $& reference is overrided + accepts matching by !~` in method with $` before unless + corrects matching by !~` in if guard condition with $100 is used in another method + accepts matching by !~` in a class method with $100 + accepts matching by !~` in method with $2 + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method definition + registers an offense for matching by !~`, $` reference is overrided + corrects matching by !~` in case condition + accepts matching by !~` in method with $1 in block + corrects matching by !~` in module, `$&` is in method accepts matching by !~` in method with Regexp.last_match before if - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in method with $100 in block - accepts matching by !~` in guard condition with $2 is used in the line after that registers an offense for matching by !~` in class, `$'` is in method - corrects matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in guard condition with $` is used in the line after that - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by !~` in module, `$&` is in method - registers an offense for matching by !~`, $& reference is overrided - corrects matching by !~` in class, `$'` is in method + corrects matching by !~` in if guard condition with $1 is used in another method corrects matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in class method, `$'` is in other method - corrects matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in method with $` before unless + registers an offense for matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in if guard condition with $100 is used in another method + accepts matching by !~` in method with $' + accepts matching by !~` in method with $~ before if accepts matching by !~` in a class method with $~ - accepts matching by !~` in guard condition with $1 is used in the line after that - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - corrects matching by !~`, $& reference is overrided - registers an offense for matching by !~` in if guard condition with $` is used in another method - accepts matching by !~` in a class method with $100 - registers an offense for matching by !~` in class, `$~` is in method - accepts matching by !~` in method with $` - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in class, `$&` is in method - corrects matching by !~` in module, `$1` is in method - corrects matching by !~` in class, `$100` is in method - corrects matching by !~` in method before `$~` - registers an offense for matching by !~` in elsif condition - corrects matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in method with $~ - corrects matching by !~` in unless condition - corrects matching by !~` in method, `$1` is in other method - accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in class, `$`` is in method - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in method before `$2` - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in class method, `$~` is in other method - corrects matching by !~` in if guard condition with $` is used in another method - accepts matching by !~` in method with $MATCH - registers an offense for matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in class method, `$2` is in other method - corrects matching by !~` in ternary operator - accepts matching by !~` in method with $' before if + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by !~`, $2 reference is overrided + accepts matching by !~` in a class method with $1 + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method corrects matching by !~` in class, `$MATCH` is in method - corrects matching by !~` in class, `$~` is in method - accepts matching by !~` in method with Regexp.last_match(1) before if - accepts matching by !~` in method with $~ before if - registers an offense for matching by !~` in module, `$1` is in method - registers an offense for matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in a class method with Regexp.last_match(1) - accepts matching by !~` in method with $1 - registers an offense for matching by !~` in module, `$`` is in method - corrects matching by !~` in method before `$1` - accepts matching by !~` in method with Regexp.last_match in block - corrects matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in a class method with $& - corrects matching by !~` in class, `$1` is in method - accepts matching by !~` in method with $' before unless - accepts matching by !~` in method with Regexp.last_match before unless - accepts matching by !~` in method with $1 before unless - accepts matching by !~` in method with $& before if - registers an offense for matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in if condition - corrects matching by !~` in method definition - accepts matching by !~` in method with $& before unless + registers an offense for matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $MATCH before if + accepts matching by !~` in method with $MATCH in block + corrects matching by !~` in method before `$'` corrects matching by !~` in module, `$~` is in method - accepts matching by !~` in method with $100 - registers an offense for matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in elsif condition - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - accepts matching by !~` in method with $2 in block - corrects matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with $100 before if - corrects matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in method definition + accepts matching by !~` in method with $` before if + corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in method, `$2` is in other method accepts matching by !~` in method with $~ in block - corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~` in method, `$100` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before unless + accepts matching by !~` in method with $~ + registers an offense for matching by !~` in class, `$1` is in method + corrects matching by !~` in class method, `$100` is in other method corrects matching by !~` in method before `$`` - accepts matching by !~` in method with $MATCH in block - accepts matching by !~` in guard condition with $' is used in the line after that - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in method, `$'` is in other method registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in module, `$~` is in method - corrects matching by !~` in unless condition - corrects matching by !~` in method before `$'` + accepts matching by !~` in method with $2 before if + corrects matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $2 in block + accepts matching by !~` in method with $& before if + corrects matching by !~` in if guard condition with $2 is used in another method accepts matching by !~` in method with $1 before if - corrects matching by !~` in if guard condition with $& is used in another method - accepts matching by !~` in method with $MATCH before if - registers an offense for matching by !~` in class method, `$100` is in other method - corrects matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~` in method, `$1` is in other method + accepts matching by !~` in method with $` in block + registers an offense for matching by !~` in module, `$`` is in method + registers an offense for matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in ternary operator + corrects matching by !~`, $MATCH reference is overrided + corrects matching by !~` in method before `$100` registers an offense for matching by !~` in if guard condition with $MATCH is used in another method corrects matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in method with $MATCH before unless + registers an offense for matching by !~` in method, `$&` is in other method + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in method before `$'` + corrects matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with $& + registers an offense for matching by !~`, Regexp.last_match reference is overrided corrects matching by !~`, $100 reference is overrided - registers an offense for matching by !~`, $2 reference is overrided - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class method, `$1` is in other method - registers an offense for matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in method before `$100` corrects matching by !~`, $~ reference is overrided + registers an offense for matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in if guard condition with $& is used in another method + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in method, `$`` is in other method + corrects matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in module, `$~` is in method + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in class, `$'` is in method + accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in guard condition with $1 is used in the line after that + accepts matching by !~` in method with $& in block + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in method, `$1` is in other method + corrects matching by !~`, $2 reference is overrided + corrects matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~` in method before `$~` + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in method before `$MATCH` + corrects matching by !~` in if condition + accepts matching by !~` in a class method with Regexp.last_match(1) + accepts matching by !~` in guard condition with $& is used in the line after that + accepts matching by !~` in method with $2 before unless + accepts matching by !~` in method with $1 + corrects matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in class, `$100` is in method + corrects matching by !~` in module, `$1` is in method + accepts matching by !~` in method with $100 in block + corrects matching by !~` in unless condition + accepts matching by !~` in guard condition with $100 is used in the line after that accepts matching by !~` in method with Regexp.last_match - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in a class method with $1 - accepts matching by !~` in method with $` in block + corrects matching by !~`, $' reference is overrided + corrects matching by !~` in if condition + registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in method before `$`` + registers an offense for matching by !~` in module, `$1` is in method + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by !~` in guard condition with $' is used in the line after that + registers an offense for matching by !~` in method before `$2` + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + accepts matching by !~` in method with Regexp.last_match in block + registers an offense for matching by !~` in class method, `$'` is in other method accepts matching by !~` in guard condition with $MATCH is used in the line after that - corrects matching by !~` in case condition - registers an offense for matching by !~` in method, `$'` is in other method - corrects matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~`, $100 reference is overrided + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in class, `$`` is in method + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in class method, `$~` is in other method + accepts matching by !~` in a class method with $' + accepts matching by !~` in a class method with Regexp.last_match + accepts matching by !~` in method with $& before unless + corrects matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in class, `$2` is in method + corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in ternary operator behaves like all legacy match methods - corrects matching by !~` in method, `$1` is in other method accepts matching by !~` in a class method with $2 - registers an offense for matching by !~` in method, `$~` is in other method - accepts matching by !~` in method with $100 before if - accepts matching by !~` in method with $1 before if + corrects matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in method before `$'` + accepts matching by !~` in method with $2 + registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in class method, `$2` is in other method + corrects matching by !~` in method, `$2` is in other method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with Regexp.last_match before unless registers an offense for matching by !~` in if condition - corrects matching by !~` in if condition - accepts matching by !~` in method with $MATCH in block - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by !~` in class method, `$100` is in other method - corrects matching by !~` in class method, `$'` is in other method - accepts matching by !~` in method with $& - registers an offense for matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in class method, `$~` is in other method + accepts matching by !~` in guard condition with $1 is used in the line after that + accepts matching by !~` in method with $` before if + accepts matching by !~` in a class method with $~ accepts matching by !~` in a class method with Regexp.last_match - registers an offense for matching by !~`, $` reference is overrided - corrects matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in unless condition - corrects matching by !~` in module, `$~` is in method - accepts matching by !~` in a class method with $& - accepts matching by !~` in method with $~ before if - registers an offense for matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in class method, `$2` is in other method - corrects matching by !~` in class, `$~` is in method - registers an offense for matching by !~` in class method, `$1` is in other method - accepts matching by !~` in guard condition with $2 is used in the line after that - corrects matching by !~`, $' reference is overrided - corrects matching by !~` in method before `$&` - accepts matching by !~` in method with $2 + registers an offense for matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in class, `$'` is in method + corrects matching by !~` in unless condition + accepts matching by !~` in method with $1 + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in a class method with $' + corrects matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in a class method with $100 corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in guard condition with $MATCH is used in the line after that + accepts matching by !~` in a class method with $MATCH + corrects matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in method before `$2` + accepts matching by !~` in method with Regexp.last_match(1) in block + registers an offense for matching by !~`, $MATCH reference is overrided + accepts matching by !~` in method with $MATCH in block + registers an offense for matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in method, `$&` is in other method + corrects matching by !~` in class, `$&` is in method + corrects matching by !~` in if guard condition with $' is used in another method accepts matching by !~` in method with $MATCH before if - corrects matching by !~` in ternary operator - corrects matching by !~` in method before `$MATCH` - accepts matching by !~` in guard condition with $& is used in the line after that - corrects matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in if condition - accepts matching by !~` in method with $2 before unless - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $1 before unless - accepts matching by !~` in a class method with Regexp.last_match(1) - registers an offense for matching by !~` in module, `$~` is in method + corrects matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in module, `$`` is in method + corrects matching by !~` in method before `$~` + registers an offense for matching by !~` in module, `$1` is in method + corrects matching by !~`, Regexp.last_match reference is overrided registers an offense for matching by !~` in case condition - registers an offense for matching by !~` in method definition + accepts matching by !~` in method with $100 before if + registers an offense for matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~`, $~ reference is overrided + accepts matching by !~` in method with $2 in block + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in method before `Regexp.last_match(1)` corrects matching by !~` in case condition - accepts matching by !~` in method with Regexp.last_match in block - accepts matching by !~` in method with $` before unless - corrects matching by !~` in method, `$`` is in other method + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in method with $1 before if + registers an offense for matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in ternary operator corrects matching by !~` in unless condition + registers an offense for matching by !~` in class method, `$&` is in other method + accepts matching by !~` in method with Regexp.last_match(1) before unless + registers an offense for matching by !~`, $` reference is overrided + accepts matching by !~` in method with $& before if + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~`, $' reference is overrided + accepts matching by !~` in method with $` in block corrects matching by !~` in module, `$2` is in method corrects matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in a class method with $' - corrects matching by !~` in method definition - corrects matching by !~`, $1 reference is overrided - accepts matching by !~` in guard condition with $1 is used in the line after that - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~` in if guard condition with $2 is used in another method - corrects matching by !~` in method before `$100` - corrects matching by !~` in method before `$2` - corrects matching by !~` in class method, `$~` is in other method - corrects matching by !~` in class method, `$2` is in other method - registers an offense for matching by !~`, $& reference is overrided - registers an offense for matching by !~` in method before `$`` - corrects matching by !~` in class, `$100` is in method - accepts matching by !~` in guard condition with $~ is used in the line after that - accepts matching by !~` in method with $& before unless - corrects matching by !~` in method, `$&` is in other method - corrects matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~` in method, `$1` is in other method - corrects matching by !~` in class, `$1` is in method - accepts matching by !~` in method with $2 before if - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method before `$MATCH` - corrects matching by !~`, $& reference is overrided + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method, `$1` is in other method + corrects matching by !~` in method before `$MATCH` + accepts matching by !~` in guard condition with $` is used in the line after that corrects matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~`, $~ reference is overrided - corrects matching by !~` in class, `Regexp.last_match` is in method - accepts matching by !~` in method with Regexp.last_match(1) before if - registers an offense for matching by !~` in if condition + registers an offense for matching by !~`, $2 reference is overrided accepts matching by !~` in method with $~ - corrects matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before unless - registers an offense for matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in method, `$2` is in other method - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in class, `$2` is in method - corrects matching by !~` in unless condition + corrects matching by !~` in ternary operator accepts matching by !~` in method with $' - corrects matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in class method, `$100` is in other method - corrects matching by !~` in if guard condition with $' is used in another method - accepts matching by !~` in method with $1 - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with $MATCH before unless - accepts matching by !~` in method with $2 in block - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in method before `$2` - registers an offense for matching by !~` in module, `$1` is in method - registers an offense for matching by !~`, $2 reference is overrided - accepts matching by !~` in method with $~ in block - registers an offense for matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in method with Regexp.last_match before if - registers an offense for matching by !~` in method, `$`` is in other method - corrects matching by !~` in method, `$~` is in other method - accepts matching by !~` in method with $1 in block - registers an offense for matching by !~` in module, `$'` is in method - corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in module, `$'` is in method - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in a class method with $& + registers an offense for matching by !~` in class, `$&` is in method corrects matching by !~` in class method, `$&` is in other method - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in method definition registers an offense for matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in a class method with Regexp.last_match(1) corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in method, `$100` is in other method - corrects matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in method with $' before unless + accepts matching by !~` in method with $100 before unless + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~` in method, `$2` is in other method registers an offense for matching by !~`, $1 reference is overrided - accepts matching by !~` in method with Regexp.last_match(1) - accepts matching by !~` in a class method with $~ + registers an offense for matching by !~`, $& reference is overrided accepts matching by !~` in method with $100 in block - accepts matching by !~` in a class method with $MATCH - corrects matching by !~` in if guard condition with $100 is used in another method + registers an offense for matching by !~` in class, `$1` is in method corrects matching by !~` in module, `$1` is in method - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in method before `$'` - corrects matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in a class method with $` - corrects matching by !~` in method before `$1` - corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in class, `$`` is in method - corrects matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with $~ before unless - registers an offense for matching by !~` in method before `$'` - registers an offense for matching by !~` in if guard condition with $1 is used in another method - accepts matching by !~` in guard condition with $` is used in the line after that - accepts matching by !~` in method with Regexp.last_match - registers an offense for matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in module, `$2` is in method - accepts matching by !~` in a class method with $1 - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in method, `$2` is in other method - corrects matching by !~` in method, `$100` is in other method - accepts matching by !~` in method with $` - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~`, $' reference is overrided - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in class, `$'` is in method - registers an offense for matching by !~` in class, `$'` is in method - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in ternary operator - corrects matching by !~` in module, `$&` is in method - corrects matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in method, `$`` is in other method + corrects matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in class method, `$MATCH` is in other method corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by !~` in guard condition with $' is used in the line after that - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in method before `$1` - corrects matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in module, `$`` is in method - accepts matching by !~` in method with $MATCH - accepts matching by !~` in method with $& in block + corrects matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $' before unless + registers an offense for matching by !~` in class, `$`` is in method accepts matching by !~` in method with $' in block - registers an offense for matching by !~` in method before `Regexp.last_match` + registers an offense for matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in class method, `$~` is in other method + registers an offense for matching by !~` in module, `$'` is in method + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in method, `$1` is in other method + corrects matching by !~` in if condition + registers an offense for matching by !~` in class method, `$2` is in other method registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in method with $& before if - registers an offense for matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in class, `$&` is in method - accepts matching by !~` in method with $` before if - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in elsif condition - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in method, `$100` is in other method + accepts matching by !~` in method with $` + corrects matching by !~` in method before `$1` corrects matching by !~` in class, `$2` is in method - corrects matching by !~` in class, `$&` is in method - corrects matching by !~` in method before `$~` - accepts matching by !~` in method with $100 - corrects matching by !~` in method before `$`` - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in method before `$100` corrects matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in module, `$&` is in method - accepts matching by !~` in guard condition with $100 is used in the line after that - accepts matching by !~` in a class method with $100 + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in method before `$`` + accepts matching by !~` in a class method with $` + accepts matching by !~` in method with Regexp.last_match before if + corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in class method, `$`` is in other method + accepts matching by !~` in method with $1 before unless + registers an offense for matching by !~` in unless condition + corrects matching by !~` in method, `$'` is in other method + accepts matching by !~` in method with $MATCH before unless + registers an offense for matching by !~` in method, `$~` is in other method registers an offense for matching by !~` in class, `$~` is in method - accepts matching by !~` in method with $` in block - corrects matching by !~`, $` reference is overrided - accepts matching by !~` in method with $' before if - behaves like all legacy match methods - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in class method, `$~` is in other method - corrects matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~` in if guard condition with $2 is used in another method + accepts matching by !~` in method with Regexp.last_match(1) before if + accepts matching by !~` in method with $1 in block + registers an offense for matching by !~` in method before `$100` corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in class method, `$~` is in other method - accepts matching by !~` in a class method with $~ - corrects matching by !~` in class method, `$2` is in other method - corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in method before `$`` + accepts matching by !~` in method with Regexp.last_match in block accepts matching by !~` in a class method with $1 - corrects matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with $~ before if - accepts matching by !~` in method with $' in block - registers an offense for matching by !~` in method, `$100` is in other method corrects matching by !~` in method before `$&` + accepts matching by !~` in method with $2 before unless + accepts matching by !~` in method with $2 before if + registers an offense for matching by !~` in class method, `$100` is in other method accepts matching by !~` in method with $` before unless - registers an offense for matching by !~`, $' reference is overrided - accepts matching by !~` in method with $100 in block + corrects matching by !~`, $' reference is overrided + corrects matching by !~`, $2 reference is overrided corrects matching by !~` in method, `$100` is in other method - accepts matching by !~` in method with $` before if - corrects matching by !~` in class, `$&` is in method + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by !~` in module, `$&` is in method + corrects matching by !~` in method before `$'` + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~` in class method, `$'` is in other method + corrects matching by !~` in elsif condition + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in method before `Regexp.last_match` + registers an offense for matching by !~` in method definition + registers an offense for matching by !~` in if guard condition with $100 is used in another method registers an offense for matching by !~` in class, `$2` is in method - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in module, `$1` is in method - registers an offense for matching by !~`, $& reference is overrided - registers an offense for matching by !~` in method, `$`` is in other method - corrects matching by !~` in ternary operator - corrects matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in class, `$'` is in method - accepts matching by !~` in a class method with $& - registers an offense for matching by !~` in class, `$`` is in method - accepts matching by !~` in method with $1 in block - registers an offense for matching by !~` in if guard condition with $' is used in another method accepts matching by !~` in method with $' before if - corrects matching by !~`, $` reference is overrided - corrects matching by !~` in class method, `$'` is in other method - corrects matching by !~` in module, `$2` is in method - corrects matching by !~` in method, `$2` is in other method - corrects matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in a class method with $' + accepts matching by !~` in guard condition with $' is used in the line after that + accepts matching by !~` in method with $MATCH + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in module, `$`` is in method corrects matching by !~` in method, `$`` is in other method - corrects matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~` in class method, `$2` is in other method - accepts matching by !~` in method with $MATCH before unless - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - registers an offense for matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in case condition - corrects matching by !~` in class, `Regexp.last_match` is in method - accepts matching by !~` in method with Regexp.last_match in block + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method, `$&` is in other method + registers an offense for matching by !~` in method before `$1` + accepts matching by !~` in guard condition with $~ is used in the line after that + corrects matching by !~` in method, `$~` is in other method + accepts matching by !~` in method with $~ before unless + corrects matching by !~` in method before `$`` + registers an offense for matching by !~` in elsif condition + accepts matching by !~` in method with $100 + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in guard condition with $2 is used in the line after that + registers an offense for matching by !~` in module, `$&` is in method + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~` in if guard condition with $2 is used in another method corrects matching by !~`, $1 reference is overrided - accepts matching by !~` in method with $100 before if - accepts matching by !~` in method with $2 before if - accepts matching by !~` in guard condition with $100 is used in the line after that + registers an offense for matching by !~` in module, `$2` is in method + accepts matching by !~` in guard condition with $& is used in the line after that + corrects matching by !~` in class, `$~` is in method + corrects matching by !~` in class, `$100` is in method + corrects matching by !~` in module, `$~` is in method + corrects matching by !~`, $& reference is overrided + accepts matching by !~` in method with $~ in block + accepts matching by !~` in method with $& + corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in if guard condition with $& is used in another method + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in module, `$MATCH` is in method registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in guard condition with $' is used in the line after that - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in method with $MATCH before if - accepts matching by !~` in method with $1 before if - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~`, $100 reference is overrided + corrects matching by !~` in module, `$100` is in method + accepts matching by !~` in method with $~ before if + registers an offense for matching by !~` in method, `$'` is in other method + accepts matching by !~` in guard condition with $100 is used in the line after that + registers an offense for matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in class method, `$~` is in other method + corrects matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $& before unless registers an offense for matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in class method, `$'` is in other method - corrects matching by !~` in method before `$'` - registers an offense for matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in method before `$2` + corrects matching by !~` in class, `Regexp.last_match` is in method corrects matching by !~` in if guard condition with $` is used in another method - accepts matching by !~` in method with $2 - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in class method, `$&` is in other method - corrects matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in method before `$~` + corrects matching by !~` in if condition + registers an offense for matching by !~` in method before `$MATCH` + accepts matching by !~` in method with $& in block + registers an offense for matching by !~` in if condition accepts matching by !~` in method with Regexp.last_match(1) - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + behaves like all legacy match methods + registers an offense for matching by !~` in method before `$~` + corrects matching by !~` in class method, `$'` is in other method + accepts matching by !~` in method with $2 in block + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in class, `$`` is in method + corrects matching by !~` in method before `$~` + corrects matching by !~` in method, `$&` is in other method + accepts matching by !~` in a class method with Regexp.last_match(1) + corrects matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in method before `$`` registers an offense for matching by !~`, Regexp.last_match reference is overrided - accepts matching by !~` in method with Regexp.last_match before if - corrects matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in method before `$&` - accepts matching by !~` in method with $1 before unless - corrects matching by !~` in class method, `$100` is in other method - accepts matching by !~` in a class method with $100 + corrects matching by !~` in method, `$100` is in other method + accepts matching by !~` in method with $` before if + registers an offense for matching by !~` in case condition + accepts matching by !~` in method with $~ before unless + accepts matching by !~` in guard condition with $1 is used in the line after that + corrects matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in ternary operator + registers an offense for matching by !~` in class, `$100` is in method + accepts matching by !~` in method with Regexp.last_match in block + corrects matching by !~` in method before `$1` + accepts matching by !~` in method with $MATCH before unless + corrects matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~`, $100 reference is overrided registers an offense for matching by !~` in module, `$'` is in method - corrects matching by !~` in class, `$2` is in method - corrects matching by !~` in unless condition - corrects matching by !~` in method before `$~` - accepts matching by !~` in a class method with $2 - corrects matching by !~` in method, `$1` is in other method accepts matching by !~` in method with $MATCH in block - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by !~`, $& reference is overrided - corrects matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in module, `$1` is in method - registers an offense for matching by !~` in if condition - corrects matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in module, `Regexp.last_match` is in method registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in method before `$1` - registers an offense for matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in guard condition with $` is used in the line after that - registers an offense for matching by !~` in module, `$100` is in method - accepts matching by !~` in method with $MATCH - corrects matching by !~` in method, `$&` is in other method - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $2 in block - accepts matching by !~` in guard condition with $1 is used in the line after that - corrects matching by !~` in class, `$`` is in method - accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in class, `$~` is in method - accepts matching by !~` in method with $' before unless - accepts matching by !~` in method with $& in block - accepts matching by !~` in method with $` in block - corrects matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~`, $100 reference is overrided + accepts matching by !~` in method with $1 in block registers an offense for matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in method with $~ - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in method before `$100` - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in case condition - accepts matching by !~` in a class method with Regexp.last_match(1) - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in if condition - accepts matching by !~` in method with Regexp.last_match - accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~` in class, `$2` is in method + corrects matching by !~` in if guard condition with $1 is used in another method registers an offense for matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in method before `$MATCH` + registers an offense for matching by !~` in method before `$2` accepts matching by !~` in method with Regexp.last_match before unless - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in method before `Regexp.last_match` - accepts matching by !~` in method with $& before if - corrects matching by !~` in module, `$`` is in method - accepts matching by !~` in a class method with $` - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $& - corrects matching by !~` in method before `$`` - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by !~` in method definition - corrects matching by !~` in module, `$'` is in method - corrects matching by !~` in class, `$~` is in method - corrects matching by !~` in method before `$1` - registers an offense for matching by !~` in module, `$&` is in method - corrects matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in method before `Regexp.last_match` - corrects matching by !~` in if condition - corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in method before `$MATCH` - corrects matching by !~` in unless condition - registers an offense for matching by !~` in class, `$&` is in method - accepts matching by !~` in guard condition with $2 is used in the line after that - corrects matching by !~` in method before `$2` corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $& before unless + corrects matching by !~` in method before `$100` + accepts matching by !~` in method with $2 + accepts matching by !~` in a class method with Regexp.last_match + corrects matching by !~` in method, `$'` is in other method + registers an offense for matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in method before `$&` + registers an offense for matching by !~` in method, `$~` is in other method accepts matching by !~` in method with $' - corrects matching by !~` in if condition - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~` in class method, `$MATCH` is in other method - corrects matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $2 before if + corrects matching by !~` in class, `$1` is in method + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~` in method definition + corrects matching by !~` in method before `$2` corrects matching by !~`, $~ reference is overrided + accepts matching by !~` in a class method with $1 + registers an offense for matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in class, `$~` is in method + corrects matching by !~`, $' reference is overrided + registers an offense for matching by !~` in module, `$MATCH` is in method registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in method, `$MATCH` is in other method - corrects matching by !~` in class method, `$&` is in other method - corrects matching by !~`, $2 reference is overrided - accepts matching by !~` in method with Regexp.last_match(1) in block - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in method definition + corrects matching by !~`, $1 reference is overrided + corrects matching by !~` in class, `$'` is in method + accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in class method, `$2` is in other method + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in method with $~ before if + registers an offense for matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in class method, `$1` is in other method + corrects matching by !~` in if guard condition with $MATCH is used in another method accepts matching by !~` in guard condition with $~ is used in the line after that - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before if - corrects matching by !~`, $' reference is overrided - registers an offense for matching by !~` in module, `$`` is in method - corrects matching by !~` in method, `$~` is in other method + registers an offense for matching by !~` in class, `$2` is in method + registers an offense for matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by !~` in elsif condition - accepts matching by !~` in method with $& before unless - corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in method, `$2` is in other method - accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in ternary operator accepts matching by !~` in method with $100 - accepts matching by !~` in method with $~ in block - accepts matching by !~` in method with $2 before unless - registers an offense for matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in if guard condition with $` is used in another method + accepts matching by !~` in method with $1 before if + registers an offense for matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in class, `$&` is in method + registers an offense for matching by !~` in class method, `$&` is in other method + accepts matching by !~` in method with $' before unless + corrects matching by !~` in class method, `$`` is in other method + corrects matching by !~` in class method, `$2` is in other method + corrects matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in method before `$'` + accepts matching by !~` in method with $MATCH + registers an offense for matching by !~` in method before `Regexp.last_match` + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~`, $` reference is overrided + accepts matching by !~` in a class method with $MATCH + corrects matching by !~` in method before `$'` + accepts matching by !~` in a class method with $& + accepts matching by !~` in method with $` in block + corrects matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in module, `$1` is in method + registers an offense for matching by !~`, $MATCH reference is overrided + corrects matching by !~` in module, `$`` is in method corrects matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in method with $` - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in module, `$&` is in method - accepts matching by !~` in method with $1 - registers an offense for matching by !~` in method, `$1` is in other method - accepts matching by !~` in a class method with Regexp.last_match - behaves like all legacy match methods - accepts matching by !~` in guard condition with $` is used in the line after that - registers an offense for matching by !~` in if condition - corrects matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + accepts matching by !~` in method with $& in block + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with $2 before unless registers an offense for matching by !~` in unless condition - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in a class method with Regexp.last_match(1) - registers an offense for matching by !~`, $' reference is overrided - corrects matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in method before `$'` + accepts matching by !~` in guard condition with $& is used in the line after that + registers an offense for matching by !~` in method, `$2` is in other method + corrects matching by !~` in method before `$&` + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + accepts matching by !~` in a class method with $` + accepts matching by !~` in method with Regexp.last_match(1) in block accepts matching by !~` in method with $MATCH before if + corrects matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in class method, `$1` is in other method + corrects matching by !~` in module, `$MATCH` is in method + registers an offense for matching by !~` in class method, `$100` is in other method + corrects matching by !~` in method, `$`` is in other method + corrects matching by !~` in if guard condition with $100 is used in another method + accepts matching by !~` in method with $1 before unless + corrects matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~` in method, `$2` is in other method + registers an offense for matching by !~` in method before `$100` + registers an offense for matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in method, `$&` is in other method accepts matching by !~` in method with $~ in block - corrects matching by !~` in class method, `$~` is in other method - corrects matching by !~` in module, `$100` is in method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by !~`, $~ reference is overrided - corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in module, `$2` is in method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in method before `$MATCH` + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method accepts matching by !~` in method with Regexp.last_match(1) - registers an offense for matching by !~` in method before `$MATCH` - corrects matching by !~` in method, `$1` is in other method - corrects matching by !~`, Regexp.last_match reference is overrided - accepts matching by !~` in method with $100 - accepts matching by !~` in a class method with $` - corrects matching by !~` in method definition - corrects matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in if guard condition with $` is used in another method - accepts matching by !~` in method with $& - corrects matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in method before `$`` + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in class method, `$~` is in other method + corrects matching by !~` in module, `$2` is in method + corrects matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in class method, `$~` is in other method + accepts matching by !~` in method with $& before if accepts matching by !~` in method with $` - registers an offense for matching by !~` in method, `$`` is in other method - corrects matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in if guard condition with $2 is used in another method - corrects matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in class method, `$2` is in other method - accepts matching by !~` in method with $2 before unless corrects matching by !~` in unless condition - corrects matching by !~` in elsif condition - corrects matching by !~` in class, `$~` is in method - registers an offense for matching by !~` in method, `$1` is in other method - corrects matching by !~`, $& reference is overrided - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $100 in block - registers an offense for matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in method with $1 before if - registers an offense for matching by !~` in class, `$'` is in method - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in ternary operator + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method corrects matching by !~` in if condition - accepts matching by !~` in method with Regexp.last_match(1) before if - corrects matching by !~` in class, `$`` is in method - accepts matching by !~` in method with $` before unless + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~`, $MATCH reference is overrided accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in if condition - accepts matching by !~` in method with $' before unless - accepts matching by !~` in method with Regexp.last_match(1) before unless - accepts matching by !~` in guard condition with $2 is used in the line after that - accepts matching by !~` in method with $& before unless - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - accepts matching by !~` in guard condition with $1 is used in the line after that - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by !~` in a class method with $& - registers an offense for matching by !~` in module, `$'` is in method - registers an offense for matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in module, `$`` is in method - corrects matching by !~` in class, `$&` is in method - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with $2 in block - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in class, `$~` is in method - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method + accepts matching by !~` in guard condition with $` is used in the line after that corrects matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $100 is used in the line after that + registers an offense for matching by !~` in class, `$1` is in method + registers an offense for matching by !~` in method, `$`` is in other method + registers an offense for matching by !~`, $& reference is overrided + corrects matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in method, `$'` is in other method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in if guard condition with $& is used in another method + corrects matching by !~`, Regexp.last_match(1) reference is overrided registers an offense for matching by !~` in module, `$~` is in method - corrects matching by !~` in method before `$100` - accepts matching by !~` in method with $~ before unless + registers an offense for matching by !~` in class method, `$'` is in other method + corrects matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in a class method with $100 + registers an offense for matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in if condition + corrects matching by !~` in class, `$&` is in method + accepts matching by !~` in guard condition with $2 is used in the line after that + registers an offense for matching by !~` in module, `$100` is in method + accepts matching by !~` in method with $~ accepts matching by !~` in method with Regexp.last_match before if corrects matching by !~` in method, `$~` is in other method - corrects matching by !~` in case condition - accepts matching by !~` in method with $` in block - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in module, `$1` is in method - registers an offense for matching by !~`, $& reference is overrided + registers an offense for matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with Regexp.last_match(1) before unless accepts matching by !~` in method with Regexp.last_match - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in method with $MATCH in block - registers an offense for matching by !~` in method, `$100` is in other method - corrects matching by !~` in method, `$`` is in other method - registers an offense for matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in class method, `$`` is in other method - corrects matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in method with $1 in block - corrects matching by !~` in class, `$2` is in method - accepts matching by !~` in method with $' - corrects matching by !~` in method before `$1` - registers an offense for matching by !~` in class method, `$&` is in other method + corrects matching by !~` in module, `$~` is in method + registers an offense for matching by !~`, $' reference is overrided + registers an offense for matching by !~` in ternary operator + accepts matching by !~` in method with $100 before unless + corrects matching by !~` in class, `$~` is in method + accepts matching by !~` in method with $& + accepts matching by !~` in method with $` before unless + accepts matching by !~` in method with $100 before if accepts matching by !~` in a class method with $2 - registers an offense for matching by !~` in method definition - accepts matching by !~` in method with $~ + accepts matching by !~` in method with $1 + corrects matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in class, `$`` is in method accepts matching by !~` in guard condition with $MATCH is used in the line after that - corrects matching by !~` in method, `$'` is in other method - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in guard condition with $100 is used in the line after that + corrects matching by !~` in module, `$100` is in method accepts matching by !~` in a class method with $' - registers an offense for matching by !~` in elsif condition + registers an offense for matching by !~` in method definition accepts matching by !~` in method with $' before if + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by !~` in method with $' in block + accepts matching by !~` in method with $100 in block + accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in if condition + corrects matching by !~` in unless condition corrects matching by !~` in module, `$'` is in method - accepts matching by !~` in guard condition with $& is used in the line after that - corrects matching by !~` in class method, `$'` is in other method - corrects matching by !~` in method before `$~` - registers an offense for matching by !~` in method before `$100` - corrects matching by !~`, $' reference is overrided + corrects matching by !~` in case condition + registers an offense for matching by !~` in module, `$`` is in method + corrects matching by !~` in method before `$`` + registers an offense for matching by !~` in method before `$1` + registers an offense for matching by !~` in if condition + behaves like all legacy match methods + accepts matching by !~` in method with $` before unless + corrects matching by !~` in if guard condition with $& is used in another method accepts matching by !~` in method with $MATCH before unless - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in method with Regexp.last_match before unless - corrects matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in class, `$100` is in method - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in case condition corrects matching by !~` in unless condition - corrects matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in module, `$100` is in method - corrects matching by !~` in method before `$2` - registers an offense for matching by !~` in method before `$&` - accepts matching by !~` in method with $` before if - accepts matching by !~` in method with $1 before unless - corrects matching by !~` in ternary operator - corrects matching by !~` in module, `$2` is in method - accepts matching by !~` in method with $1 - registers an offense for matching by !~` in class, `$&` is in method - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in method with $& in block - corrects matching by !~`, $2 reference is overrided - corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in method before `$`` - registers an offense for matching by !~` in class method, `$1` is in other method - corrects matching by !~` in method, `$2` is in other method - accepts matching by !~` in method with $2 before if + accepts matching by !~` in method with $2 + corrects matching by !~` in module, `$'` is in method + accepts matching by !~` in method with $' before if + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in method with $& + registers an offense for matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in if guard condition with $& is used in another method + accepts matching by !~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by !~` in module, `Regexp.last_match` is in method - accepts matching by !~` in a class method with $1 - accepts matching by !~` in method with $& before if + corrects matching by !~` in unless condition registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~`, $~ reference is overrided - accepts matching by !~` in method with Regexp.last_match in block - corrects matching by !~` in method, `$100` is in other method - corrects matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in method, `$&` is in other method - corrects matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~` in method before `$2` - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $' in block - corrects matching by !~`, $` reference is overrided - accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in method with $& in block + accepts matching by !~` in method with $MATCH before if registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in module, `$1` is in method - registers an offense for matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in class, `$`` is in method + accepts matching by !~` in method with $1 in block + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in class method, `$`` is in other method + accepts matching by !~` in method with $2 in block accepts matching by !~` in method with $100 before if - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class, `$1` is in method - corrects matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in if condition - accepts matching by !~` in method with $~ before if - accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in method before `$1` - accepts matching by !~` in guard condition with $' is used in the line after that - corrects matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in class method, `$~` is in other method - accepts matching by !~` in a class method with $~ - corrects matching by !~` in method before `$&` - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $2 - corrects matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in method, `$2` is in other method - corrects matching by !~` in class method, `$2` is in other method - corrects matching by !~` in class, `$MATCH` is in method - corrects matching by !~` in class method, `$1` is in other method - accepts matching by !~` in a class method with $100 - registers an offense for matching by !~` in class, `$2` is in method - accepts matching by !~` in guard condition with $~ is used in the line after that - accepts matching by !~` in method with $MATCH - behaves like all legacy match methods - corrects matching by !~` in class, `$2` is in method - corrects matching by !~` in method, `$`` is in other method - corrects matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $2 before unless - corrects matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in class method, `$2` is in other method corrects matching by !~` in class, `$~` is in method - registers an offense for matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - accepts matching by !~` in method with $MATCH - accepts matching by !~` in method with $1 - registers an offense for matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in class method, `$&` is in other method - accepts matching by !~` in a class method with Regexp.last_match - corrects matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in method before `$2` - corrects matching by !~` in case condition - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in method with $2 before if - accepts matching by !~` in method with $~ before if - accepts matching by !~` in method with $' before unless - corrects matching by !~` in if guard condition with $& is used in another method - corrects matching by !~`, $~ reference is overrided - corrects matching by !~` in method before `$1` corrects matching by !~` in method, `$'` is in other method - corrects matching by !~` in method, `$2` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before if - corrects matching by !~` in method, `$&` is in other method - accepts matching by !~` in guard condition with $100 is used in the line after that - accepts matching by !~` in method with $MATCH in block - corrects matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in module, `$100` is in method + corrects matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in class, `$&` is in method + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in class, `$'` is in method + accepts matching by !~` in method with Regexp.last_match + registers an offense for matching by !~` in method before `$'` corrects matching by !~` in ternary operator - corrects matching by !~` in class method, `$'` is in other method - accepts matching by !~` in guard condition with $~ is used in the line after that - accepts matching by !~` in method with $100 before if - accepts matching by !~` in a class method with $MATCH + corrects matching by !~`, $MATCH reference is overrided + corrects matching by !~` in method definition registers an offense for matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in module, `$MATCH` is in method - corrects matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $' in block - accepts matching by !~` in method with Regexp.last_match before unless - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method before `$MATCH` + accepts matching by !~` in guard condition with $100 is used in the line after that + registers an offense for matching by !~` in class, `$`` is in method + corrects matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~`, $1 reference is overrided + accepts matching by !~` in a class method with Regexp.last_match corrects matching by !~` in class, `$100` is in method - accepts matching by !~` in method with Regexp.last_match - accepts matching by !~` in method with $& before if - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by !~`, $' reference is overrided - corrects matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in class, `$~` is in method - corrects matching by !~` in module, `$`` is in method + corrects matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in ternary operator + registers an offense for matching by !~` in module, `$`` is in method + corrects matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~`, $& reference is overrided + registers an offense for matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in method, `$2` is in other method corrects matching by !~` in method before `$`` + registers an offense for matching by !~` in class, `$MATCH` is in method + corrects matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in class, `$1` is in method + accepts matching by !~` in method with $100 in block + corrects matching by !~` in elsif condition + registers an offense for matching by !~` in method, `$~` is in other method + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in elsif condition + registers an offense for matching by !~` in module, `$&` is in method + accepts matching by !~` in method with Regexp.last_match in block + accepts matching by !~` in method with $1 before unless + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in class, `$1` is in method corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in class method, `$~` is in other method + accepts matching by !~` in method with $1 + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method registers an offense for matching by !~` in if condition - corrects matching by !~` in method, `$~` is in other method - accepts matching by !~` in method with $` before unless - accepts matching by !~` in a class method with $1 - accepts matching by !~` in guard condition with $2 is used in the line after that - registers an offense for matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in method with $' before if - corrects matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in method before `$&` - accepts matching by !~` in a class method with $100 registers an offense for matching by !~` in method, `$&` is in other method - corrects matching by !~` in method before `$~` - registers an offense for matching by !~`, $1 reference is overrided - accepts matching by !~` in a class method with $` + corrects matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in if guard condition with $2 is used in another method corrects matching by !~` in class method, `$1` is in other method - corrects matching by !~`, $2 reference is overrided - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~`, $' reference is overrided - corrects matching by !~` in if condition - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in case condition - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in class method, `$2` is in other method - corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - registers an offense for matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in if guard condition with $& is used in another method - corrects matching by !~`, $& reference is overrided - corrects matching by !~`, $100 reference is overrided - accepts matching by !~` in method with Regexp.last_match(1) - accepts matching by !~` in method with Regexp.last_match before if - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~` in class method, `$100` is in other method - corrects matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in method before `$'` - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in if guard condition with $` is used in another method - accepts matching by !~` in method with $` before if - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in unless condition - corrects matching by !~` in class, `$&` is in method - accepts matching by !~` in method with $1 before unless - corrects matching by !~` in module, `$1` is in method - accepts matching by !~` in method with $MATCH before unless + corrects matching by !~` in module, `$100` is in method accepts matching by !~` in guard condition with $` is used in the line after that - registers an offense for matching by !~` in method before `$`` - registers an offense for matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in a class method with $' - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by !~` in a class method with $& registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in class method, `$1` is in other method - corrects matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in class, `$&` is in method - registers an offense for matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in method, `$100` is in other method - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~`, $MATCH reference is overrided - accepts matching by !~` in method with $100 - accepts matching by !~` in a class method with $~ - registers an offense for matching by !~` in class method, `$2` is in other method - accepts matching by !~` in method with $& before unless - corrects matching by !~` in method, `$100` is in other method - registers an offense for matching by !~`, $& reference is overrided - accepts matching by !~` in method with $~ - accepts matching by !~` in method with $& - corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in if guard condition with $100 is used in another method - registers an offense for matching by !~` in module, `$1` is in method - registers an offense for matching by !~` in if guard condition with $2 is used in another method - corrects matching by !~` in method before `$&` - registers an offense for matching by !~` in method before `$1` - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in method definition - corrects matching by !~` in method before `$2` - accepts matching by !~` in method with $` in block - corrects matching by !~` in method definition - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in class, `$`` is in method - corrects matching by !~` in module, `$2` is in method - accepts matching by !~` in method with $` - accepts matching by !~` in method with $100 in block - accepts matching by !~` in method with Regexp.last_match(1) before unless - corrects matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in class method, `$'` is in other method - accepts matching by !~` in method with $1 before if - corrects matching by !~` in if condition - corrects matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in elsif condition - accepts matching by !~` in method with $& in block - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by !~` in module, `$&` is in method - corrects matching by !~` in method before `$'` - corrects matching by !~` in unless condition - accepts matching by !~` in a class method with $2 - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method registers an offense for matching by !~` in module, `$'` is in method - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in ternary operator - accepts matching by !~` in method with $2 in block - accepts matching by !~` in method with Regexp.last_match in block - registers an offense for matching by !~` in class, `$1` is in method - corrects matching by !~` in module, `$'` is in method - corrects matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in a class method with $& accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in class method, `$&` is in other method - accepts matching by !~` in method with $MATCH before if - corrects matching by !~` in module, `$MATCH` is in method - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in a class method with Regexp.last_match(1) - registers an offense for matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in method with $1 in block - corrects matching by !~` in method before `$100` - registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in case condition accepts matching by !~` in method with $~ in block - registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in method, `$2` is in other method - accepts matching by !~` in method with $2 - accepts matching by !~` in guard condition with $' is used in the line after that + accepts matching by !~` in a class method with $` + accepts matching by !~` in guard condition with $~ is used in the line after that + accepts matching by !~` in method with $MATCH in block + corrects matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in a class method with $~ + accepts matching by !~` in method with $' before unless corrects matching by !~` in class, `$`` is in method - corrects matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in method before `$MATCH` - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class, `$'` is in method - accepts matching by !~` in guard condition with $1 is used in the line after that - corrects matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in unless condition - accepts matching by !~` in method with $' - corrects matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in method, `$`` is in other method + corrects matching by !~` in if condition + registers an offense for matching by !~` in class, `$~` is in method + accepts matching by !~` in method with $~ before unless + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in case condition + registers an offense for matching by !~` in method before `$2` + registers an offense for matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~`, $' reference is overrided + registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in if guard condition with $100 is used in another method + accepts matching by !~` in method with $' in block + accepts matching by !~` in method with Regexp.last_match before unless + corrects matching by !~` in module, `$2` is in method registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in method, `$~` is in other method - behaves like all legacy match methods + accepts matching by !~` in a class method with $100 + corrects matching by !~`, $~ reference is overrided corrects matching by !~` in method before `$~` - accepts matching by !~` in guard condition with $' is used in the line after that - accepts matching by !~` in method with $1 in block - corrects matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in method definition - registers an offense for matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~` in module, `$2` is in method + corrects matching by !~` in method, `$100` is in other method + accepts matching by !~` in method with Regexp.last_match(1) in block registers an offense for matching by !~`, $MATCH reference is overrided - corrects matching by !~` in module, `$'` is in method - registers an offense for matching by !~` in method, `$'` is in other method - accepts matching by !~` in method with $` before unless - accepts matching by !~` in method with Regexp.last_match before if - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in method, `$MATCH` is in other method - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with $~ before if - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in class, `$2` is in method - registers an offense for matching by !~` in method before `Regexp.last_match` - corrects matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in if condition - corrects matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in guard condition with $MATCH is used in the line after that - corrects matching by !~` in elsif condition - accepts matching by !~` in method with Regexp.last_match - corrects matching by !~` in method, `$'` is in other method - accepts matching by !~` in method with $1 - accepts matching by !~` in method with $` in block - corrects matching by !~` in class method, `$2` is in other method - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with Regexp.last_match in block - accepts matching by !~` in method with $& before unless - accepts matching by !~` in method with $1 before unless - corrects matching by !~`, $' reference is overrided - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in method before `$1` - corrects matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in module, `$'` is in method - registers an offense for matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $100 in block accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~`, $1 reference is overrided + accepts matching by !~` in method with $1 before if + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $MATCH + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that corrects matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $' in block - corrects matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in unless condition - corrects matching by !~` in module, `$1` is in method - accepts matching by !~` in method with $2 before unless - registers an offense for matching by !~` in method before `$1` - registers an offense for matching by !~` in method before `$~` - registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in unless condition + accepts matching by !~` in method with $' + corrects matching by !~` in module, `$&` is in method corrects matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in method, `$&` is in other method - registers an offense for matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in method before `$&` + accepts matching by !~` in method with $100 before unless + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in module, `$100` is in method - corrects matching by !~` in class, `$2` is in method - accepts matching by !~` in guard condition with $& is used in the line after that - registers an offense for matching by !~` in class method, `$~` is in other method - corrects matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in case condition - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by !~` in if guard condition with $100 is used in another method - accepts matching by !~` in method with $~ - accepts matching by !~` in method with $1 before if + registers an offense for matching by !~` in unless condition + accepts matching by !~` in a class method with Regexp.last_match(1) accepts matching by !~` in guard condition with $1 is used in the line after that + corrects matching by !~`, $` reference is overrided + accepts matching by !~` in guard condition with $' is used in the line after that + registers an offense for matching by !~` in if guard condition with $' is used in another method accepts matching by !~` in guard condition with $2 is used in the line after that - registers an offense for matching by !~` in if condition - accepts matching by !~` in a class method with Regexp.last_match(1) - corrects matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~` in class method, `$`` is in other method - corrects matching by !~` in module, `$`` is in method - corrects matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~`, $& reference is overrided - registers an offense for matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in class method, `$`` is in other method - corrects matching by !~` in class method, `$&` is in other method - corrects matching by !~` in ternary operator - accepts matching by !~` in method with $2 before if - registers an offense for matching by !~` in class method, `$2` is in other method - corrects matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in method with $' accepts matching by !~` in a class method with $2 - accepts matching by !~` in method with $& - corrects matching by !~` in class, `$1` is in method - corrects matching by !~` in module, `$&` is in method - corrects matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in method, `$1` is in other method - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in method before `Regexp.last_match` - corrects matching by !~` in class, `$&` is in method - accepts matching by !~` in method with $` - corrects matching by !~` in method, `$2` is in other method - accepts matching by !~` in method with Regexp.last_match(1) - registers an offense for matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in if guard condition with $2 is used in another method - corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in if guard condition with $' is used in another method + corrects matching by !~` in method, `$1` is in other method + corrects matching by !~` in class method, `$2` is in other method + corrects matching by !~` in method before `$100` + registers an offense for matching by !~` in method before `$&` + registers an offense for matching by !~` in method before `$MATCH` registers an offense for matching by !~` in class, `$&` is in method - corrects matching by !~` in method, `$100` is in other method - accepts matching by !~` in a class method with $& - registers an offense for matching by !~` in method, `$~` is in other method - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by !~` in method, `$2` is in other method + corrects matching by !~`, $' reference is overrided + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~` in class method, `$~` is in other method + registers an offense for matching by !~` in method before `$1` corrects matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in method, `$100` is in other method - registers an offense for matching by !~` in class, `$1` is in method - accepts matching by !~` in method with $~ in block - corrects matching by !~` in class, `$`` is in method - accepts matching by !~` in method with $MATCH before if - corrects matching by !~` in method definition - accepts matching by !~` in method with Regexp.last_match before unless - accepts matching by !~` in method with $MATCH - registers an offense for matching by !~` in module, `$MATCH` is in method - corrects matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in a class method with $` - corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in module, `$1` is in method + corrects matching by !~` in method before `$'` + corrects matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in class method, `$MATCH` is in other method + corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in method before `$~` + corrects matching by !~` in if condition + registers an offense for matching by !~` in class, `$2` is in method registers an offense for matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in class, `$100` is in method - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in class, `$`` is in method - corrects matching by !~` in module, `$~` is in method - corrects matching by !~`, $~ reference is overrided - accepts matching by !~` in method with $100 before if - corrects matching by !~` in if guard condition with $~ is used in another method - accepts matching by !~` in method with $MATCH in block - registers an offense for matching by !~` in method before `$`` - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in method with $100 + accepts matching by !~` in method with $~ corrects matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~`, $` reference is overrided + registers an offense for matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~`, $~ reference is overrided + accepts matching by !~` in method with $& before unless + registers an offense for matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in method, `$`` is in other method + corrects matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in method before `$`` + accepts matching by !~` in method with Regexp.last_match before if registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in ternary operator - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - registers an offense for matching by !~`, $100 reference is overrided - corrects matching by !~` in module, `$100` is in method - corrects matching by !~` in class, `$'` is in method - corrects matching by !~` in method, `$~` is in other method - accepts matching by !~` in guard condition with $~ is used in the line after that - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - corrects matching by !~` in class, `$~` is in method - accepts matching by !~` in method with $MATCH before unless - registers an offense for matching by !~` in class method, `$1` is in other method - corrects matching by !~` in method before `$&` - corrects matching by !~` in method, `$1` is in other method + accepts matching by !~` in a class method with $' + accepts matching by !~` in method with $2 before unless + corrects matching by !~` in method, `$&` is in other method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in method with $~ before if + registers an offense for matching by !~` in method definition + corrects matching by !~`, $& reference is overrided + accepts matching by !~` in method with Regexp.last_match(1) registers an offense for matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in if condition - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in method with Regexp.last_match(1) before unless - corrects matching by !~` in case condition - corrects matching by !~` in class method, `$1` is in other method - corrects matching by !~` in method before `$`` - corrects matching by !~` in if condition - registers an offense for matching by !~`, $' reference is overrided - accepts matching by !~` in a class method with $1 - corrects matching by !~` in if guard condition with $& is used in another method - accepts matching by !~` in method with $2 - corrects matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in class, `$'` is in method - corrects matching by !~` in method before `$100` accepts matching by !~` in method with Regexp.last_match(1) before if - registers an offense for matching by !~` in if guard condition with $1 is used in another method - accepts matching by !~` in method with $' before if - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in method before `$2` - registers an offense for matching by !~`, $& reference is overrided - accepts matching by !~` in guard condition with $` is used in the line after that - accepts matching by !~` in a class method with $100 + accepts matching by !~` in method with $` before if + corrects matching by !~` in method before `$1` + accepts matching by !~` in method with Regexp.last_match(1) before unless accepts matching by !~` in method with $& before if - registers an offense for matching by !~` in method before `$2` - corrects matching by !~` in unless condition - accepts matching by !~` in guard condition with $100 is used in the line after that + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in class method, `$1` is in other method + corrects matching by !~` in class, `$2` is in method + corrects matching by !~` in method, `$`` is in other method + accepts matching by !~` in a class method with $1 + registers an offense for matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in if guard condition with $MATCH is used in another method corrects matching by !~` in method before `Regexp.last_match(1)` - accepts matching by !~` in a class method with Regexp.last_match - accepts matching by !~` in a class method with $~ - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in method, `$2` is in other method + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in method with $2 before if + accepts matching by !~` in method with $` + registers an offense for matching by !~` in method, `$'` is in other method + corrects matching by !~` in class method, `$100` is in other method + accepts matching by !~` in method with $` in block + corrects matching by !~` in class, `$'` is in method corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in if guard condition with $~ is used in another method - corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~` in module, `$1` is in method - accepts matching by !~` in method with $2 in block - registers an offense for matching by !~`, $1 reference is overrided - accepts matching by !~` in method with $100 before unless - accepts matching by !~` in a class method with $' - corrects matching by !~` in method before `$'` - registers an offense for matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with $' before unless - registers an offense for matching by !~` in class method, `$MATCH` is in other method - accepts matching by !~` in method with $` before if - accepts matching by !~` in method with $& in block - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in module, `$`` is in method - accepts matching by !~` in method with $100 - corrects matching by !~` in if guard condition with $' is used in another method - behaves like all legacy match methods - corrects Symbol#match method call with position in module, `$MATCH` is in method - registers an offense for Symbol#match method call with position in unless condition - registers an offense for Symbol#match method call with position in method before `$1` - corrects Symbol#match method call with position in method before `$~` - accepts Symbol#match method call with position in method with $& before unless - accepts Symbol#match method call with position in a class method with $& - accepts Symbol#match method call with position in method with $2 in block - accepts Symbol#match method call with position in method with $& - registers an offense for Symbol#match method call with position in class, `Regexp.last_match` is in method - registers an offense for Symbol#match method call with position in method, `$2` is in other method - registers an offense for Symbol#match method call with position in module, `$&` is in method - corrects Symbol#match method call with position in module, `Regexp.last_match` is in method - registers an offense for Symbol#match method call with position in method before `$`` - corrects Symbol#match method call with position in method before `$1` - corrects Symbol#match method call with position in class method, `Regexp.last_match(1)` is in other method - corrects Symbol#match method call with position, Regexp.last_match reference is overrided - registers an offense for Symbol#match method call with position in class, `$1` is in method - corrects Symbol#match method call with position in module, `$1` is in method - registers an offense for Symbol#match method call with position, $' reference is overrided - registers an offense for Symbol#match method call with position, $~ reference is overrided - registers an offense for Symbol#match method call with position, $& reference is overrided - registers an offense for Symbol#match method call with position in module, `$~` is in method - registers an offense for Symbol#match method call with position in method before `$MATCH` - corrects Symbol#match method call with position, $' reference is overrided - corrects Symbol#match method call with position, $~ reference is overrided - corrects Symbol#match method call with position in class, `Regexp.last_match(1)` is in method - accepts Symbol#match method call with position in guard condition with $MATCH is used in the line after that - accepts Symbol#match method call with position in guard condition with $2 is used in the line after that - accepts Symbol#match method call with position in a class method with $~ - registers an offense for Symbol#match method call with position in method before `Regexp.last_match` - accepts Symbol#match method call with position in guard condition with $1 is used in the line after that - accepts Symbol#match method call with position in method with $MATCH - corrects Symbol#match method call with position in if guard condition with $100 is used in another method - registers an offense for Symbol#match method call with position in if guard condition with $` is used in another method - accepts Symbol#match method call with position in method with $` before if - corrects Symbol#match method call with position in if guard condition with Regexp.last_match is used in another method - corrects Symbol#match method call with position in method, `$~` is in other method - registers an offense for Symbol#match method call with position in method, `$100` is in other method - corrects Symbol#match method call with position in ternary operator - registers an offense for Symbol#match method call with position in class, `$MATCH` is in method - corrects Symbol#match method call with position in class, `$1` is in method - accepts Symbol#match method call with position in a class method with Regexp.last_match(1) - corrects Symbol#match method call with position in method before `Regexp.last_match` - corrects Symbol#match method call with position in method, `$100` is in other method - registers an offense for Symbol#match method call with position in class method, `Regexp.last_match` is in other method - accepts Symbol#match method call with position in guard condition with $~ is used in the line after that - registers an offense for Symbol#match method call with position in class, `$~` is in method - accepts Symbol#match method call with position in guard condition with $& is used in the line after that - corrects Symbol#match method call with position in module, `$~` is in method - corrects Symbol#match method call with position in if condition - accepts Symbol#match method call with position in method with Regexp.last_match in block - accepts Symbol#match method call with position in method with $MATCH before unless - accepts Symbol#match method call with position in method with $~ - accepts Symbol#match method call with position in method with $~ before unless - corrects Symbol#match method call with position in class method, `$100` is in other method - registers an offense for Symbol#match method call with position in method, `$&` is in other method - corrects Symbol#match method call with position in module, `$`` is in method - registers an offense for Symbol#match method call with position in ternary operator - accepts Symbol#match method call with position in method with $1 before if - accepts Symbol#match method call with position in a class method with $2 - accepts Symbol#match method call with position in a class method with $100 - accepts Symbol#match method call with position in method with $' in block - registers an offense for Symbol#match method call with position in class method, `$100` is in other method - accepts Symbol#match method call with position in a class method with Regexp.last_match - registers an offense for Symbol#match method call with position in class method, `$~` is in other method - corrects Symbol#match method call with position in module, `$&` is in method - corrects Symbol#match method call with position in if condition - corrects Symbol#match method call with position, Regexp.last_match(1) reference is overrided - corrects Symbol#match method call with position in method before `$100` - accepts Symbol#match method call with position in method with $~ in block - registers an offense for Symbol#match method call with position in method, `$1` is in other method - corrects Symbol#match method call with position in unless condition - corrects Symbol#match method call with position in method before `$`` - corrects Symbol#match method call with position in class method, `$~` is in other method - accepts Symbol#match method call with position in method with $` before unless - registers an offense for Symbol#match method call with position in method before `$&` - registers an offense for Symbol#match method call with position in method before `Regexp.last_match(1)` - registers an offense for Symbol#match method call with position in if guard condition with $100 is used in another method - accepts Symbol#match method call with position in method with $100 before unless - corrects Symbol#match method call with position in if guard condition with $' is used in another method - corrects Symbol#match method call with position in case condition - accepts Symbol#match method call with position in method with Regexp.last_match - corrects Symbol#match method call with position in method, `$1` is in other method - corrects Symbol#match method call with position in method, `$&` is in other method - corrects Symbol#match method call with position in if guard condition with $` is used in another method - corrects Symbol#match method call with position in if guard condition with $& is used in another method - corrects Symbol#match method call with position in class, `$100` is in method - corrects Symbol#match method call with position in method before `$&` - registers an offense for Symbol#match method call with position in module, `$`` is in method - registers an offense for Symbol#match method call with position in method before `$2` - registers an offense for Symbol#match method call with position in class, `Regexp.last_match(1)` is in method - corrects Symbol#match method call with position in class, `$2` is in method - accepts Symbol#match method call with position in guard condition with Regexp.last_match is used in the line after that - registers an offense for Symbol#match method call with position, $1 reference is overrided - registers an offense for Symbol#match method call with position in method before `$~` - corrects Symbol#match method call with position in class, `$`` is in method - registers an offense for Symbol#match method call with position in if guard condition with $' is used in another method - accepts Symbol#match method call with position in guard condition with $` is used in the line after that - accepts Symbol#match method call with position in method with $100 before if - accepts Symbol#match method call with position in method with Regexp.last_match before if - registers an offense for Symbol#match method call with position in if guard condition with $MATCH is used in another method - accepts Symbol#match method call with position in method with $MATCH before if - registers an offense for Symbol#match method call with position, $MATCH reference is overrided - registers an offense for Symbol#match method call with position in elsif condition - accepts Symbol#match method call with position in guard condition with $100 is used in the line after that - registers an offense for Symbol#match method call with position in class, `$'` is in method - corrects Symbol#match method call with position in method before `$MATCH` - registers an offense for Symbol#match method call with position in class method, `$1` is in other method - corrects Symbol#match method call with position in class, `$'` is in method - registers an offense for Symbol#match method call with position in class, `$&` is in method - registers an offense for Symbol#match method call with position in class method, `$`` is in other method - corrects Symbol#match method call with position in module, `Regexp.last_match(1)` is in method - registers an offense for Symbol#match method call with position in if condition - corrects Symbol#match method call with position, $2 reference is overrided - registers an offense for Symbol#match method call with position in module, `Regexp.last_match(1)` is in method - accepts Symbol#match method call with position in method with $' - registers an offense for Symbol#match method call with position in if guard condition with $& is used in another method - accepts Symbol#match method call with position in method with $1 in block - corrects Symbol#match method call with position in unless condition - corrects Symbol#match method call with position in method before `$'` - accepts Symbol#match method call with position in method with $2 - registers an offense for Symbol#match method call with position in if guard condition with Regexp.last_match is used in another method - corrects Symbol#match method call with position in method, `Regexp.last_match` is in other method - registers an offense for Symbol#match method call with position, $2 reference is overrided - registers an offense for Symbol#match method call with position in module, `$1` is in method - corrects Symbol#match method call with position in method, `$`` is in other method - registers an offense for Symbol#match method call with position in module, `Regexp.last_match` is in method - registers an offense for Symbol#match method call with position in unless condition - registers an offense for Symbol#match method call with position, Regexp.last_match reference is overrided - accepts Symbol#match method call with position in method with $1 before unless - corrects Symbol#match method call with position in class, `$MATCH` is in method - registers an offense for Symbol#match method call with position in class, `$2` is in method - corrects Symbol#match method call with position in class, `$~` is in method - registers an offense for Symbol#match method call with position in method, `Regexp.last_match` is in other method - corrects Symbol#match method call with position in class method, `$1` is in other method - registers an offense for Symbol#match method call with position in method, `Regexp.last_match(1)` is in other method - registers an offense for Symbol#match method call with position in method, `$`` is in other method - corrects Symbol#match method call with position in class method, `$2` is in other method - registers an offense for Symbol#match method call with position in module, `$'` is in method - registers an offense for Symbol#match method call with position in class method, `$MATCH` is in other method - registers an offense for Symbol#match method call with position in class method, `$'` is in other method - registers an offense for Symbol#match method call with position, $` reference is overrided - corrects Symbol#match method call with position, $1 reference is overrided - registers an offense for Symbol#match method call with position in method before `$100` - corrects Symbol#match method call with position in if guard condition with $~ is used in another method - corrects Symbol#match method call with position in class method, `$&` is in other method - corrects Symbol#match method call with position in method definition - corrects Symbol#match method call with position in module, `$100` is in method - accepts Symbol#match method call with position in method with $' before unless - registers an offense for Symbol#match method call with position in class method, `Regexp.last_match(1)` is in other method - accepts Symbol#match method call with position in method with $2 before if - registers an offense for Symbol#match method call with position in module, `$2` is in method - registers an offense for Symbol#match method call with position in module, `$MATCH` is in method - corrects Symbol#match method call with position, $` reference is overrided - accepts Symbol#match method call with position in method with Regexp.last_match(1) - accepts Symbol#match method call with position in method with Regexp.last_match(1) in block - registers an offense for Symbol#match method call with position in class method, `$&` is in other method - corrects Symbol#match method call with position in method, `$MATCH` is in other method - corrects Symbol#match method call with position in if guard condition with $2 is used in another method - accepts Symbol#match method call with position in method with $& before if - accepts Symbol#match method call with position in method with $` in block - registers an offense for Symbol#match method call with position, Regexp.last_match(1) reference is overrided - corrects Symbol#match method call with position, $& reference is overrided - registers an offense for Symbol#match method call with position in method definition - corrects Symbol#match method call with position in elsif condition - accepts Symbol#match method call with position in method with $100 - accepts Symbol#match method call with position in a class method with $MATCH - corrects Symbol#match method call with position, $100 reference is overrided - accepts Symbol#match method call with position in method with $1 - corrects Symbol#match method call with position in if guard condition with $1 is used in another method - registers an offense for Symbol#match method call with position in if guard condition with $~ is used in another method - accepts Symbol#match method call with position in method with $& in block - registers an offense for Symbol#match method call with position in if guard condition with $1 is used in another method - corrects Symbol#match method call with position in method before `Regexp.last_match(1)` - registers an offense for Symbol#match method call with position in method, `$~` is in other method - registers an offense for Symbol#match method call with position in if guard condition with $2 is used in another method - corrects Symbol#match method call with position in class method, `Regexp.last_match` is in other method - corrects Symbol#match method call with position in method before `$2` - corrects Symbol#match method call with position in class method, `$MATCH` is in other method - accepts Symbol#match method call with position in a class method with $1 - corrects Symbol#match method call with position in module, `$'` is in method - corrects Symbol#match method call with position in module, `$2` is in method - corrects Symbol#match method call with position in method, `$'` is in other method - accepts Symbol#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for Symbol#match method call with position in module, `$100` is in method - corrects Symbol#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - accepts Symbol#match method call with position in a class method with $` - registers an offense for Symbol#match method call with position in class, `$100` is in method - accepts Symbol#match method call with position in method with $` - registers an offense for Symbol#match method call with position in case condition - corrects Symbol#match method call with position in method, `$2` is in other method - corrects Symbol#match method call with position in class method, `$'` is in other method - accepts Symbol#match method call with position in method with $100 in block - accepts Symbol#match method call with position in guard condition with $' is used in the line after that - registers an offense for Symbol#match method call with position in if condition - registers an offense for Symbol#match method call with position in class method, `$2` is in other method - accepts Symbol#match method call with position in method with Regexp.last_match(1) before unless - corrects Symbol#match method call with position in class method, `$`` is in other method - accepts Symbol#match method call with position in method with $2 before unless - corrects Symbol#match method call with position in method, `Regexp.last_match(1)` is in other method - accepts Symbol#match method call with position in method with Regexp.last_match(1) before if - registers an offense for Symbol#match method call with position in method, `$'` is in other method - corrects Symbol#match method call with position, $MATCH reference is overrided - registers an offense for Symbol#match method call with position, $100 reference is overrided - accepts Symbol#match method call with position in method with $' before if - registers an offense for Symbol#match method call with position in class, `$`` is in method - accepts Symbol#match method call with position in a class method with $' - corrects Symbol#match method call with position in class, `$&` is in method - registers an offense for Symbol#match method call with position in method before `$'` - corrects Symbol#match method call with position in class, `Regexp.last_match` is in method - accepts Symbol#match method call with position in method with $~ before if - accepts Symbol#match method call with position in method with $MATCH in block - corrects Symbol#match method call with position in if guard condition with $MATCH is used in another method - registers an offense for Symbol#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - accepts Symbol#match method call with position in method with Regexp.last_match before unless - registers an offense for Symbol#match method call with position in method, `$MATCH` is in other method - behaves like all legacy match methods - registers an offense for String#match method call in unless condition - registers an offense for String#match method call in method, `$`` is in other method - corrects String#match method call, $2 reference is overrided - registers an offense for String#match method call in class method, `$&` is in other method - accepts String#match method call in a class method with $` - corrects String#match method call in module, `Regexp.last_match` is in method - registers an offense for String#match method call in method before `$~` - corrects String#match method call in method before `$1` - registers an offense for String#match method call in if guard condition with $MATCH is used in another method - registers an offense for String#match method call in module, `$2` is in method - accepts String#match method call in method with $100 before if - corrects String#match method call in if guard condition with $~ is used in another method - corrects String#match method call in method, `$MATCH` is in other method - accepts String#match method call in method with $& in block - accepts String#match method call in a class method with $100 - corrects String#match method call in class method, `$100` is in other method - registers an offense for String#match method call in method before `$'` - accepts String#match method call in method with $1 - registers an offense for String#match method call in method before `Regexp.last_match(1)` - registers an offense for String#match method call in class, `$2` is in method - registers an offense for String#match method call in class method, `$100` is in other method - registers an offense for String#match method call in module, `$100` is in method - registers an offense for String#match method call in if guard condition with $' is used in another method - accepts String#match method call in method with $' in block - corrects String#match method call in if guard condition with $100 is used in another method - accepts String#match method call in method with $100 in block - corrects String#match method call in case condition - accepts String#match method call in a class method with $2 - corrects String#match method call in module, `$MATCH` is in method - corrects String#match method call in if guard condition with $MATCH is used in another method - accepts String#match method call in method with $1 in block - corrects String#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for String#match method call, $~ reference is overrided - accepts String#match method call in a class method with Regexp.last_match(1) - corrects String#match method call in method before `$2` - corrects String#match method call in class, `$1` is in method - accepts String#match method call in method with $~ before unless - accepts String#match method call in a class method with $~ - registers an offense for String#match method call, $2 reference is overrided - corrects String#match method call in method, `$&` is in other method - corrects String#match method call in if guard condition with $' is used in another method - registers an offense for String#match method call in method, `$'` is in other method - corrects String#match method call in method before `Regexp.last_match(1)` - registers an offense for String#match method call in method, `Regexp.last_match(1)` is in other method - registers an offense for String#match method call in if guard condition with $~ is used in another method - accepts String#match method call in method with $& before if - corrects String#match method call in class method, `$2` is in other method - corrects String#match method call in method, `Regexp.last_match` is in other method - corrects String#match method call in ternary operator - registers an offense for String#match method call in class, `$`` is in method - registers an offense for String#match method call in unless condition - accepts String#match method call in guard condition with $100 is used in the line after that - registers an offense for String#match method call in method, `Regexp.last_match` is in other method - accepts String#match method call in guard condition with $MATCH is used in the line after that - registers an offense for String#match method call in method before `$2` - registers an offense for String#match method call, Regexp.last_match reference is overrided - corrects String#match method call in class, `Regexp.last_match` is in method - registers an offense for String#match method call in if guard condition with $1 is used in another method - registers an offense for String#match method call in if guard condition with $` is used in another method - corrects String#match method call in class method, `$&` is in other method - accepts String#match method call in method with $' before unless - accepts String#match method call in method with $` in block - accepts String#match method call in method with $~ in block - accepts String#match method call in guard condition with Regexp.last_match is used in the line after that - corrects String#match method call in method before `Regexp.last_match` - registers an offense for String#match method call in class, `Regexp.last_match(1)` is in method - corrects String#match method call in method before `$`` - corrects String#match method call in class method, `$~` is in other method - accepts String#match method call in method with Regexp.last_match(1) before if - corrects String#match method call in method, `$1` is in other method - registers an offense for String#match method call in class method, `$`` is in other method - accepts String#match method call in method with $~ before if - registers an offense for String#match method call in class, `Regexp.last_match` is in method - registers an offense for String#match method call in if condition - registers an offense for String#match method call in if guard condition with $& is used in another method - registers an offense for String#match method call in if condition - corrects String#match method call in class method, `$1` is in other method - registers an offense for String#match method call in class, `$MATCH` is in method - accepts String#match method call in guard condition with $& is used in the line after that - registers an offense for String#match method call, $` reference is overrided - accepts String#match method call in method with $' - corrects String#match method call in class method, `Regexp.last_match` is in other method - corrects String#match method call in class, `Regexp.last_match(1)` is in method - corrects String#match method call in method, `$2` is in other method - accepts String#match method call in a class method with $' - corrects String#match method call in class, `$MATCH` is in method - accepts String#match method call in method with $1 before if - corrects String#match method call, $` reference is overrided - corrects String#match method call, Regexp.last_match(1) reference is overrided - corrects String#match method call in method before `$100` - accepts String#match method call in guard condition with $` is used in the line after that - corrects String#match method call, $~ reference is overrided - registers an offense for String#match method call in method before `$100` - registers an offense for String#match method call in class, `$1` is in method - accepts String#match method call in method with Regexp.last_match(1) - accepts String#match method call in method with $MATCH - registers an offense for String#match method call in module, `$MATCH` is in method - accepts String#match method call in method with $~ - registers an offense for String#match method call, Regexp.last_match(1) reference is overrided - corrects String#match method call in module, `$100` is in method - corrects String#match method call in if condition - registers an offense for String#match method call in method, `$2` is in other method - corrects String#match method call in if guard condition with Regexp.last_match(1) is used in another method - accepts String#match method call in method with Regexp.last_match before if - registers an offense for String#match method call in class method, `$MATCH` is in other method - corrects String#match method call in module, `$~` is in method - corrects String#match method call in method, `$~` is in other method - corrects String#match method call, $MATCH reference is overrided - registers an offense for String#match method call in method, `$MATCH` is in other method - corrects String#match method call in method, `$100` is in other method - corrects String#match method call in unless condition - accepts String#match method call in method with $& before unless - corrects String#match method call, Regexp.last_match reference is overrided - corrects String#match method call, $' reference is overrided - corrects String#match method call in module, `$1` is in method - registers an offense for String#match method call in module, `Regexp.last_match` is in method - corrects String#match method call in if guard condition with $` is used in another method - corrects String#match method call in module, `$2` is in method - corrects String#match method call, $100 reference is overrided - corrects String#match method call in module, `$`` is in method - registers an offense for String#match method call, $MATCH reference is overrided - accepts String#match method call in method with $2 before unless - registers an offense for String#match method call in if guard condition with Regexp.last_match is used in another method - registers an offense for String#match method call in class, `$100` is in method - registers an offense for String#match method call in class, `$'` is in method - corrects String#match method call in if guard condition with Regexp.last_match is used in another method - registers an offense for String#match method call in if guard condition with Regexp.last_match(1) is used in another method - accepts String#match method call in method with $1 before unless - registers an offense for String#match method call in method before `Regexp.last_match` - accepts String#match method call in method with $` before if - registers an offense for String#match method call in method, `$&` is in other method - registers an offense for String#match method call in method, `$~` is in other method - registers an offense for String#match method call, $' reference is overrided - accepts String#match method call in method with Regexp.last_match(1) in block - corrects String#match method call in method, `$'` is in other method - accepts String#match method call in method with $MATCH before unless - corrects String#match method call in module, `Regexp.last_match(1)` is in method - corrects String#match method call in if condition - registers an offense for String#match method call in class, `$&` is in method - registers an offense for String#match method call in method before `$`` - corrects String#match method call, $& reference is overrided - accepts String#match method call in a class method with Regexp.last_match - corrects String#match method call in module, `$&` is in method - registers an offense for String#match method call, $& reference is overrided - corrects String#match method call in method before `$MATCH` - accepts String#match method call in method with $` - registers an offense for String#match method call in class method, `Regexp.last_match` is in other method - registers an offense for String#match method call in class method, `$~` is in other method - accepts String#match method call in guard condition with $1 is used in the line after that - corrects String#match method call in if guard condition with $& is used in another method - corrects String#match method call in method definition - corrects String#match method call in if guard condition with $2 is used in another method - corrects String#match method call, $1 reference is overrided - registers an offense for String#match method call in method definition - accepts String#match method call in a class method with $& - corrects String#match method call in if guard condition with $1 is used in another method - corrects String#match method call in method before `$&` - registers an offense for String#match method call in module, `$&` is in method - registers an offense for String#match method call in method, `$1` is in other method - corrects String#match method call in method before `$'` - corrects String#match method call in method, `$`` is in other method - registers an offense for String#match method call in class method, `Regexp.last_match(1)` is in other method - registers an offense for String#match method call in module, `$'` is in method - accepts String#match method call in method with $2 in block - corrects String#match method call in class method, `Regexp.last_match(1)` is in other method - registers an offense for String#match method call in method before `$&` - accepts String#match method call in method with $100 - accepts String#match method call in method with $` before unless - registers an offense for String#match method call in module, `Regexp.last_match(1)` is in method - accepts String#match method call in method with Regexp.last_match in block - registers an offense for String#match method call in method before `$1` - corrects String#match method call in class, `$'` is in method - accepts String#match method call in method with Regexp.last_match(1) before unless - accepts String#match method call in guard condition with $~ is used in the line after that - accepts String#match method call in a class method with $1 - corrects String#match method call in unless condition - corrects String#match method call in class, `$&` is in method - registers an offense for String#match method call, $1 reference is overrided - accepts String#match method call in method with $100 before unless - accepts String#match method call in method with $& - corrects String#match method call in class, `$~` is in method - registers an offense for String#match method call in elsif condition - registers an offense for String#match method call in class method, `$1` is in other method - accepts String#match method call in a class method with $MATCH - registers an offense for String#match method call in case condition - corrects String#match method call in module, `$'` is in method - corrects String#match method call in class method, `$`` is in other method - corrects String#match method call in class, `$`` is in method - corrects String#match method call in elsif condition - registers an offense for String#match method call in method before `$MATCH` - corrects String#match method call in class method, `$'` is in other method - corrects String#match method call in class, `$2` is in method - accepts String#match method call in method with $2 - accepts String#match method call in method with $MATCH before if - registers an offense for String#match method call in if guard condition with $100 is used in another method - accepts String#match method call in guard condition with $2 is used in the line after that - accepts String#match method call in method with $MATCH in block - registers an offense for String#match method call, $100 reference is overrided - registers an offense for String#match method call in class, `$~` is in method - registers an offense for String#match method call in module, `$1` is in method - registers an offense for String#match method call in method, `$100` is in other method - registers an offense for String#match method call in class method, `$2` is in other method - accepts String#match method call in method with Regexp.last_match before unless - accepts String#match method call in method with $2 before if - accepts String#match method call in method with Regexp.last_match - corrects String#match method call in class, `$100` is in method - corrects String#match method call in class method, `$MATCH` is in other method - registers an offense for String#match method call in class method, `$'` is in other method - registers an offense for String#match method call in module, `$`` is in method - accepts String#match method call in guard condition with Regexp.last_match(1) is used in the line after that - accepts String#match method call in guard condition with $' is used in the line after that - registers an offense for String#match method call in if guard condition with $2 is used in another method - registers an offense for String#match method call in ternary operator - accepts String#match method call in method with $' before if - corrects String#match method call in method before `$~` - registers an offense for String#match method call in module, `$~` is in method behaves like all legacy match methods - accepts matching by =~` in method with $100 in block corrects matching by =~`, $2 reference is overrided - corrects matching by =~` in method before `$1` - corrects matching by =~` in if condition - corrects matching by =~` in case condition - accepts matching by =~` in method with $2 in block - registers an offense for matching by =~` in if guard condition with $~ is used in another method - accepts matching by =~` in method with Regexp.last_match - accepts matching by =~` in method with $& before unless - registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~` in class, `$'` is in method + registers an offense for matching by =~` in method, `$`` is in other method + accepts matching by =~` in method with $' in block + accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method before `$2` + registers an offense for matching by =~` in method definition + corrects matching by =~`, $~ reference is overrided corrects matching by =~` in unless condition + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~`, $~ reference is overrided + accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in method before `$&` + registers an offense for matching by =~` in module, `$1` is in method + corrects matching by =~` in method, `$`` is in other method + accepts matching by =~` in method with $' + corrects matching by =~` in method before `$100` accepts matching by =~` in method with Regexp.last_match(1) - registers an offense for matching by =~` in class, `$`` is in method - registers an offense for matching by =~`, $MATCH reference is overrided - corrects matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in method with Regexp.last_match(1) before if - corrects matching by =~` in method before `$MATCH` - accepts matching by =~` in a class method with Regexp.last_match - registers an offense for matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in method before `$2` - registers an offense for matching by =~` in class, `$&` is in method - accepts matching by =~` in method with $100 - corrects matching by =~` in method before `$`` - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in method before `$100` - accepts matching by =~` in method with Regexp.last_match in block + corrects matching by =~`, $' reference is overrided + corrects matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in method with $& + registers an offense for matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in unless condition + accepts matching by =~` in method with $~ + registers an offense for matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in module, `$&` is in method + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in method, `$&` is in other method accepts matching by =~` in method with $MATCH - registers an offense for matching by =~` in unless condition - accepts matching by =~` in guard condition with $2 is used in the line after that - accepts matching by =~` in method with $~ in block - accepts matching by =~` in guard condition with $~ is used in the line after that + accepts matching by =~` in method with $' before unless + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in method with Regexp.last_match before if + corrects matching by =~` in method before `$'` + corrects matching by =~` in class method, `$2` is in other method + corrects matching by =~` in method, `$100` is in other method + accepts matching by =~` in method with $` before if + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~` in method, `$&` is in other method + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in method before `$`` + accepts matching by =~` in method with $~ before unless + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in method with $MATCH before if + corrects matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in method before `$~` + corrects matching by =~` in class method, `$'` is in other method corrects matching by =~`, $& reference is overrided - accepts matching by =~` in method with $1 before if - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in class, `$~` is in method - accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in method with $~ before if - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~`, $~ reference is overrided - accepts matching by =~` in a class method with $` - accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in class method, `$&` is in other method accepts matching by =~` in method with $1 - corrects matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in a class method with $& + registers an offense for matching by =~`, $1 reference is overrided + corrects matching by =~` in class, `$2` is in method + accepts matching by =~` in method with Regexp.last_match(1) in block + registers an offense for matching by =~` in module, `$MATCH` is in method + accepts matching by =~` in a class method with $~ + registers an offense for matching by =~` in class method, `$~` is in other method registers an offense for matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with $1 in block - corrects matching by =~` in class method, `$2` is in other method - accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~` in method, `$2` is in other method + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with $& before unless + accepts matching by =~` in a class method with $MATCH + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in module, `$~` is in method + accepts matching by =~` in method with $2 in block + registers an offense for matching by =~` in class, `$~` is in method + accepts matching by =~` in method with $~ before if + corrects matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + accepts matching by =~` in method with $1 before unless + registers an offense for matching by =~` in method, `$1` is in other method + corrects matching by =~` in module, `Regexp.last_match` is in method corrects matching by =~` in method, `$2` is in other method - corrects matching by =~` in ternary operator - registers an offense for matching by =~` in method before `$`` - registers an offense for matching by =~` in elsif condition - corrects matching by =~` in method, `$1` is in other method - corrects matching by =~` in module, `$`` is in method - corrects matching by =~` in method before `$'` - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in method definition + accepts matching by =~` in method with $` in block + registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~` in method before `$1` registers an offense for matching by =~` in class method, `$'` is in other method + corrects matching by =~` in module, `$`` is in method + corrects matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in class, `$`` is in method + accepts matching by =~` in method with $1 in block corrects matching by =~` in method, `$~` is in other method - accepts matching by =~` in method with Regexp.last_match before unless - corrects matching by =~` in class, `$`` is in method - corrects matching by =~` in class, `$1` is in method - corrects matching by =~` in method before `$~` - corrects matching by =~` in class, `$~` is in method - corrects matching by =~` in if guard condition with $` is used in another method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in method with $` + registers an offense for matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in method before `$100` corrects matching by =~` in module, `$~` is in method - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with $MATCH before unless + registers an offense for matching by =~` in class, `$'` is in method + registers an offense for matching by =~` in unless condition + corrects matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~` in if condition + registers an offense for matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in case condition + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in method before `$MATCH` + corrects matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in guard condition with $` is used in the line after that + registers an offense for matching by =~` in class method, `$`` is in other method + accepts matching by =~` in a class method with $2 + accepts matching by =~` in method with $~ in block + accepts matching by =~` in guard condition with $100 is used in the line after that + corrects matching by =~` in class, `$1` is in method accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by =~` in guard condition with $MATCH is used in the line after that - accepts matching by =~` in a class method with $' - corrects matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in ternary operator - corrects matching by =~` in method, `$&` is in other method - corrects matching by =~`, $` reference is overrided - corrects matching by =~` in method, `$`` is in other method - corrects matching by =~` in module, `$1` is in method + corrects matching by =~` in module, `$'` is in method accepts matching by =~` in method with $MATCH in block - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $1 before if + accepts matching by =~` in method with $2 before unless + corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in case condition + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in class method, `$100` is in other method + corrects matching by =~` in elsif condition + corrects matching by =~` in if guard condition with $100 is used in another method registers an offense for matching by =~` in if condition - registers an offense for matching by =~` in method before `$&` - registers an offense for matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $100 before if - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in module, `$'` is in method - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in method definition - accepts matching by =~` in a class method with $1 - registers an offense for matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $& before if - corrects matching by =~` in unless condition - registers an offense for matching by =~` in module, `$2` is in method - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in method before `$~` registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $~ - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~` in method before `$&` - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in class, `$'` is in method - corrects matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with $& in block + accepts matching by =~` in method with Regexp.last_match registers an offense for matching by =~`, $` reference is overrided - accepts matching by =~` in method with $' before if - registers an offense for matching by =~` in module, `$&` is in method + accepts matching by =~` in method with $100 before unless + registers an offense for matching by =~` in class method, `$1` is in other method + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that corrects matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in method before `$1` - corrects matching by =~` in method, `$100` is in other method - corrects matching by =~` in method before `$100` + accepts matching by =~` in method with $` before unless + accepts matching by =~` in method with Regexp.last_match in block + corrects matching by =~`, $1 reference is overrided + corrects matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in method before `Regexp.last_match` + registers an offense for matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $& before if + registers an offense for matching by =~` in method, `$'` is in other method registers an offense for matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in class method, `$2` is in other method - accepts matching by =~` in method with $2 before if - corrects matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in method before `$'` - accepts matching by =~` in a class method with $100 + registers an offense for matching by =~`, $MATCH reference is overrided + accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in method with $2 + corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in method before `$1` + corrects matching by =~` in method definition + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $100 before if + accepts matching by =~` in guard condition with $1 is used in the line after that + registers an offense for matching by =~` in module, `$`` is in method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in elsif condition + corrects matching by =~` in class, `$~` is in method registers an offense for matching by =~`, $100 reference is overrided - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in if guard condition with $1 is used in another method - corrects matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in method, `$&` is in other method - accepts matching by =~` in method with $` before if - accepts matching by =~` in a class method with $2 - corrects matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in class method, `$`` is in other method - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in method, `$~` is in other method + registers an offense for matching by =~`, $& reference is overrided + accepts matching by =~` in a class method with Regexp.last_match + accepts matching by =~` in method with $' before if + accepts matching by =~` in method with Regexp.last_match(1) before if + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in a class method with $100 + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $& in block - accepts matching by =~` in method with $` before unless - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in guard condition with $& is used in the line after that - corrects matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~`, Regexp.last_match(1) reference is overrided - corrects matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in method before `$2` - registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in method, `$2` is in other method - registers an offense for matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in module, `$100` is in method - accepts matching by =~` in method with $~ before unless - corrects matching by =~` in class, `$&` is in method + accepts matching by =~` in method with $100 corrects matching by =~` in method, `$'` is in other method - registers an offense for matching by =~` in if guard condition with $' is used in another method - corrects matching by =~`, $100 reference is overrided - accepts matching by =~` in method with $` - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in if condition + corrects matching by =~` in ternary operator + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method before `$&` + accepts matching by =~` in a class method with $` registers an offense for matching by =~` in class, `$2` is in method - accepts matching by =~` in method with $` in block - corrects matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in class, `$'` is in method - accepts matching by =~` in a class method with $MATCH - accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in method with $MATCH before if + registers an offense for matching by =~` in unless condition + corrects matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in a class method with $' + corrects matching by =~`, $100 reference is overrided corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in class method, `$1` is in other method - corrects matching by =~` in module, `$MATCH` is in method - corrects matching by =~`, $1 reference is overrided - accepts matching by =~` in method with $& - corrects matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in module, `$1` is in method - registers an offense for matching by =~` in class, `$MATCH` is in method - accepts matching by =~` in guard condition with $' is used in the line after that - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by =~` in class method, `$'` is in other method - accepts matching by =~` in method with $100 before unless - registers an offense for matching by =~` in class, `$1` is in method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with $' before unless - registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $2 - accepts matching by =~` in guard condition with $` is used in the line after that - registers an offense for matching by =~` in if guard condition with $100 is used in another method - accepts matching by =~` in method with Regexp.last_match before if - accepts matching by =~` in method with $' - accepts matching by =~` in guard condition with $100 is used in the line after that - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in if guard condition with $` is used in another method - corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in method before `$'` + accepts matching by =~` in a class method with $1 + registers an offense for matching by =~` in method before `$~` + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method registers an offense for matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in elsif condition - registers an offense for matching by =~`, $' reference is overrided - registers an offense for matching by =~` in method, `$`` is in other method - accepts matching by =~` in method with $' in block - corrects matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in method before `$MATCH` - registers an offense for matching by =~`, $& reference is overrided - accepts matching by =~` in method with $2 before unless - registers an offense for matching by =~` in if guard condition with $2 is used in another method - accepts matching by =~` in a class method with $~ - corrects matching by =~` in module, `$'` is in method - accepts matching by =~` in a class method with $& - registers an offense for matching by =~` in module, `$MATCH` is in method - corrects matching by =~`, $' reference is overrided - corrects matching by =~` in if condition + registers an offense for matching by =~` in method, `$~` is in other method + accepts matching by =~` in method with $100 in block + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by =~` in method with Regexp.last_match before unless + accepts matching by =~` in method with $2 before if + corrects matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~`, $2 reference is overrided + corrects matching by =~` in method, `Regexp.last_match` is in other method behaves like all legacy match methods - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - registers an offense for matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in class method, `$~` is in other method + corrects matching by !~` in if guard condition with $100 is used in another method + registers an offense for matching by !~` in method before `$`` + corrects matching by !~` in class method, `$2` is in other method registers an offense for matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in class, `$`` is in method - accepts matching by !~` in guard condition with $' is used in the line after that - accepts matching by !~` in method with Regexp.last_match(1) - accepts matching by !~` in method with $2 - registers an offense for matching by !~` in if guard condition with $& is used in another method accepts matching by !~` in a class method with Regexp.last_match - corrects matching by !~` in elsif condition - corrects matching by !~` in class method, `$~` is in other method - corrects matching by !~` in method before `$`` - corrects matching by !~` in class, `$&` is in method - corrects matching by !~`, $~ reference is overrided - accepts matching by !~` in method with $` before unless - registers an offense for matching by !~` in method, `$2` is in other method - corrects matching by !~` in class method, `$MATCH` is in other method - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - corrects matching by !~` in class, `$1` is in method - accepts matching by !~` in a class method with $~ - accepts matching by !~` in method with $' in block - registers an offense for matching by !~` in method definition - corrects matching by !~` in method before `$~` - corrects matching by !~`, $1 reference is overrided - corrects matching by !~`, $MATCH reference is overrided - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by !~` in module, `$2` is in method - registers an offense for matching by !~` in method before `$2` - corrects matching by !~` in method definition + registers an offense for matching by !~` in class, `$100` is in method + corrects matching by !~` in method before `$&` + registers an offense for matching by !~` in ternary operator + registers an offense for matching by !~` in method before `Regexp.last_match` + corrects matching by !~` in class, `$1` is in method + accepts matching by !~` in method with Regexp.last_match before if + accepts matching by !~` in method with $1 before unless + registers an offense for matching by !~` in if guard condition with $~ is used in another method + accepts matching by !~` in method with $MATCH in block registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in module, `$'` is in method registers an offense for matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in unless condition - accepts matching by !~` in method with $2 before unless - corrects matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in guard condition with $100 is used in the line after that + accepts matching by !~` in method with $100 before unless + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with $~ before if + accepts matching by !~` in method with $100 before if + registers an offense for matching by !~` in case condition + accepts matching by !~` in method with $2 before if + registers an offense for matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in method before `$&` + corrects matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in class method, `$2` is in other method + corrects matching by !~` in class, `$2` is in method + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in module, `$&` is in method corrects matching by !~` in method before `$2` + corrects matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in class, `$MATCH` is in method + corrects matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in module, `$1` is in method + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + corrects matching by !~` in if guard condition with $& is used in another method + corrects matching by !~` in method, `$MATCH` is in other method + accepts matching by !~` in method with $& in block + corrects matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in module, `$`` is in method + corrects matching by !~` in class, `$~` is in method + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~`, $` reference is overrided - corrects matching by !~` in method, `$'` is in other method - corrects matching by !~` in method, `$~` is in other method - corrects matching by !~` in module, `$1` is in method - accepts matching by !~` in guard condition with $~ is used in the line after that - corrects matching by !~` in module, `$`` is in method - registers an offense for matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in guard condition with $2 is used in the line after that - accepts matching by !~` in method with $& before unless - registers an offense for matching by !~` in case condition - registers an offense for matching by !~` in class method, `$&` is in other method + corrects matching by !~` in method, `$2` is in other method + corrects matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in if guard condition with $& is used in another method + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in a class method with $2 + registers an offense for matching by !~` in method before `$MATCH` + accepts matching by !~` in method with $100 + accepts matching by !~` in method with $MATCH before if + accepts matching by !~` in method with $& + corrects matching by !~` in method before `$MATCH` + registers an offense for matching by !~` in module, `$~` is in method + accepts matching by !~` in method with Regexp.last_match(1) + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in method with $1 in block + accepts matching by !~` in method with $' in block + corrects matching by !~`, $2 reference is overrided corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in method before `$`` - registers an offense for matching by !~` in method before `$1` - accepts matching by !~` in guard condition with $100 is used in the line after that - registers an offense for matching by !~` in class, `$'` is in method - accepts matching by !~` in method with $' - corrects matching by !~` in module, `$100` is in method corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in class method, `$MATCH` is in other method - registers an offense for matching by !~` in unless condition - registers an offense for matching by !~` in module, `$2` is in method - accepts matching by !~` in guard condition with $1 is used in the line after that corrects matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in class method, `$1` is in other method - corrects matching by !~` in class, `$~` is in method - corrects matching by !~` in module, `$'` is in method - registers an offense for matching by !~` in method, `$'` is in other method - registers an offense for matching by !~`, $' reference is overrided - registers an offense for matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~`, $MATCH reference is overrided - corrects matching by !~` in class method, `$&` is in other method - registers an offense for matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in module, `$MATCH` is in method - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in class, `$100` is in method - registers an offense for matching by !~` in ternary operator - accepts matching by !~` in method with $MATCH before unless - corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~`, $2 reference is overrided - accepts matching by !~` in a class method with $2 - registers an offense for matching by !~` in module, `$'` is in method - accepts matching by !~` in method with $` - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - accepts matching by !~` in method with $1 before if + registers an offense for matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in method, `$2` is in other method + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in method, `$`` is in other method + corrects matching by !~` in method definition + corrects matching by !~` in unless condition accepts matching by !~` in method with $~ in block - corrects matching by !~` in ternary operator - corrects matching by !~` in if guard condition with $MATCH is used in another method - corrects matching by !~` in method, `$2` is in other method - registers an offense for matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in class, `$~` is in method - accepts matching by !~` in method with Regexp.last_match(1) before unless - corrects matching by !~` in method, `$100` is in other method - accepts matching by !~` in method with $` before if - accepts matching by !~` in a class method with $' + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in class method, `$1` is in other method + corrects matching by !~` in elsif condition corrects matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in method with $~ before unless - corrects matching by !~` in method before `$1` - accepts matching by !~` in method with $MATCH in block - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in if guard condition with $~ is used in another method - registers an offense for matching by !~` in method before `$'` - corrects matching by !~` in module, `$&` is in method - accepts matching by !~` in method with Regexp.last_match(1) in block - registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by !~` in module, `$~` is in method - accepts matching by !~` in method with $MATCH before if - registers an offense for matching by !~`, $1 reference is overrided - registers an offense for matching by !~` in method, `$MATCH` is in other method - corrects matching by !~`, $' reference is overrided - corrects matching by !~` in if guard condition with $' is used in another method - registers an offense for matching by !~` in method, `$~` is in other method - corrects matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in class, `$&` is in method - corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class, `$MATCH` is in method - accepts matching by !~` in method with $& - corrects matching by !~` in class method, `$2` is in other method + registers an offense for matching by !~`, $100 reference is overrided + accepts matching by !~` in method with $MATCH before unless + corrects matching by !~` in method before `$'` + corrects matching by !~` in class method, `$~` is in other method + corrects matching by !~` in case condition accepts matching by !~` in a class method with $1 - corrects matching by !~` in method before `$&` - registers an offense for matching by !~`, Regexp.last_match reference is overrided - corrects matching by !~` in class method, `$`` is in other method - accepts matching by !~` in method with $100 before if - registers an offense for matching by !~` in method, `$1` is in other method - accepts matching by !~` in method with $100 - corrects matching by !~` in if guard condition with $& is used in another method - corrects matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~` in class, `$2` is in method - corrects matching by !~` in if guard condition with $1 is used in another method - corrects matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~` in if condition - registers an offense for matching by !~`, $~ reference is overrided - registers an offense for matching by !~` in method before `$&` - registers an offense for matching by !~` in if guard condition with $' is used in another method + corrects matching by !~` in method, `$1` is in other method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in method before `$100` + accepts matching by !~` in method with Regexp.last_match(1) in block + registers an offense for matching by !~`, $' reference is overrided + corrects matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $& is used in the line after that + registers an offense for matching by !~` in module, `$2` is in method corrects matching by !~` in unless condition - accepts matching by !~` in method with Regexp.last_match - registers an offense for matching by !~` in method, `$&` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before if - corrects matching by !~` in if condition - registers an offense for matching by !~` in class method, `$~` is in other method - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - registers an offense for matching by !~`, $& reference is overrided + registers an offense for matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in method before `$'` + corrects matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in method before `$`` + corrects matching by !~` in if guard condition with $~ is used in another method + accepts matching by !~` in method with $~ + accepts matching by !~` in method with $& before if + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in if guard condition with $2 is used in another method + accepts matching by !~` in method with $` + corrects matching by !~` in if guard condition with $2 is used in another method + accepts matching by !~` in method with $` before unless + registers an offense for matching by !~` in method before `$1` + registers an offense for matching by !~`, $~ reference is overrided accepts matching by !~` in method with $MATCH + registers an offense for matching by !~` in unless condition + accepts matching by !~` in method with $1 before if + accepts matching by !~` in method with $` in block + corrects matching by !~` in if condition + accepts matching by !~` in method with $' + corrects matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in unless condition corrects matching by !~` in class, `$`` is in method - corrects matching by !~`, $100 reference is overrided - corrects matching by !~` in class, `Regexp.last_match` is in method - accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by !~` in a class method with $100 + corrects matching by !~`, $1 reference is overrided + accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~`, $MATCH reference is overrided + accepts matching by !~` in a class method with $` + corrects matching by !~` in module, `$1` is in method + accepts matching by !~` in method with $2 before unless + accepts matching by !~` in method with $2 + corrects matching by !~` in method before `$100` + accepts matching by !~` in guard condition with $2 is used in the line after that + registers an offense for matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with $& before unless + corrects matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~`, $` reference is overrided + registers an offense for matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in class, `$&` is in method + corrects matching by !~` in method before `$~` + registers an offense for matching by !~` in class method, `$'` is in other method + corrects matching by !~` in method, `$100` is in other method + accepts matching by !~` in guard condition with $1 is used in the line after that + corrects matching by !~`, $' reference is overrided accepts matching by !~` in method with Regexp.last_match in block - accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in method, `$~` is in other method + corrects matching by !~` in method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in class, `$'` is in method + accepts matching by !~` in method with Regexp.last_match(1) before unless accepts matching by !~` in method with $' before if - accepts matching by !~` in method with $2 before if - registers an offense for matching by !~` in unless condition - corrects matching by !~` in class, `$2` is in method + corrects matching by !~` in method before `Regexp.last_match` + registers an offense for matching by !~` in elsif condition + corrects matching by !~` in class method, `$'` is in other method + accepts matching by !~` in a class method with $~ accepts matching by !~` in a class method with $& - accepts matching by !~` in a class method with $` - corrects matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in method with $1 in block - accepts matching by !~` in method with $& before if - accepts matching by !~` in method with $100 before unless - registers an offense for matching by !~`, $2 reference is overrided - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in guard condition with $& is used in the line after that - corrects matching by !~` in method, `$1` is in other method - accepts matching by !~` in method with Regexp.last_match before if - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $& in block - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in module, `$&` is in method - registers an offense for matching by !~` in method, `$100` is in other method - corrects matching by !~` in method before `$MATCH` + corrects matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + accepts matching by !~` in method with $` before if + corrects matching by !~`, Regexp.last_match(1) reference is overrided corrects matching by !~` in method, `$&` is in other method - accepts matching by !~` in method with $` in block - registers an offense for matching by !~` in method, `$`` is in other method - registers an offense for matching by !~` in class method, `$2` is in other method - corrects matching by !~` in method before `$100` - corrects matching by !~` in method before `$'` + registers an offense for matching by !~` in method, `$'` is in other method + accepts matching by !~` in method with $' before unless + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in if condition + registers an offense for matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in if condition + registers an offense for matching by !~` in class, `$`` is in method + accepts matching by !~` in method with $~ before unless + registers an offense for matching by !~` in class method, `$MATCH` is in other method accepts matching by !~` in guard condition with $` is used in the line after that - accepts matching by !~` in method with $100 in block - corrects matching by !~`, Regexp.last_match(1) reference is overrided - corrects matching by !~` in case condition - corrects matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by !~` in method before `$~` + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + accepts matching by !~` in method with Regexp.last_match(1) before if + registers an offense for matching by !~` in module, `$100` is in method + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by !~` in guard condition with $~ is used in the line after that + corrects matching by !~` in class, `$&` is in method + accepts matching by !~` in guard condition with $' is used in the line after that + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~` in module, `$100` is in method accepts matching by !~` in method with $2 in block - accepts matching by !~` in method with $' before unless - corrects matching by !~` in if guard condition with $` is used in another method - registers an offense for matching by !~` in class method, `$`` is in other method - accepts matching by !~` in method with $~ before if + corrects matching by !~` in method, `$'` is in other method + corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in if guard condition with $' is used in another method + corrects matching by !~`, $& reference is overrided corrects matching by !~` in class, `$'` is in method - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in if condition - registers an offense for matching by !~` in if guard condition with $1 is used in another method - accepts matching by !~` in a class method with Regexp.last_match(1) - accepts matching by !~` in method with $1 - corrects matching by !~` in class method, `Regexp.last_match` is in other method - corrects matching by !~` in module, `$~` is in method - registers an offense for matching by !~` in elsif condition - accepts matching by !~` in a class method with $100 - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in ternary operator + corrects matching by !~`, $100 reference is overrided + registers an offense for matching by !~` in class, `$~` is in method + corrects matching by !~` in method before `$1` + corrects matching by !~`, $~ reference is overrided corrects matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with $~ - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in class method, `$'` is in other method - accepts matching by !~` in method with $1 before unless - corrects matching by !~` in method, `$`` is in other method - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in a class method with $MATCH + registers an offense for matching by !~` in method definition + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in method with $100 in block + registers an offense for matching by !~` in method, `$`` is in other method + corrects matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in a class method with $' + accepts matching by !~` in method with $1 + registers an offense for matching by !~`, $& reference is overrided + registers an offense for matching by !~` in module, `$&` is in method + registers an offense for matching by !~` in module, `$'` is in method + corrects matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~`, $2 reference is overrided registers an offense for matching by !~` in class method, `$100` is in other method - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~` in class, `$100` is in method - corrects matching by !~`, $& reference is overrided + registers an offense for matching by !~` in class, `$2` is in method + accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in method before `$2` + corrects matching by !~` in class, `Regexp.last_match` is in method behaves like all legacy match methods - accepts matching by =~` in method with $2 - registers an offense for matching by =~`, $` reference is overrided - registers an offense for matching by =~` in method before `$2` - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in method before `$`` - registers an offense for matching by =~` in method definition - accepts matching by =~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in module, `$'` is in method - accepts matching by =~` in method with $MATCH before if - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in if guard condition with $` is used in another method + corrects match method call for a variable in class method, `$MATCH` is in other method + registers an offense for match method call for a variable in case condition + accepts match method call for a variable in guard condition with $` is used in the line after that + corrects match method call for a variable in if guard condition with $2 is used in another method + registers an offense for match method call for a variable, Regexp.last_match reference is overrided + registers an offense for match method call for a variable in if condition + registers an offense for match method call for a variable in method definition + corrects match method call for a variable in class, `Regexp.last_match(1)` is in method + registers an offense for match method call for a variable, Regexp.last_match(1) reference is overrided + registers an offense for match method call for a variable in method before `$2` + registers an offense for match method call for a variable in module, `$&` is in method + accepts match method call for a variable in method with $100 in block + corrects match method call for a variable in if guard condition with Regexp.last_match(1) is used in another method + corrects match method call for a variable, $1 reference is overrided + accepts match method call for a variable in guard condition with $MATCH is used in the line after that + corrects match method call for a variable in method before `$1` + registers an offense for match method call for a variable in class method, `Regexp.last_match(1)` is in other method + registers an offense for match method call for a variable in if guard condition with $MATCH is used in another method + accepts match method call for a variable in method with $100 before unless + corrects match method call for a variable in module, `Regexp.last_match` is in method + corrects match method call for a variable in module, `$&` is in method + corrects match method call for a variable in class, `Regexp.last_match` is in method + registers an offense for match method call for a variable in module, `$~` is in method + registers an offense for match method call for a variable in class method, `$`` is in other method + corrects match method call for a variable in method, `Regexp.last_match(1)` is in other method + corrects match method call for a variable, $MATCH reference is overrided + corrects match method call for a variable in if guard condition with $100 is used in another method + registers an offense for match method call for a variable in module, `$2` is in method + accepts match method call for a variable in method with $' before if + accepts match method call for a variable in method with $' before unless + accepts match method call for a variable in method with $MATCH + corrects match method call for a variable, $100 reference is overrided + registers an offense for match method call for a variable in if guard condition with $& is used in another method + registers an offense for match method call for a variable in method before `Regexp.last_match` + registers an offense for match method call for a variable in method before `$MATCH` + registers an offense for match method call for a variable in module, `Regexp.last_match(1)` is in method + registers an offense for match method call for a variable in class method, `$'` is in other method + accepts match method call for a variable in method with $& in block + accepts match method call for a variable in a class method with Regexp.last_match(1) + accepts match method call for a variable in a class method with $& + accepts match method call for a variable in method with Regexp.last_match in block + accepts match method call for a variable in a class method with $100 + registers an offense for match method call for a variable in method, `$'` is in other method + accepts match method call for a variable in guard condition with $& is used in the line after that + accepts match method call for a variable in method with $' + corrects match method call for a variable in method, `$2` is in other method + accepts match method call for a variable in guard condition with $1 is used in the line after that + registers an offense for match method call for a variable in method, `Regexp.last_match` is in other method + accepts match method call for a variable in method with Regexp.last_match(1) in block + registers an offense for match method call for a variable in method, `$`` is in other method + accepts match method call for a variable in method with $& before unless + accepts match method call for a variable in method with $2 in block + corrects match method call for a variable in class, `$~` is in method + corrects match method call for a variable in method, `$~` is in other method + accepts match method call for a variable in method with $` before if + corrects match method call for a variable in method before `$&` + registers an offense for match method call for a variable, $` reference is overrided + registers an offense for match method call for a variable in class method, `$2` is in other method + registers an offense for match method call for a variable, $~ reference is overrided + corrects match method call for a variable, $' reference is overrided + accepts match method call for a variable in guard condition with $~ is used in the line after that + registers an offense for match method call for a variable in class, `$~` is in method + corrects match method call for a variable in class method, `$2` is in other method + corrects match method call for a variable in unless condition + registers an offense for match method call for a variable in class, `$2` is in method + accepts match method call for a variable in guard condition with Regexp.last_match is used in the line after that + corrects match method call for a variable in if condition + registers an offense for match method call for a variable in class, `$MATCH` is in method + accepts match method call for a variable in method with $1 before unless + corrects match method call for a variable in class, `$100` is in method + accepts match method call for a variable in a class method with Regexp.last_match + accepts match method call for a variable in method with $100 before if + accepts match method call for a variable in method with Regexp.last_match before unless + registers an offense for match method call for a variable in if condition + corrects match method call for a variable, $` reference is overrided + registers an offense for match method call for a variable in method before `$'` + corrects match method call for a variable in class, `$`` is in method + accepts match method call for a variable in method with $100 + corrects match method call for a variable, Regexp.last_match reference is overrided + corrects match method call for a variable in class method, `$1` is in other method + registers an offense for match method call for a variable in method before `$`` + accepts match method call for a variable in method with $2 + corrects match method call for a variable in class, `$MATCH` is in method + corrects match method call for a variable, Regexp.last_match(1) reference is overrided + accepts match method call for a variable in method with $~ + corrects match method call for a variable in module, `$~` is in method + corrects match method call for a variable in if guard condition with $~ is used in another method + registers an offense for match method call for a variable in method before `Regexp.last_match(1)` + registers an offense for match method call for a variable in class, `$100` is in method + corrects match method call for a variable in if guard condition with $MATCH is used in another method + accepts match method call for a variable in method with Regexp.last_match(1) + corrects match method call for a variable in if condition + registers an offense for match method call for a variable in class, `$'` is in method + corrects match method call for a variable in class method, `Regexp.last_match(1)` is in other method + registers an offense for match method call for a variable in class, `Regexp.last_match` is in method + registers an offense for match method call for a variable in class, `$1` is in method + accepts match method call for a variable in guard condition with $' is used in the line after that + corrects match method call for a variable in method, `Regexp.last_match` is in other method + registers an offense for match method call for a variable in if guard condition with $1 is used in another method + registers an offense for match method call for a variable in method, `$1` is in other method + registers an offense for match method call for a variable in if guard condition with $100 is used in another method + corrects match method call for a variable in method before `$'` + registers an offense for match method call for a variable in elsif condition + registers an offense for match method call for a variable in class method, `$100` is in other method + corrects match method call for a variable in elsif condition + corrects match method call for a variable in method before `Regexp.last_match` + registers an offense for match method call for a variable in if guard condition with $' is used in another method + accepts match method call for a variable in a class method with $1 + corrects match method call for a variable in method, `$'` is in other method + accepts match method call for a variable in method with $& before if + corrects match method call for a variable in method, `$100` is in other method + corrects match method call for a variable in method before `Regexp.last_match(1)` + registers an offense for match method call for a variable, $100 reference is overrided + registers an offense for match method call for a variable in class method, `$1` is in other method + accepts match method call for a variable in method with $~ in block + registers an offense for match method call for a variable in module, `$100` is in method + accepts match method call for a variable in a class method with $' + corrects match method call for a variable in class method, `$100` is in other method + corrects match method call for a variable in module, `$MATCH` is in method + accepts match method call for a variable in method with $~ before if + registers an offense for match method call for a variable in class method, `$~` is in other method + corrects match method call for a variable, $& reference is overrided + corrects match method call for a variable in class method, `$&` is in other method + registers an offense for match method call for a variable in method, `$&` is in other method + corrects match method call for a variable in if guard condition with $& is used in another method + corrects match method call for a variable in method, `$1` is in other method + accepts match method call for a variable in method with $1 before if + accepts match method call for a variable in method with $1 + registers an offense for match method call for a variable in unless condition + registers an offense for match method call for a variable, $2 reference is overrided + accepts match method call for a variable in a class method with $2 + accepts match method call for a variable in method with $& + accepts match method call for a variable in a class method with $~ + accepts match method call for a variable in method with Regexp.last_match before if + registers an offense for match method call for a variable in class method, `Regexp.last_match` is in other method + corrects match method call for a variable, $~ reference is overrided + registers an offense for match method call for a variable in class, `$`` is in method + registers an offense for match method call for a variable in method, `$~` is in other method + corrects match method call for a variable in class method, `$`` is in other method + accepts match method call for a variable in method with $2 before if + registers an offense for match method call for a variable in class, `Regexp.last_match(1)` is in method + accepts match method call for a variable in method with $` + registers an offense for match method call for a variable in if guard condition with $2 is used in another method + corrects match method call for a variable in unless condition + registers an offense for match method call for a variable in method, `Regexp.last_match(1)` is in other method + corrects match method call for a variable in if guard condition with $1 is used in another method + accepts match method call for a variable in method with Regexp.last_match + registers an offense for match method call for a variable in module, `$'` is in method + registers an offense for match method call for a variable in class, `$&` is in method + corrects match method call for a variable in class method, `$'` is in other method + corrects match method call for a variable in class method, `Regexp.last_match` is in other method + accepts match method call for a variable in guard condition with $2 is used in the line after that + registers an offense for match method call for a variable in class method, `$&` is in other method + accepts match method call for a variable in method with $MATCH before if + corrects match method call for a variable in ternary operator + corrects match method call for a variable in class, `$2` is in method + corrects match method call for a variable in module, `$100` is in method + corrects match method call for a variable in method definition + registers an offense for match method call for a variable in method before `$100` + corrects match method call for a variable in module, `Regexp.last_match(1)` is in method + registers an offense for match method call for a variable in if guard condition with Regexp.last_match(1) is used in another method + corrects match method call for a variable in class, `$&` is in method + accepts match method call for a variable in a class method with $` + registers an offense for match method call for a variable in method before `$1` + corrects match method call for a variable in module, `$'` is in method + registers an offense for match method call for a variable in method before `$&` + corrects match method call for a variable in method before `$~` + registers an offense for match method call for a variable, $& reference is overrided + registers an offense for match method call for a variable in ternary operator + registers an offense for match method call for a variable in if guard condition with $` is used in another method + corrects match method call for a variable in if guard condition with $' is used in another method + corrects match method call for a variable in module, `$1` is in method + accepts match method call for a variable in method with $` before unless + corrects match method call for a variable in method, `$&` is in other method + corrects match method call for a variable in method before `$MATCH` + corrects match method call for a variable in if guard condition with Regexp.last_match is used in another method + corrects match method call for a variable in method, `$MATCH` is in other method + corrects match method call for a variable in class method, `$~` is in other method + corrects match method call for a variable in module, `$2` is in method + corrects match method call for a variable in module, `$`` is in method + corrects match method call for a variable in method before `$100` + accepts match method call for a variable in method with $' in block + registers an offense for match method call for a variable in if guard condition with Regexp.last_match is used in another method + registers an offense for match method call for a variable in module, `$MATCH` is in method + registers an offense for match method call for a variable in module, `Regexp.last_match` is in method + corrects match method call for a variable in if guard condition with $` is used in another method + registers an offense for match method call for a variable in if guard condition with $~ is used in another method + corrects match method call for a variable in method before `$`` + registers an offense for match method call for a variable in unless condition + accepts match method call for a variable in method with $MATCH in block + accepts match method call for a variable in method with $2 before unless + corrects match method call for a variable in case condition + registers an offense for match method call for a variable in method, `$100` is in other method + registers an offense for match method call for a variable in method before `$~` + registers an offense for match method call for a variable, $' reference is overrided + registers an offense for match method call for a variable in module, `$`` is in method + accepts match method call for a variable in method with $MATCH before unless + accepts match method call for a variable in method with $~ before unless + accepts match method call for a variable in guard condition with $100 is used in the line after that + accepts match method call for a variable in method with $` in block + registers an offense for match method call for a variable in method, `$2` is in other method + corrects match method call for a variable in class, `$'` is in method + corrects match method call for a variable in class, `$1` is in method + corrects match method call for a variable, $2 reference is overrided + registers an offense for match method call for a variable, $1 reference is overrided + corrects match method call for a variable in method before `$2` + registers an offense for match method call for a variable in module, `$1` is in method + registers an offense for match method call for a variable in method, `$MATCH` is in other method + accepts match method call for a variable in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for match method call for a variable in class method, `$MATCH` is in other method + accepts match method call for a variable in a class method with $MATCH + accepts match method call for a variable in method with Regexp.last_match(1) before if + registers an offense for match method call for a variable, $MATCH reference is overrided + corrects match method call for a variable in method, `$`` is in other method + accepts match method call for a variable in method with Regexp.last_match(1) before unless + accepts match method call for a variable in method with $1 in block + behaves like all legacy match methods + corrects match method call for a variable with position in class, `$~` is in method + registers an offense for match method call for a variable with position in class, `$1` is in method + accepts match method call for a variable with position in method with Regexp.last_match(1) before unless + corrects match method call for a variable with position in module, `Regexp.last_match(1)` is in method + corrects match method call for a variable with position in module, `$2` is in method + registers an offense for match method call for a variable with position in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for match method call for a variable with position in method before `$'` + registers an offense for match method call for a variable with position in method, `$'` is in other method + corrects match method call for a variable with position in module, `$~` is in method + registers an offense for match method call for a variable with position in unless condition + registers an offense for match method call for a variable with position, Regexp.last_match reference is overrided + accepts match method call for a variable with position in guard condition with $2 is used in the line after that + corrects match method call for a variable with position in class, `$100` is in method + registers an offense for match method call for a variable with position in module, `$MATCH` is in method + registers an offense for match method call for a variable with position in if guard condition with $MATCH is used in another method + corrects match method call for a variable with position in method definition + registers an offense for match method call for a variable with position in method before `$&` + registers an offense for match method call for a variable with position in method before `$100` + corrects match method call for a variable with position in class method, `Regexp.last_match(1)` is in other method + registers an offense for match method call for a variable with position in class method, `$2` is in other method + registers an offense for match method call for a variable with position in method, `$2` is in other method + registers an offense for match method call for a variable with position in method, `$100` is in other method + corrects match method call for a variable with position in unless condition + registers an offense for match method call for a variable with position in method, `$`` is in other method + corrects match method call for a variable with position in class method, `$&` is in other method + corrects match method call for a variable with position in module, `$1` is in method + corrects match method call for a variable with position in class method, `$~` is in other method + corrects match method call for a variable with position, $2 reference is overrided + corrects match method call for a variable with position in class method, `$2` is in other method + registers an offense for match method call for a variable with position in method before `$2` + accepts match method call for a variable with position in guard condition with $' is used in the line after that + registers an offense for match method call for a variable with position in method before `$MATCH` + corrects match method call for a variable with position in class method, `$1` is in other method + accepts match method call for a variable with position in guard condition with Regexp.last_match(1) is used in the line after that + accepts match method call for a variable with position in method with Regexp.last_match(1) + accepts match method call for a variable with position in method with $1 before if + accepts match method call for a variable with position in a class method with $1 + corrects match method call for a variable with position in if guard condition with $MATCH is used in another method + corrects match method call for a variable with position in ternary operator + corrects match method call for a variable with position in module, `Regexp.last_match` is in method + corrects match method call for a variable with position, $MATCH reference is overrided + corrects match method call for a variable with position in class, `$`` is in method + accepts match method call for a variable with position in method with $2 + corrects match method call for a variable with position in class, `$&` is in method + registers an offense for match method call for a variable with position in class method, `$'` is in other method + accepts match method call for a variable with position in guard condition with $MATCH is used in the line after that + accepts match method call for a variable with position in method with $~ + registers an offense for match method call for a variable with position in class method, `Regexp.last_match` is in other method + corrects match method call for a variable with position, Regexp.last_match reference is overrided + registers an offense for match method call for a variable with position in ternary operator + registers an offense for match method call for a variable with position in elsif condition + registers an offense for match method call for a variable with position in method, `Regexp.last_match` is in other method + corrects match method call for a variable with position in method before `$MATCH` + corrects match method call for a variable with position, $' reference is overrided + registers an offense for match method call for a variable with position in class method, `$1` is in other method + corrects match method call for a variable with position in method before `Regexp.last_match` + registers an offense for match method call for a variable with position in class method, `$MATCH` is in other method + accepts match method call for a variable with position in method with $100 before if + corrects match method call for a variable with position, $~ reference is overrided + corrects match method call for a variable with position, Regexp.last_match(1) reference is overrided + corrects match method call for a variable with position in class method, `$`` is in other method + registers an offense for match method call for a variable with position in class, `$MATCH` is in method + registers an offense for match method call for a variable with position in module, `Regexp.last_match` is in method + registers an offense for match method call for a variable with position in case condition + registers an offense for match method call for a variable with position in class method, `$&` is in other method + accepts match method call for a variable with position in method with $100 in block + accepts match method call for a variable with position in method with $& before if + corrects match method call for a variable with position in if guard condition with $1 is used in another method + corrects match method call for a variable with position in class, `$2` is in method + accepts match method call for a variable with position in guard condition with $100 is used in the line after that + accepts match method call for a variable with position in method with $` before unless + accepts match method call for a variable with position in method with $& before unless + corrects match method call for a variable with position in class, `$MATCH` is in method + registers an offense for match method call for a variable with position in if guard condition with $` is used in another method + registers an offense for match method call for a variable with position, $' reference is overrided + corrects match method call for a variable with position in class, `Regexp.last_match(1)` is in method + corrects match method call for a variable with position in method, `Regexp.last_match` is in other method + accepts match method call for a variable with position in a class method with Regexp.last_match + accepts match method call for a variable with position in method with $` + corrects match method call for a variable with position in if condition + accepts match method call for a variable with position in method with $& in block + registers an offense for match method call for a variable with position in class, `Regexp.last_match(1)` is in method + corrects match method call for a variable with position in method before `$100` + corrects match method call for a variable with position, $& reference is overrided + accepts match method call for a variable with position in method with Regexp.last_match(1) before if + registers an offense for match method call for a variable with position in if condition + registers an offense for match method call for a variable with position in unless condition + corrects match method call for a variable with position, $1 reference is overrided + accepts match method call for a variable with position in method with $100 + accepts match method call for a variable with position in method with $' in block + accepts match method call for a variable with position in method with $' + corrects match method call for a variable with position in method before `$1` + accepts match method call for a variable with position in method with $1 in block + registers an offense for match method call for a variable with position in if guard condition with $~ is used in another method + registers an offense for match method call for a variable with position, $` reference is overrided + registers an offense for match method call for a variable with position in class method, `$100` is in other method + registers an offense for match method call for a variable with position in module, `$~` is in method + accepts match method call for a variable with position in method with $2 before if + corrects match method call for a variable with position in method, `$~` is in other method + registers an offense for match method call for a variable with position in if guard condition with Regexp.last_match is used in another method + accepts match method call for a variable with position in method with $2 before unless + corrects match method call for a variable with position, $100 reference is overrided + corrects match method call for a variable with position in class method, `Regexp.last_match` is in other method + corrects match method call for a variable with position in class, `$'` is in method + corrects match method call for a variable with position in method, `$2` is in other method + registers an offense for match method call for a variable with position, $MATCH reference is overrided + registers an offense for match method call for a variable with position in if condition + registers an offense for match method call for a variable with position in class, `$100` is in method + registers an offense for match method call for a variable with position in method before `$1` + registers an offense for match method call for a variable with position, $100 reference is overrided + corrects match method call for a variable with position, $` reference is overrided + accepts match method call for a variable with position in a class method with Regexp.last_match(1) + corrects match method call for a variable with position in class, `Regexp.last_match` is in method + registers an offense for match method call for a variable with position in class, `$`` is in method + registers an offense for match method call for a variable with position, $& reference is overrided + accepts match method call for a variable with position in method with $1 + accepts match method call for a variable with position in guard condition with $~ is used in the line after that + accepts match method call for a variable with position in guard condition with Regexp.last_match is used in the line after that + accepts match method call for a variable with position in method with $` in block + accepts match method call for a variable with position in method with $~ before if + registers an offense for match method call for a variable with position, Regexp.last_match(1) reference is overrided + registers an offense for match method call for a variable with position in class, `$'` is in method + registers an offense for match method call for a variable with position in module, `$'` is in method + corrects match method call for a variable with position in if guard condition with $100 is used in another method + accepts match method call for a variable with position in a class method with $' + corrects match method call for a variable with position in if guard condition with $2 is used in another method + corrects match method call for a variable with position in method, `$&` is in other method + corrects match method call for a variable with position in module, `$100` is in method + corrects match method call for a variable with position in module, `$MATCH` is in method + accepts match method call for a variable with position in method with Regexp.last_match before unless + registers an offense for match method call for a variable with position in class method, `$`` is in other method + registers an offense for match method call for a variable with position in method before `Regexp.last_match(1)` + registers an offense for match method call for a variable with position in module, `$&` is in method + corrects match method call for a variable with position in module, `$&` is in method + registers an offense for match method call for a variable with position in module, `$2` is in method + corrects match method call for a variable with position in class method, `$'` is in other method + accepts match method call for a variable with position in method with $2 in block + accepts match method call for a variable with position in method with $' before if + corrects match method call for a variable with position in method, `$`` is in other method + corrects match method call for a variable with position in if guard condition with Regexp.last_match is used in another method + accepts match method call for a variable with position in guard condition with $& is used in the line after that + accepts match method call for a variable with position in a class method with $MATCH + corrects match method call for a variable with position in if guard condition with $' is used in another method + corrects match method call for a variable with position in module, `$'` is in method + corrects match method call for a variable with position in class method, `$100` is in other method + corrects match method call for a variable with position in if guard condition with $& is used in another method + accepts match method call for a variable with position in a class method with $& + corrects match method call for a variable with position in class, `$1` is in method + corrects match method call for a variable with position in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for match method call for a variable with position in method, `$MATCH` is in other method + accepts match method call for a variable with position in method with $MATCH before if + corrects match method call for a variable with position in method, `$'` is in other method + accepts match method call for a variable with position in method with $MATCH before unless + registers an offense for match method call for a variable with position in method definition + registers an offense for match method call for a variable with position in class method, `Regexp.last_match(1)` is in other method + registers an offense for match method call for a variable with position in method before `$~` + registers an offense for match method call for a variable with position in method, `$~` is in other method + corrects match method call for a variable with position in method, `Regexp.last_match(1)` is in other method + corrects match method call for a variable with position in if guard condition with $` is used in another method + registers an offense for match method call for a variable with position in module, `Regexp.last_match(1)` is in method + registers an offense for match method call for a variable with position in class method, `$~` is in other method + registers an offense for match method call for a variable with position in module, `$`` is in method + corrects match method call for a variable with position in method before `$~` + accepts match method call for a variable with position in method with $1 before unless + registers an offense for match method call for a variable with position in if guard condition with $1 is used in another method + accepts match method call for a variable with position in method with Regexp.last_match(1) in block + accepts match method call for a variable with position in method with $MATCH + registers an offense for match method call for a variable with position in class, `$2` is in method + registers an offense for match method call for a variable with position in method before `$`` + corrects match method call for a variable with position in class method, `$MATCH` is in other method + corrects match method call for a variable with position in if guard condition with $~ is used in another method + corrects match method call for a variable with position in method before `$2` + registers an offense for match method call for a variable with position in if guard condition with $' is used in another method + corrects match method call for a variable with position in case condition + accepts match method call for a variable with position in method with $` before if + accepts match method call for a variable with position in guard condition with $` is used in the line after that + accepts match method call for a variable with position in guard condition with $1 is used in the line after that + accepts match method call for a variable with position in a class method with $100 + registers an offense for match method call for a variable with position in module, `$1` is in method + registers an offense for match method call for a variable with position, $2 reference is overrided + accepts match method call for a variable with position in method with Regexp.last_match before if + corrects match method call for a variable with position in method, `$1` is in other method + registers an offense for match method call for a variable with position in class, `$~` is in method + registers an offense for match method call for a variable with position in method before `Regexp.last_match` + registers an offense for match method call for a variable with position in if guard condition with $100 is used in another method + corrects match method call for a variable with position in module, `$`` is in method + registers an offense for match method call for a variable with position in class, `$&` is in method + accepts match method call for a variable with position in method with $~ before unless + registers an offense for match method call for a variable with position in module, `$100` is in method + corrects match method call for a variable with position in elsif condition + corrects match method call for a variable with position in unless condition + accepts match method call for a variable with position in method with Regexp.last_match + registers an offense for match method call for a variable with position in method, `$1` is in other method + registers an offense for match method call for a variable with position, $1 reference is overrided + accepts match method call for a variable with position in method with $100 before unless + accepts match method call for a variable with position in method with $' before unless + accepts match method call for a variable with position in method with $~ in block + registers an offense for match method call for a variable with position in method, `Regexp.last_match(1)` is in other method + corrects match method call for a variable with position in method before `Regexp.last_match(1)` + corrects match method call for a variable with position in method before `$'` + accepts match method call for a variable with position in a class method with $` + corrects match method call for a variable with position in if condition + accepts match method call for a variable with position in a class method with $~ + registers an offense for match method call for a variable with position in if guard condition with $2 is used in another method + corrects match method call for a variable with position in method, `$MATCH` is in other method + accepts match method call for a variable with position in method with $& + corrects match method call for a variable with position in method before `$&` + registers an offense for match method call for a variable with position in class, `Regexp.last_match` is in method + registers an offense for match method call for a variable with position in method, `$&` is in other method + registers an offense for match method call for a variable with position in if guard condition with $& is used in another method + corrects match method call for a variable with position in method before `$`` + corrects match method call for a variable with position in method, `$100` is in other method + registers an offense for match method call for a variable with position, $~ reference is overrided + accepts match method call for a variable with position in a class method with $2 + accepts match method call for a variable with position in method with $MATCH in block + accepts match method call for a variable with position in method with Regexp.last_match in block + behaves like all legacy match methods + accepts matching by =~` in method with $1 + accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in class method, `$100` is in other method + corrects matching by =~`, $MATCH reference is overrided + accepts matching by =~` in method with $' + corrects matching by =~` in method, `$&` is in other method registers an offense for matching by =~` in unless condition - corrects matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in method, `$1` is in other method + accepts matching by =~` in a class method with $1 + accepts matching by =~` in method with $2 before unless + corrects matching by =~` in method before `Regexp.last_match` registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in method before `$MATCH` - corrects matching by =~` in method, `$2` is in other method - corrects matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~`, $1 reference is overrided - corrects matching by =~` in method, `$~` is in other method + corrects matching by =~` in unless condition + corrects matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in method with $100 before if + corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in case condition corrects matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $' in block - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~`, $` reference is overrided - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in method with $` - corrects matching by =~` in if condition - corrects matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with Regexp.last_match(1) + accepts matching by =~` in guard condition with $100 is used in the line after that + corrects matching by =~` in method, `$100` is in other method + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~`, $` reference is overrided corrects matching by =~`, Regexp.last_match reference is overrided - registers an offense for matching by =~` in module, `$1` is in method - registers an offense for matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in class method, `$'` is in other method - corrects matching by =~` in method, `$`` is in other method - accepts matching by =~` in method with $MATCH in block + corrects matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in module, `$~` is in method + corrects matching by =~` in module, `$`` is in method + registers an offense for matching by =~`, $~ reference is overrided + corrects matching by =~` in if condition + corrects matching by =~` in if condition + registers an offense for matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~`, $1 reference is overrided + corrects matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in class, `$`` is in method registers an offense for matching by =~` in elsif condition - corrects matching by =~`, $MATCH reference is overrided - accepts matching by =~` in a class method with $& - registers an offense for matching by =~` in class, `$'` is in method - accepts matching by =~` in method with $1 before if - accepts matching by =~` in a class method with $100 + corrects matching by =~` in elsif condition corrects matching by =~`, $& reference is overrided - corrects matching by =~` in class method, `$&` is in other method - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in class, `$1` is in method - corrects matching by =~` in module, `Regexp.last_match` is in method - corrects matching by =~` in module, `$'` is in method - corrects matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with $1 in block - registers an offense for matching by =~` in method before `$~` - corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in if guard condition with $` is used in another method corrects matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in method before `$`` - accepts matching by =~` in method with $& before if - accepts matching by =~` in method with $' before unless + corrects matching by =~` in class, `$~` is in method + corrects matching by =~` in class, `$'` is in method + corrects matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in method before `$100` corrects matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in if condition - accepts matching by =~` in method with Regexp.last_match(1) before unless - registers an offense for matching by =~` in module, `$&` is in method - registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with $~ before if + accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in method with $1 before unless + accepts matching by =~` in method with $~ before unless + accepts matching by =~` in method with Regexp.last_match before unless + registers an offense for matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in unless condition + registers an offense for matching by =~` in method before `$~` + accepts matching by =~` in method with $100 before unless + registers an offense for matching by =~` in method before `$100` + accepts matching by =~` in method with Regexp.last_match(1) in block + registers an offense for matching by =~`, $& reference is overrided + registers an offense for matching by =~` in module, `$MATCH` is in method + accepts matching by =~` in method with $100 + registers an offense for matching by =~` in ternary operator + registers an offense for matching by =~` in if guard condition with $& is used in another method + corrects matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class, `Regexp.last_match` is in method corrects matching by =~` in module, `$&` is in method + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in method with $100 in block + registers an offense for matching by =~` in method before `$`` corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in method with Regexp.last_match in block + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in class, `$~` is in method + corrects matching by =~` in method before `$&` + registers an offense for matching by =~` in class, `$'` is in method + corrects matching by =~` in method before `$'` + accepts matching by =~` in method with $` before unless + registers an offense for matching by =~` in method before `$1` + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method corrects matching by =~` in class, `$100` is in method + corrects matching by =~` in method, `$~` is in other method + corrects matching by =~` in method before `$~` + accepts matching by =~` in a class method with $~ + accepts matching by =~` in a class method with $MATCH + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by =~` in method, `$2` is in other method + corrects matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in method before `$&` + registers an offense for matching by =~` in module, `$~` is in method + accepts matching by =~` in method with $MATCH before if + corrects matching by =~` in class, `$2` is in method + registers an offense for matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in class method, `$'` is in other method + corrects matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~` in unless condition + accepts matching by =~` in method with $& + corrects matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in module, `$100` is in method + corrects matching by =~`, $1 reference is overrided + corrects matching by =~` in class method, `$~` is in other method + accepts matching by =~` in a class method with $' + accepts matching by =~` in a class method with Regexp.last_match + accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in class, `$2` is in method + corrects matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in method, `$`` is in other method + corrects matching by =~` in class method, `Regexp.last_match` is in other method accepts matching by =~` in method with $' before if - corrects matching by =~` in method, `$100` is in other method + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by =~` in a class method with $100 + accepts matching by =~` in method with $' before unless + accepts matching by =~` in method with $& in block + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method definition + registers an offense for matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~` in class, `$100` is in method + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + registers an offense for matching by =~`, $2 reference is overrided + accepts matching by =~` in method with $' in block + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in method with $~ + accepts matching by =~` in method with $` + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by =~` in a class method with $2 + accepts matching by =~` in method with $1 before if + registers an offense for matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with $2 + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in module, `$2` is in method + registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in module, `$'` is in method accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in method with Regexp.last_match in block - corrects matching by =~` in method, `$1` is in other method + registers an offense for matching by =~` in module, `$100` is in method registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in method before `Regexp.last_match(1)` registers an offense for matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with $~ in block - accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~` in module, `$1` is in method corrects matching by =~`, $' reference is overrided - accepts matching by =~` in method with $1 + accepts matching by =~` in method with $MATCH + corrects matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in a class method with $` + accepts matching by =~` in method with $2 before if + corrects matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~` in method, `$'` is in other method registers an offense for matching by =~` in method before `$'` - registers an offense for matching by =~` in case condition - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~` in class method, `$&` is in other method - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with $1 in block + registers an offense for matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~`, $MATCH reference is overrided registers an offense for matching by =~` in if guard condition with $100 is used in another method + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in class method, `$`` is in other method + corrects matching by =~` in method definition + corrects matching by =~` in if guard condition with $~ is used in another method accepts matching by =~` in method with Regexp.last_match - accepts matching by =~` in method with $2 in block - corrects matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~`, $~ reference is overrided - corrects matching by =~` in if guard condition with $1 is used in another method corrects matching by =~` in method before `$2` - registers an offense for matching by =~` in if condition + accepts matching by =~` in method with $` before if registers an offense for matching by =~` in if guard condition with $' is used in another method - corrects matching by =~` in method, `$'` is in other method - registers an offense for matching by =~` in method, `$2` is in other method - corrects matching by =~` in module, `$MATCH` is in method - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~` in method before `$&` - corrects matching by =~` in unless condition - registers an offense for matching by =~` in class, `$~` is in method - accepts matching by =~` in method with $100 + accepts matching by =~` in method with $MATCH in block + accepts matching by =~` in guard condition with $& is used in the line after that + registers an offense for matching by =~` in method before `$MATCH` + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in if condition + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in module, `$`` is in method + accepts matching by =~` in method with $2 in block accepts matching by =~` in method with $& before unless - accepts matching by =~` in a class method with $2 + accepts matching by =~` in method with $& before if + registers an offense for matching by =~` in method before `Regexp.last_match` + registers an offense for matching by =~` in case condition + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~`, $100 reference is overrided - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in a class method with $1 - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in a class method with $` - accepts matching by =~` in method with $~ before if - corrects matching by =~` in class method, `$2` is in other method - corrects matching by =~` in elsif condition - accepts matching by =~` in method with $` before unless - registers an offense for matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in method before `$1` + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before unless + registers an offense for matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in class method, `$MATCH` is in other method corrects matching by =~` in if guard condition with $100 is used in another method - accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in ternary operator + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in class, `$&` is in method + accepts matching by =~` in method with Regexp.last_match before if + corrects matching by =~` in method before `$`` + accepts matching by =~` in method with $` in block + accepts matching by =~` in guard condition with $MATCH is used in the line after that + corrects matching by =~`, $2 reference is overrided + accepts matching by =~` in a class method with $& + registers an offense for matching by =~` in class method, `$100` is in other method registers an offense for matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $MATCH + behaves like all legacy match methods + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by !~` in class method, `$'` is in other method + accepts matching by !~` in method with $~ + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $~ before if + registers an offense for matching by !~` in method before `$`` + registers an offense for matching by !~` in class, `$2` is in method + corrects matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in class, `$1` is in method + corrects matching by !~` in module, `Regexp.last_match` is in method + corrects matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~` in class, `$100` is in method + registers an offense for matching by !~`, $~ reference is overrided + corrects matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in method before `$MATCH` + corrects matching by !~` in method definition + corrects matching by !~`, $2 reference is overrided + corrects matching by !~` in method, `$2` is in other method + accepts matching by !~` in method with $` + registers an offense for matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in if guard condition with $~ is used in another method + registers an offense for matching by !~` in class, `$`` is in method + corrects matching by !~` in if condition + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $1 + accepts matching by !~` in method with $& in block + accepts matching by !~` in a class method with $1 + registers an offense for matching by !~` in elsif condition + corrects matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with $100 in block + corrects matching by !~` in module, `$`` is in method + accepts matching by !~` in method with Regexp.last_match + accepts matching by !~` in a class method with Regexp.last_match(1) + registers an offense for matching by !~` in if guard condition with $2 is used in another method + corrects matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in method, `$2` is in other method + registers an offense for matching by !~` in case condition + accepts matching by !~` in a class method with $MATCH + accepts matching by !~` in method with $2 + registers an offense for matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in method before `$100` + corrects matching by !~`, $MATCH reference is overrided + accepts matching by !~` in method with $2 in block + corrects matching by !~` in class, `$1` is in method + corrects matching by !~` in method before `$&` + corrects matching by !~` in method before `$'` + corrects matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in class method, `$100` is in other method + accepts matching by !~` in method with $100 before unless + registers an offense for matching by !~`, $100 reference is overrided + corrects matching by !~` in method before `$1` + corrects matching by !~` in module, `$2` is in method + registers an offense for matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in module, `$1` is in method + accepts matching by !~` in guard condition with $1 is used in the line after that + corrects matching by !~` in method before `$2` + registers an offense for matching by !~` in method before `$'` + corrects matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with $MATCH before unless + corrects matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with $& before if + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in method before `$~` + corrects matching by !~` in method, `Regexp.last_match` is in other method + accepts matching by !~` in method with $1 in block + registers an offense for matching by !~` in method, `$&` is in other method + accepts matching by !~` in method with Regexp.last_match in block + registers an offense for matching by !~` in unless condition + corrects matching by !~` in ternary operator + accepts matching by !~` in method with $MATCH in block + registers an offense for matching by !~` in unless condition + corrects matching by !~`, $100 reference is overrided + accepts matching by !~` in method with $100 + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + accepts matching by !~` in a class method with $& + accepts matching by !~` in a class method with $100 + registers an offense for matching by !~` in method before `$1` + registers an offense for matching by !~` in if condition + corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + accepts matching by !~` in method with $MATCH before if + accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by !~` in if condition + accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~` in class method, `$`` is in other method + accepts matching by !~` in method with $` before unless + accepts matching by !~` in method with $MATCH + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in if guard condition with $2 is used in another method + accepts matching by !~` in method with $~ before unless + accepts matching by !~` in method with $& before unless + registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in guard condition with $' is used in the line after that + registers an offense for matching by !~`, $& reference is overrided + accepts matching by !~` in method with $1 before unless + registers an offense for matching by !~` in class, `$&` is in method + accepts matching by !~` in method with $` in block + registers an offense for matching by !~` in method definition + accepts matching by !~` in method with $2 before unless + registers an offense for matching by !~` in ternary operator + corrects matching by !~` in method, `$~` is in other method + registers an offense for matching by !~` in module, `$'` is in method + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~` in module, `$~` is in method + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in method, `$100` is in other method + corrects matching by !~` in module, `$'` is in method + registers an offense for matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in method with $~ in block + corrects matching by !~` in method before `Regexp.last_match` + registers an offense for matching by !~` in if guard condition with $` is used in another method + accepts matching by !~` in method with $' before unless + registers an offense for matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in method with Regexp.last_match(1) in block + registers an offense for matching by !~` in class method, `$`` is in other method + corrects matching by !~` in module, `$MATCH` is in method + accepts matching by !~` in method with Regexp.last_match before unless + corrects matching by !~` in class method, `$'` is in other method + corrects matching by !~` in method, `$1` is in other method + registers an offense for matching by !~` in module, `$100` is in method + accepts matching by !~` in a class method with $` + registers an offense for matching by !~` in method before `$2` + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + corrects matching by !~` in class, `Regexp.last_match` is in method + accepts matching by !~` in a class method with Regexp.last_match + corrects matching by !~` in module, `$&` is in method + accepts matching by !~` in method with $& + corrects matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by !~`, $' reference is overrided + registers an offense for matching by !~` in method, `$~` is in other method + accepts matching by !~` in method with $' before if + accepts matching by !~` in method with $' in block + corrects matching by !~` in method before `Regexp.last_match(1)` + corrects matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $2 is used in the line after that + corrects matching by !~` in if guard condition with $& is used in another method + corrects matching by !~` in if guard condition with $' is used in another method + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~` in module, `$100` is in method + corrects matching by !~` in class, `$2` is in method + registers an offense for matching by !~` in class method, `$~` is in other method + corrects matching by !~`, $` reference is overrided + accepts matching by !~` in method with $1 before if + corrects matching by !~` in method, `$'` is in other method + corrects matching by !~` in class method, `$~` is in other method + registers an offense for matching by !~` in method before `$~` + corrects matching by !~` in class, `$~` is in method + accepts matching by !~` in method with $2 before if + registers an offense for matching by !~` in if guard condition with $1 is used in another method + accepts matching by !~` in method with Regexp.last_match(1) + registers an offense for matching by !~` in class, `$'` is in method + accepts matching by !~` in guard condition with $& is used in the line after that + corrects matching by !~` in class, `$MATCH` is in method + corrects matching by !~` in unless condition + corrects matching by !~` in class method, `$&` is in other method + corrects matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in class, `$&` is in method + corrects matching by !~` in class method, `$100` is in other method + accepts matching by !~` in method with $' + registers an offense for matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in method, `$`` is in other method + corrects matching by !~` in elsif condition + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in method, `$MATCH` is in other method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~`, $1 reference is overrided + corrects matching by !~`, $~ reference is overrided + accepts matching by !~` in guard condition with $100 is used in the line after that + corrects matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in class, `$~` is in method + corrects matching by !~` in method before `$100` + accepts matching by !~` in method with Regexp.last_match(1) before if + corrects matching by !~` in method before `$`` + corrects matching by !~` in method before `$MATCH` + accepts matching by !~` in a class method with $' + accepts matching by !~` in method with Regexp.last_match before if + registers an offense for matching by !~` in method before `$&` + accepts matching by !~` in method with $100 before if + registers an offense for matching by !~` in if condition + registers an offense for matching by !~`, $2 reference is overrided + registers an offense for matching by !~` in method, `$'` is in other method + corrects matching by !~`, $& reference is overrided + corrects matching by !~` in case condition + corrects matching by !~` in if guard condition with $` is used in another method + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that + accepts matching by !~` in guard condition with $MATCH is used in the line after that + corrects matching by !~` in class method, `Regexp.last_match` is in other method + corrects matching by !~`, $' reference is overrided + corrects matching by !~` in unless condition + accepts matching by !~` in guard condition with $~ is used in the line after that + accepts matching by !~` in a class method with $2 + corrects matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in module, `$2` is in method + accepts matching by !~` in guard condition with $` is used in the line after that + accepts matching by !~` in method with $` before if + registers an offense for matching by !~` in method, `$1` is in other method + registers an offense for matching by !~`, $` reference is overrided + registers an offense for matching by !~` in module, `$`` is in method + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~` in class method, `$2` is in other method + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in class method, `$2` is in other method + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in class method, `$1` is in other method + registers an offense for matching by !~` in module, `$1` is in method + behaves like all legacy match methods + registers an offense for Symbol#match method call with position in class method, `$MATCH` is in other method + accepts Symbol#match method call with position in guard condition with $& is used in the line after that + accepts Symbol#match method call with position in method with $~ in block + corrects Symbol#match method call with position in method, `Regexp.last_match` is in other method + registers an offense for Symbol#match method call with position in method before `$'` + corrects Symbol#match method call with position in class, `$2` is in method + corrects Symbol#match method call with position in method definition + corrects Symbol#match method call with position in class method, `$`` is in other method + corrects Symbol#match method call with position in class, `Regexp.last_match` is in method + accepts Symbol#match method call with position in method with $& + registers an offense for Symbol#match method call with position in class, `$MATCH` is in method + registers an offense for Symbol#match method call with position in class method, `$2` is in other method + registers an offense for Symbol#match method call with position in method, `Regexp.last_match(1)` is in other method + registers an offense for Symbol#match method call with position in class method, `$~` is in other method + corrects Symbol#match method call with position in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for Symbol#match method call with position in module, `Regexp.last_match` is in method + registers an offense for Symbol#match method call with position, Regexp.last_match(1) reference is overrided + registers an offense for Symbol#match method call with position in method before `$&` + corrects Symbol#match method call with position in class method, `$~` is in other method + registers an offense for Symbol#match method call with position in class, `Regexp.last_match` is in method + corrects Symbol#match method call with position in ternary operator + registers an offense for Symbol#match method call with position in class, `$2` is in method + corrects Symbol#match method call with position in if guard condition with $` is used in another method + registers an offense for Symbol#match method call with position, $MATCH reference is overrided + registers an offense for Symbol#match method call with position, $~ reference is overrided + registers an offense for Symbol#match method call with position in method definition + registers an offense for Symbol#match method call with position in ternary operator + registers an offense for Symbol#match method call with position, $& reference is overrided + registers an offense for Symbol#match method call with position in class method, `$&` is in other method + corrects Symbol#match method call with position, $~ reference is overrided + accepts Symbol#match method call with position in guard condition with $MATCH is used in the line after that + registers an offense for Symbol#match method call with position in module, `$1` is in method + registers an offense for Symbol#match method call with position, $` reference is overrided + corrects Symbol#match method call with position in module, `Regexp.last_match` is in method + corrects Symbol#match method call with position in class, `$100` is in method + corrects Symbol#match method call with position in method before `$'` + corrects Symbol#match method call with position, $` reference is overrided + corrects Symbol#match method call with position in class method, `$'` is in other method + registers an offense for Symbol#match method call with position in class method, `Regexp.last_match` is in other method + registers an offense for Symbol#match method call with position in if guard condition with $~ is used in another method + registers an offense for Symbol#match method call with position in module, `$&` is in method + accepts Symbol#match method call with position in method with $100 before unless + registers an offense for Symbol#match method call with position in class, `$1` is in method + registers an offense for Symbol#match method call with position in class method, `$`` is in other method + corrects Symbol#match method call with position in class, `$~` is in method + corrects Symbol#match method call with position in class method, `$2` is in other method + registers an offense for Symbol#match method call with position in method before `$100` + accepts Symbol#match method call with position in guard condition with $~ is used in the line after that + corrects Symbol#match method call with position in class, `$1` is in method + corrects Symbol#match method call with position in module, `$`` is in method + registers an offense for Symbol#match method call with position in method before `$`` + accepts Symbol#match method call with position in method with Regexp.last_match(1) in block + registers an offense for Symbol#match method call with position, $' reference is overrided + corrects Symbol#match method call with position in if condition + accepts Symbol#match method call with position in guard condition with $1 is used in the line after that + registers an offense for Symbol#match method call with position, $1 reference is overrided + corrects Symbol#match method call with position in if guard condition with $1 is used in another method + registers an offense for Symbol#match method call with position in method, `$~` is in other method + registers an offense for Symbol#match method call with position in method, `$100` is in other method + registers an offense for Symbol#match method call with position in class, `$&` is in method + corrects Symbol#match method call with position in method, `$MATCH` is in other method + corrects Symbol#match method call with position, $MATCH reference is overrided + accepts Symbol#match method call with position in method with Regexp.last_match(1) before unless + accepts Symbol#match method call with position in method with $' + registers an offense for Symbol#match method call with position in class method, `$'` is in other method + corrects Symbol#match method call with position in if guard condition with $' is used in another method + accepts Symbol#match method call with position in method with $' before if + accepts Symbol#match method call with position in method with $100 in block + corrects Symbol#match method call with position in class method, `Regexp.last_match` is in other method + corrects Symbol#match method call with position in class, `$MATCH` is in method + corrects Symbol#match method call with position in method, `$100` is in other method + corrects Symbol#match method call with position in class, `Regexp.last_match(1)` is in method + accepts Symbol#match method call with position in method with $~ + registers an offense for Symbol#match method call with position in class, `$100` is in method + registers an offense for Symbol#match method call with position in case condition + corrects Symbol#match method call with position in class method, `$100` is in other method + registers an offense for Symbol#match method call with position in class, `$'` is in method + accepts Symbol#match method call with position in guard condition with $' is used in the line after that + accepts Symbol#match method call with position in a class method with $~ + corrects Symbol#match method call with position in class, `$&` is in method + corrects Symbol#match method call with position in method before `$`` + registers an offense for Symbol#match method call with position in if guard condition with $100 is used in another method + registers an offense for Symbol#match method call with position in method before `$2` + corrects Symbol#match method call with position in elsif condition + corrects Symbol#match method call with position in module, `Regexp.last_match(1)` is in method + corrects Symbol#match method call with position in class method, `$1` is in other method + corrects Symbol#match method call with position in class method, `$MATCH` is in other method + accepts Symbol#match method call with position in method with $MATCH before if + corrects Symbol#match method call with position in if guard condition with $2 is used in another method + corrects Symbol#match method call with position in case condition + accepts Symbol#match method call with position in method with $100 before if + accepts Symbol#match method call with position in method with Regexp.last_match before unless + registers an offense for Symbol#match method call with position in unless condition + accepts Symbol#match method call with position in guard condition with $100 is used in the line after that + corrects Symbol#match method call with position in if guard condition with $~ is used in another method + corrects Symbol#match method call with position, $100 reference is overrided + registers an offense for Symbol#match method call with position in class method, `Regexp.last_match(1)` is in other method + registers an offense for Symbol#match method call with position in if guard condition with $` is used in another method + accepts Symbol#match method call with position in method with $MATCH in block + corrects Symbol#match method call with position in method, `$2` is in other method + corrects Symbol#match method call with position in method before `$MATCH` + registers an offense for Symbol#match method call with position in method before `$MATCH` + corrects Symbol#match method call with position in method before `$&` + accepts Symbol#match method call with position in method with $1 in block + registers an offense for Symbol#match method call with position in module, `$`` is in method + registers an offense for Symbol#match method call with position, $2 reference is overrided + accepts Symbol#match method call with position in method with $MATCH before unless + registers an offense for Symbol#match method call with position in if guard condition with $& is used in another method + registers an offense for Symbol#match method call with position in method before `Regexp.last_match` + registers an offense for Symbol#match method call with position in module, `Regexp.last_match(1)` is in method + accepts Symbol#match method call with position in method with $~ before unless + accepts Symbol#match method call with position in method with $1 before unless + accepts Symbol#match method call with position in method with $1 before if + corrects Symbol#match method call with position, Regexp.last_match reference is overrided + registers an offense for Symbol#match method call with position in if condition + accepts Symbol#match method call with position in a class method with $1 + corrects Symbol#match method call with position in method before `Regexp.last_match` + corrects Symbol#match method call with position in method, `$`` is in other method + corrects Symbol#match method call with position in if guard condition with $MATCH is used in another method + registers an offense for Symbol#match method call with position, Regexp.last_match reference is overrided + corrects Symbol#match method call with position in module, `$&` is in method + registers an offense for Symbol#match method call with position in method, `$&` is in other method + registers an offense for Symbol#match method call with position in method, `$1` is in other method + accepts Symbol#match method call with position in method with $& in block + accepts Symbol#match method call with position in a class method with $& + corrects Symbol#match method call with position in if guard condition with $& is used in another method + registers an offense for Symbol#match method call with position in elsif condition + corrects Symbol#match method call with position in module, `$~` is in method + accepts Symbol#match method call with position in method with $1 + corrects Symbol#match method call with position in method before `$100` + accepts Symbol#match method call with position in guard condition with Regexp.last_match is used in the line after that + corrects Symbol#match method call with position in class method, `$&` is in other method + accepts Symbol#match method call with position in method with Regexp.last_match in block + corrects Symbol#match method call with position in method before `$1` + accepts Symbol#match method call with position in a class method with $` + registers an offense for Symbol#match method call with position in method, `$2` is in other method + accepts Symbol#match method call with position in method with $~ before if + accepts Symbol#match method call with position in guard condition with $` is used in the line after that + registers an offense for Symbol#match method call with position in module, `$100` is in method + corrects Symbol#match method call with position in unless condition + accepts Symbol#match method call with position in method with $` + accepts Symbol#match method call with position in method with $100 + accepts Symbol#match method call with position in method with $` before if + corrects Symbol#match method call with position in class method, `Regexp.last_match(1)` is in other method + accepts Symbol#match method call with position in a class method with $2 + registers an offense for Symbol#match method call with position in if condition + accepts Symbol#match method call with position in method with $' in block + registers an offense for Symbol#match method call with position in method, `$'` is in other method + registers an offense for Symbol#match method call with position in module, `$~` is in method + registers an offense for Symbol#match method call with position in class, `$`` is in method + corrects Symbol#match method call with position in module, `$MATCH` is in method + corrects Symbol#match method call with position in class, `$'` is in method + corrects Symbol#match method call with position in method before `Regexp.last_match(1)` + corrects Symbol#match method call with position in if guard condition with $100 is used in another method + registers an offense for Symbol#match method call with position in unless condition + accepts Symbol#match method call with position in method with $2 before unless + accepts Symbol#match method call with position in method with $2 in block + corrects Symbol#match method call with position in method, `$'` is in other method + corrects Symbol#match method call with position in method, `$&` is in other method + accepts Symbol#match method call with position in a class method with $MATCH + registers an offense for Symbol#match method call with position in method, `$`` is in other method + accepts Symbol#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for Symbol#match method call with position in class, `Regexp.last_match(1)` is in method + registers an offense for Symbol#match method call with position in class method, `$1` is in other method + registers an offense for Symbol#match method call with position, $100 reference is overrided + accepts Symbol#match method call with position in method with $` before unless + accepts Symbol#match method call with position in method with Regexp.last_match before if + corrects Symbol#match method call with position in method before `$~` + accepts Symbol#match method call with position in guard condition with $2 is used in the line after that + corrects Symbol#match method call with position in method, `$1` is in other method + accepts Symbol#match method call with position in method with $MATCH + accepts Symbol#match method call with position in a class method with Regexp.last_match(1) + accepts Symbol#match method call with position in method with $& before if + accepts Symbol#match method call with position in method with Regexp.last_match(1) + accepts Symbol#match method call with position in method with $& before unless + registers an offense for Symbol#match method call with position in module, `$'` is in method + corrects Symbol#match method call with position in class, `$`` is in method + accepts Symbol#match method call with position in method with Regexp.last_match + registers an offense for Symbol#match method call with position in if guard condition with Regexp.last_match is used in another method + accepts Symbol#match method call with position in a class method with $' + accepts Symbol#match method call with position in method with $2 before if + registers an offense for Symbol#match method call with position in class method, `$100` is in other method + corrects Symbol#match method call with position in module, `$1` is in method + corrects Symbol#match method call with position in method, `$~` is in other method + corrects Symbol#match method call with position in module, `$100` is in method + accepts Symbol#match method call with position in method with $` in block + corrects Symbol#match method call with position in method before `$2` + corrects Symbol#match method call with position in if condition + registers an offense for Symbol#match method call with position in if guard condition with $1 is used in another method + corrects Symbol#match method call with position in unless condition + registers an offense for Symbol#match method call with position in method before `$1` + registers an offense for Symbol#match method call with position in method, `Regexp.last_match` is in other method + corrects Symbol#match method call with position, $' reference is overrided + accepts Symbol#match method call with position in method with $2 + corrects Symbol#match method call with position in module, `$2` is in method + registers an offense for Symbol#match method call with position in if guard condition with $2 is used in another method + corrects Symbol#match method call with position in method, `Regexp.last_match(1)` is in other method + registers an offense for Symbol#match method call with position in module, `$2` is in method + registers an offense for Symbol#match method call with position in if guard condition with $' is used in another method + registers an offense for Symbol#match method call with position in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for Symbol#match method call with position in method, `$MATCH` is in other method + corrects Symbol#match method call with position, $2 reference is overrided + corrects Symbol#match method call with position, Regexp.last_match(1) reference is overrided + registers an offense for Symbol#match method call with position in class, `$~` is in method + accepts Symbol#match method call with position in method with $' before unless + accepts Symbol#match method call with position in method with Regexp.last_match(1) before if + corrects Symbol#match method call with position, $& reference is overrided + registers an offense for Symbol#match method call with position in method before `$~` + accepts Symbol#match method call with position in a class method with $100 + accepts Symbol#match method call with position in a class method with Regexp.last_match + registers an offense for Symbol#match method call with position in if guard condition with $MATCH is used in another method + corrects Symbol#match method call with position in if guard condition with Regexp.last_match is used in another method + corrects Symbol#match method call with position in module, `$'` is in method + registers an offense for Symbol#match method call with position in module, `$MATCH` is in method + registers an offense for Symbol#match method call with position in method before `Regexp.last_match(1)` + corrects Symbol#match method call with position, $1 reference is overrided + behaves like all legacy match methods + accepts matching by =~` in method with $& before if + accepts matching by =~` in guard condition with $` is used in the line after that + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in class, `$100` is in method + corrects matching by =~` in class, `$~` is in method + registers an offense for matching by =~`, $2 reference is overrided + accepts matching by =~` in method with $1 before if + registers an offense for matching by =~`, $MATCH reference is overrided + corrects matching by =~` in module, `$2` is in method + corrects matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in if condition + corrects matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by =~` in method, `$~` is in other method + corrects matching by =~`, $100 reference is overrided + accepts matching by =~` in method with $2 before if + corrects matching by =~` in module, `$1` is in method + corrects matching by =~` in method, `$&` is in other method + accepts matching by =~` in method with $' in block + accepts matching by =~` in method with $` in block + accepts matching by =~` in method with Regexp.last_match(1) + corrects matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~`, $` reference is overrided + accepts matching by =~` in method with $100 before unless + registers an offense for matching by =~` in elsif condition + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in module, `$~` is in method registers an offense for matching by =~` in class method, `$`` is in other method - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in method before `$MATCH` + corrects matching by =~` in unless condition + registers an offense for matching by =~` in module, `$1` is in method + accepts matching by =~` in method with $& in block + registers an offense for matching by =~` in module, `$100` is in method + corrects matching by =~` in method before `$1` + accepts matching by =~` in method with $2 in block + corrects matching by =~` in method, `$~` is in other method + accepts matching by =~` in method with $~ before unless + corrects matching by =~` in class method, `$'` is in other method + corrects matching by =~` in method before `$`` + accepts matching by =~` in method with $MATCH before if + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by =~` in method before `$&` + corrects matching by =~` in elsif condition + accepts matching by =~` in method with $100 before if + registers an offense for matching by =~`, $& reference is overrided + corrects matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in module, `$2` is in method + corrects matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in a class method with $' + corrects matching by =~` in method definition + accepts matching by =~` in a class method with Regexp.last_match(1) + accepts matching by =~` in method with $& before unless + accepts matching by =~` in method with $100 in block + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + corrects matching by =~` in case condition + registers an offense for matching by =~`, Regexp.last_match reference is overrided corrects matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in method with Regexp.last_match before unless + registers an offense for matching by =~` in class method, `$1` is in other method + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class, `$`` is in method + corrects matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + corrects matching by =~`, $MATCH reference is overrided + corrects matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in method, `$`` is in other method + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in case condition + accepts matching by =~` in a class method with $~ + corrects matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in unless condition + accepts matching by =~` in method with $` before unless + accepts matching by =~` in method with $~ before if + corrects matching by =~` in ternary operator + accepts matching by =~` in method with $' before if + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by =~` in method with $1 + registers an offense for matching by =~` in if guard condition with $` is used in another method accepts matching by =~` in guard condition with $2 is used in the line after that + corrects matching by =~` in unless condition + corrects matching by =~` in module, `$MATCH` is in method + accepts matching by =~` in method with $` + accepts matching by =~` in method with $1 in block + corrects matching by =~`, $~ reference is overrided + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in ternary operator + registers an offense for matching by =~` in if guard condition with $100 is used in another method + registers an offense for matching by =~` in method before `$~` + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~`, $' reference is overrided + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in method, `$2` is in other method + accepts matching by =~` in method with $2 before unless + corrects matching by =~`, $1 reference is overrided + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in class, `$'` is in method + accepts matching by =~` in method with $' before unless registers an offense for matching by =~` in unless condition - accepts matching by =~` in method with Regexp.last_match before unless - accepts matching by =~` in method with $100 before if + accepts matching by =~` in method with $MATCH in block + registers an offense for matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in class method, `$&` is in other method corrects matching by =~` in class method, `$1` is in other method + registers an offense for matching by =~` in class method, `$~` is in other method + corrects matching by =~` in method before `$100` + corrects matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in method before `$&` + registers an offense for matching by =~` in module, `$MATCH` is in method + accepts matching by =~` in a class method with $& + registers an offense for matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class method, `$100` is in other method + accepts matching by =~` in a class method with Regexp.last_match + corrects matching by =~`, $2 reference is overrided + registers an offense for matching by =~` in class, `$&` is in method + accepts matching by =~` in method with $' + registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~` in method, `$`` is in other method + accepts matching by =~` in guard condition with $~ is used in the line after that + corrects matching by =~` in module, `$`` is in method + accepts matching by =~` in a class method with $2 + corrects matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in if condition + accepts matching by =~` in method with $~ in block + accepts matching by =~` in method with $~ + registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~` in module, `$100` is in method corrects matching by =~` in if condition - accepts matching by =~` in method with $& - accepts matching by =~` in method with $100 in block - registers an offense for matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in method with $1 before unless + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method, `$&` is in other method + corrects matching by =~` in method before `$MATCH` + accepts matching by =~` in method with $100 + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in class, `$&` is in method + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in a class method with $MATCH + corrects matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in method before `$100` + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in a class method with $100 + accepts matching by =~` in guard condition with $& is used in the line after that + accepts matching by =~` in a class method with $` + accepts matching by =~` in method with $MATCH before unless + accepts matching by =~` in a class method with $1 + corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~`, $100 reference is overrided + accepts matching by =~` in method with Regexp.last_match before if + corrects matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in method definition + corrects matching by =~` in method before `$'` + registers an offense for matching by =~` in class method, `$'` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before if accepts matching by =~` in method with $` before if - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with Regexp.last_match(1) in block + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~` in if guard condition with $1 is used in another method registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~`, $~ reference is overrided + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in class, `$2` is in method + accepts matching by =~` in method with Regexp.last_match + corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in method before `$`` + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~` in module, `$~` is in method + corrects matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in method before `$1` + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by =~` in method before `$~` + registers an offense for matching by =~` in class, `$'` is in method + accepts matching by =~` in method with $& + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~` in method before `$2` + corrects matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~`, $' reference is overrided + registers an offense for matching by =~` in class, `$~` is in method + accepts matching by =~` in method with $2 + accepts matching by =~` in method with $MATCH + registers an offense for matching by =~` in method before `$'` + accepts matching by =~` in method with Regexp.last_match in block + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + behaves like all legacy match methods + registers an offense for matching by =~` in module, `$~` is in method registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - corrects matching by =~` in ternary operator + registers an offense for matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~`, $` reference is overrided accepts matching by =~` in a class method with $' - accepts matching by =~` in method with Regexp.last_match(1) in block - corrects matching by =~` in method definition - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in method before `$100` - accepts matching by =~` in method with Regexp.last_match(1) + corrects matching by =~` in method before `$2` + registers an offense for matching by =~` in module, `$2` is in method + corrects matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in method with $' before unless + corrects matching by =~` in unless condition + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~` in method before `$~` + corrects matching by =~` in method before `$MATCH` + corrects matching by =~` in method, `$~` is in other method + corrects matching by =~` in module, `$`` is in method + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by =~` in method with $& before if + registers an offense for matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~` in method, `$100` is in other method + corrects matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $1 + accepts matching by =~` in guard condition with $2 is used in the line after that + registers an offense for matching by =~`, $MATCH reference is overrided + accepts matching by =~` in method with $100 before if + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with $1 before if + corrects matching by =~`, $~ reference is overrided + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in method, `$`` is in other method + accepts matching by =~` in a class method with $` + corrects matching by =~` in case condition + registers an offense for matching by =~` in class, `$~` is in method + accepts matching by =~` in a class method with Regexp.last_match + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + registers an offense for matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in method, `$`` is in other method + accepts matching by =~` in method with $1 before unless + registers an offense for matching by =~` in module, `$1` is in method + corrects matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in if condition accepts matching by =~` in method with Regexp.last_match(1) before if + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~`, $2 reference is overrided + accepts matching by =~` in method with $MATCH + corrects matching by =~` in unless condition + corrects matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in unless condition + accepts matching by =~` in a class method with Regexp.last_match(1) registers an offense for matching by =~` in class, `$`` is in method - accepts matching by =~` in guard condition with $` is used in the line after that - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $& + accepts matching by =~` in a class method with $MATCH + corrects matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~` in method before `$~` + corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in method, `$~` is in other method + accepts matching by =~` in guard condition with $' is used in the line after that + corrects matching by =~` in ternary operator + corrects matching by =~` in module, `$~` is in method accepts matching by =~` in method with $~ - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - accepts matching by =~` in guard condition with $~ is used in the line after that registers an offense for matching by =~` in module, `$100` is in method - accepts matching by =~` in method with $' - corrects matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in method before `$1` - registers an offense for matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $2 before if - corrects matching by =~`, $100 reference is overrided - corrects matching by =~` in class, `$'` is in method + registers an offense for matching by =~` in method before `$`` + corrects matching by =~`, $MATCH reference is overrided registers an offense for matching by =~` in method before `Regexp.last_match` - accepts matching by =~` in a class method with Regexp.last_match - corrects matching by =~` in method before `$'` + accepts matching by =~` in method with Regexp.last_match before if + accepts matching by =~` in method with $2 + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~`, $` reference is overrided + corrects matching by =~` in class method, `$'` is in other method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in case condition + accepts matching by =~` in a class method with $& + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~`, $1 reference is overrided + accepts matching by =~` in method with Regexp.last_match(1) in block + corrects matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in class method, `$'` is in other method corrects matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in a class method with $~ + registers an offense for matching by =~` in unless condition + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with $100 before unless + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in class, `$100` is in method + accepts matching by =~` in method with Regexp.last_match(1) before unless + accepts matching by =~` in method with $MATCH before if + registers an offense for matching by =~`, $100 reference is overrided + accepts matching by =~` in method with $` + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $2 in block + accepts matching by =~` in method with Regexp.last_match(1) + registers an offense for matching by =~` in class method, `$~` is in other method + accepts matching by =~` in a class method with $2 + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with $& in block + accepts matching by =~` in method with Regexp.last_match in block + accepts matching by =~` in method with $~ before unless corrects matching by =~` in class, `$~` is in method - accepts matching by =~` in method with Regexp.last_match before if - registers an offense for matching by =~` in class, `$2` is in method + registers an offense for matching by =~`, $2 reference is overrided + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + corrects matching by =~` in class method, `$`` is in other method + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~` in method before `$&` + accepts matching by =~` in method with $2 before if + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in method, `$'` is in other method + accepts matching by =~` in a class method with $100 registers an offense for matching by =~`, $& reference is overrided - corrects matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in method before `$'` + accepts matching by =~` in method with $` before unless + corrects matching by =~` in class, `$&` is in method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in method before `$100` + registers an offense for matching by =~` in method, `$&` is in other method + corrects matching by =~` in class, `Regexp.last_match` is in method corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + accepts matching by =~` in method with $2 before unless + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by =~` in method, `$&` is in other method + corrects matching by =~` in method, `$2` is in other method + corrects matching by =~` in method before `$100` registers an offense for matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in class method, `$'` is in other method - corrects matching by =~` in method before `$1` - registers an offense for matching by =~` in method before `$&` - accepts matching by =~` in method with $2 before unless - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in method before `$'` + corrects matching by =~` in class method, `$~` is in other method + corrects matching by =~` in method before `$`` + corrects matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in method with $~ before if + corrects matching by =~` in if condition + registers an offense for matching by =~` in if condition + accepts matching by =~` in method with $& before unless + corrects matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in class method, `$100` is in other method + corrects matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in class method, `$1` is in other method + corrects matching by =~`, $100 reference is overrided + registers an offense for matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in method with $MATCH before unless + registers an offense for matching by =~` in method before `$1` + corrects matching by =~`, $' reference is overrided + registers an offense for matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in method with $100 + corrects matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with Regexp.last_match before unless + accepts matching by =~` in method with $` before if + accepts matching by =~` in method with $1 in block accepts matching by =~` in guard condition with $& is used in the line after that + corrects matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in class, `$2` is in method + corrects matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in method definition + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in guard condition with $1 is used in the line after that + registers an offense for matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in class, `$1` is in method + corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in module, `$&` is in method + accepts matching by =~` in guard condition with $` is used in the line after that + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~`, $~ reference is overrided + accepts matching by =~` in method with $' before if + registers an offense for matching by =~` in class, `$'` is in method + accepts matching by =~` in a class method with $1 + corrects matching by =~` in class, `$`` is in method + accepts matching by =~` in method with $' + corrects matching by =~` in method definition + corrects matching by =~` in if condition + registers an offense for matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with Regexp.last_match + corrects matching by =~` in class method, `$&` is in other method + corrects matching by =~` in class, `$'` is in method + registers an offense for matching by =~`, $1 reference is overrided + corrects matching by =~`, Regexp.last_match(1) reference is overrided accepts matching by =~` in method with $` in block + registers an offense for matching by =~` in class, `$2` is in method + accepts matching by =~` in method with $' in block + registers an offense for matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in elsif condition + registers an offense for matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $MATCH in block + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $100 in block + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in method before `$2` + corrects matching by =~` in module, `$'` is in method + corrects matching by =~` in class method, `$2` is in other method + corrects matching by =~` in method before `$1` + corrects matching by =~` in elsif condition + behaves like all legacy match methods + corrects matching by =~` in class, `$1` is in method + corrects matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in method, `$100` is in other method + corrects matching by =~` in module, `$2` is in method corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in method before `$MATCH` + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in class method, `$`` is in other method + accepts matching by =~` in method with $2 in block + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in unless condition + corrects matching by =~` in class, `$100` is in method + corrects matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in guard condition with $` is used in the line after that + registers an offense for matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + accepts matching by =~` in method with $2 + corrects matching by =~` in method, `$2` is in other method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in module, `$'` is in method + accepts matching by =~` in method with $` before unless registers an offense for matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in method with $~ before unless - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - accepts matching by =~` in guard condition with $100 is used in the line after that - corrects matching by =~` in module, `$1` is in method - registers an offense for matching by =~` in method before `$100` + accepts matching by =~` in guard condition with $~ is used in the line after that + accepts matching by =~` in guard condition with $2 is used in the line after that + registers an offense for matching by =~` in method before `$MATCH` corrects matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in ternary operator - corrects matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in module, `$~` is in method - accepts matching by =~` in a class method with $~ + corrects matching by =~` in elsif condition + registers an offense for matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in if guard condition with $1 is used in another method corrects matching by =~` in unless condition - registers an offense for matching by =~` in class, `$MATCH` is in method - registers an offense for matching by =~` in module, `$`` is in method - registers an offense for matching by =~` in method, `$`` is in other method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~` in case condition + corrects matching by =~`, $~ reference is overrided + registers an offense for matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in unless condition + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in method, `$`` is in other method + accepts matching by =~` in method with Regexp.last_match before unless + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $1 in block + corrects matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in method before `$`` + registers an offense for matching by =~` in elsif condition + accepts matching by =~` in method with $' before if registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in if guard condition with $& is used in another method - registers an offense for matching by =~` in if guard condition with $& is used in another method - corrects matching by =~` in module, `$2` is in method + accepts matching by =~` in a class method with $~ + corrects matching by =~` in unless condition + accepts matching by =~` in a class method with Regexp.last_match + corrects matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~`, $2 reference is overrided + registers an offense for matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in class method, `$~` is in other method + corrects matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + accepts matching by =~` in method with $100 + corrects matching by =~` in module, `Regexp.last_match` is in method corrects matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~`, $' reference is overrided + accepts matching by =~` in method with $1 before unless + accepts matching by =~` in method with $1 before if + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~` in module, `$'` is in method + accepts matching by =~` in method with $` in block + registers an offense for matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in method, `$1` is in other method + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $` before if accepts matching by =~` in a class method with $MATCH - accepts matching by =~` in method with $& in block - behaves like all legacy match methods - corrects matching by =~`, $& reference is overrided - registers an offense for matching by =~` in class method, `$100` is in other method - corrects matching by =~` in class, `$&` is in method - corrects matching by =~` in class method, `$`` is in other method - corrects matching by =~` in method definition - corrects matching by =~` in elsif condition - corrects matching by =~` in module, `$'` is in method - corrects matching by =~` in method before `$100` - registers an offense for matching by =~`, $& reference is overrided - registers an offense for matching by =~` in method before `$1` - registers an offense for matching by =~` in method before `$'` + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by =~` in method with $& before if + registers an offense for matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in module, `$&` is in method accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - registers an offense for matching by =~` in ternary operator + accepts matching by =~` in method with Regexp.last_match(1) + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~`, $MATCH reference is overrided + accepts matching by =~` in a class method with $' + registers an offense for matching by =~`, $100 reference is overrided + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in class method, `$'` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that registers an offense for matching by =~`, $` reference is overrided - registers an offense for matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in a class method with Regexp.last_match(1) - registers an offense for matching by =~` in method definition - corrects matching by =~`, $' reference is overrided - accepts matching by =~` in method with $100 in block + corrects matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in if guard condition with $2 is used in another method + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in module, `$1` is in method registers an offense for matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $2 in block - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - corrects matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in method with Regexp.last_match(1) before if - corrects matching by =~` in module, `$2` is in method - corrects matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in method with $& - registers an offense for matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in ternary operator + registers an offense for matching by =~` in module, `Regexp.last_match` is in method accepts matching by =~` in method with Regexp.last_match before if - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in module, `$`` is in method + corrects matching by =~` in method before `Regexp.last_match(1)` + corrects matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in method before `$100` accepts matching by =~` in a class method with $1 + registers an offense for matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in if condition + registers an offense for matching by =~`, $~ reference is overrided accepts matching by =~` in method with Regexp.last_match(1) in block + registers an offense for matching by =~` in if condition + accepts matching by =~` in method with $2 before if + accepts matching by =~` in guard condition with $' is used in the line after that + accepts matching by =~` in method with $' + corrects matching by =~` in method before `$`` + corrects matching by =~` in module, `$1` is in method + corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in if guard condition with $' is used in another method + accepts matching by =~` in method with $2 before unless + accepts matching by =~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method, `$&` is in other method + accepts matching by =~` in a class method with $100 + corrects matching by =~` in if guard condition with $100 is used in another method + registers an offense for matching by =~` in class method, `$&` is in other method + accepts matching by =~` in method with $MATCH in block + corrects matching by =~` in if condition + accepts matching by =~` in method with $MATCH + accepts matching by =~` in method with $' in block + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + corrects matching by =~` in class method, `$1` is in other method corrects matching by =~` in module, `$~` is in method - corrects matching by =~` in method, `$~` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in class method, `$&` is in other method - registers an offense for matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - registers an offense for matching by =~` in class, `$100` is in method - corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in method before `$MATCH` + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class method, `$1` is in other method registers an offense for matching by =~` in module, `$2` is in method - accepts matching by =~` in method with $& in block - accepts matching by =~` in method with $100 before if - accepts matching by =~` in method with $2 - registers an offense for matching by =~`, $2 reference is overrided - accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in a class method with $2 + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in class method, `$MATCH` is in other method + accepts matching by =~` in method with $& before unless + corrects matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method before `$~` + accepts matching by =~` in a class method with $& + accepts matching by =~` in method with $MATCH before unless accepts matching by =~` in method with Regexp.last_match in block - accepts matching by =~` in guard condition with $2 is used in the line after that + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in if condition registers an offense for matching by =~` in method before `$2` - registers an offense for matching by =~` in module, `$&` is in method - accepts matching by =~` in method with $~ + corrects matching by =~` in module, `$`` is in method + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in method with $100 in block + registers an offense for matching by =~` in class, `$'` is in method + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with $1 + accepts matching by =~` in method with $MATCH before if + corrects matching by =~` in case condition + accepts matching by =~` in a class method with $` + accepts matching by =~` in guard condition with $100 is used in the line after that + accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in method with $& registers an offense for matching by =~` in class, `$2` is in method - corrects matching by =~` in method, `$&` is in other method + accepts matching by =~` in method with $~ before if + accepts matching by =~` in method with $~ before unless + registers an offense for matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in method with $` + registers an offense for matching by =~` in case condition + accepts matching by =~` in method with $100 before unless + registers an offense for matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in class, `$`` is in method + accepts matching by =~` in method with $100 before if + registers an offense for matching by =~` in method definition + corrects matching by =~` in method before `$~` + corrects matching by =~` in method, `$1` is in other method + registers an offense for matching by =~`, $' reference is overrided + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in method before `$1` + registers an offense for matching by =~` in module, `$~` is in method + corrects matching by =~` in method definition corrects matching by =~` in method before `$&` - accepts matching by =~` in method with $' in block - corrects matching by =~` in ternary operator - corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method - accepts matching by =~` in method with $' before unless - corrects matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in a class method with $2 - corrects matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $2 before unless - accepts matching by =~` in method with $1 in block - corrects matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in module, `$&` is in method corrects matching by =~`, $100 reference is overrided - corrects matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in class, `$'` is in method corrects matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in class, `$1` is in method - registers an offense for matching by =~` in if condition - accepts matching by =~` in method with $1 before unless - registers an offense for matching by =~`, $~ reference is overrided + accepts matching by =~` in method with $& in block + registers an offense for matching by =~`, $& reference is overrided + corrects matching by =~` in method before `$1` + registers an offense for matching by =~` in method before `$'` + corrects matching by =~` in class, `$~` is in method + accepts matching by =~` in method with $~ + corrects matching by =~` in method before `$'` + accepts matching by =~` in method with $' before unless registers an offense for matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in method with Regexp.last_match(1) before unless - registers an offense for matching by =~` in method before `$100` - accepts matching by =~` in a class method with $& - accepts matching by =~` in a class method with $MATCH - corrects matching by =~` in if condition - registers an offense for matching by =~` in method, `$2` is in other method - corrects matching by =~` in method, `$100` is in other method - registers an offense for matching by =~` in module, `$`` is in method - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in method with Regexp.last_match + corrects matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in method, `$~` is in other method + corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match` registers an offense for matching by =~`, $MATCH reference is overrided + corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in method before `$2` + corrects matching by =~` in class method, `$&` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in ternary operator + registers an offense for matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in class, `$&` is in method + corrects matching by =~` in class method, `$2` is in other method + corrects matching by =~` in method before `$100` + corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in method, `$~` is in other method + corrects matching by =~`, $' reference is overrided + behaves like all legacy match methods + registers an offense for String#match method call in method before `Regexp.last_match` + corrects String#match method call in module, `$MATCH` is in method + registers an offense for String#match method call in method, `$~` is in other method + accepts String#match method call in a class method with $` + registers an offense for String#match method call in if guard condition with $1 is used in another method + accepts String#match method call in a class method with $~ + registers an offense for String#match method call in class, `$`` is in method + accepts String#match method call in method with $2 + corrects String#match method call in if condition + accepts String#match method call in method with Regexp.last_match in block + accepts String#match method call in guard condition with $100 is used in the line after that + registers an offense for String#match method call in method, `$`` is in other method + corrects String#match method call in class, `Regexp.last_match` is in method + registers an offense for String#match method call in module, `$2` is in method + corrects String#match method call in if guard condition with Regexp.last_match is used in another method + registers an offense for String#match method call in class, `Regexp.last_match` is in method + registers an offense for String#match method call in class method, `$MATCH` is in other method + registers an offense for String#match method call in if guard condition with $MATCH is used in another method + corrects String#match method call in elsif condition + registers an offense for String#match method call in if condition + corrects String#match method call, Regexp.last_match reference is overrided + registers an offense for String#match method call in module, `Regexp.last_match` is in method + registers an offense for String#match method call in class method, `$'` is in other method + registers an offense for String#match method call in module, `$MATCH` is in method + corrects String#match method call in module, `$1` is in method + accepts String#match method call in a class method with $' + corrects String#match method call, $MATCH reference is overrided + accepts String#match method call in guard condition with $~ is used in the line after that + registers an offense for String#match method call in method, `$'` is in other method + registers an offense for String#match method call in case condition + registers an offense for String#match method call in class, `$100` is in method + registers an offense for String#match method call in method before `$`` + accepts String#match method call in method with $~ before unless + registers an offense for String#match method call in method before `Regexp.last_match(1)` + registers an offense for String#match method call in method before `$~` + registers an offense for String#match method call in class, `Regexp.last_match(1)` is in method + corrects String#match method call in method before `$`` + corrects String#match method call, Regexp.last_match(1) reference is overrided + accepts String#match method call in method with Regexp.last_match(1) in block + corrects String#match method call in class method, `$&` is in other method + accepts String#match method call in a class method with $2 + accepts String#match method call in method with Regexp.last_match(1) before if + registers an offense for String#match method call in elsif condition + accepts String#match method call in method with $' before if + corrects String#match method call in class method, `$`` is in other method + corrects String#match method call in method before `$&` + corrects String#match method call in method before `$2` + corrects String#match method call, $~ reference is overrided + accepts String#match method call in method with $100 before if + accepts String#match method call in guard condition with $' is used in the line after that + accepts String#match method call in method with $` before if + registers an offense for String#match method call in class method, `$`` is in other method + registers an offense for String#match method call in if guard condition with $~ is used in another method + corrects String#match method call in method, `Regexp.last_match` is in other method + registers an offense for String#match method call, $` reference is overrided + corrects String#match method call in class method, `Regexp.last_match` is in other method + registers an offense for String#match method call in if guard condition with $' is used in another method + accepts String#match method call in method with $100 in block + accepts String#match method call in guard condition with $1 is used in the line after that + corrects String#match method call in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for String#match method call, $& reference is overrided + corrects String#match method call in class, `$~` is in method + accepts String#match method call in method with $` in block + registers an offense for String#match method call in module, `$'` is in method + registers an offense for String#match method call in method before `$2` + corrects String#match method call in module, `$~` is in method + corrects String#match method call in if guard condition with $~ is used in another method + registers an offense for String#match method call in class, `$1` is in method + accepts String#match method call in method with $1 before if + accepts String#match method call in a class method with Regexp.last_match + accepts String#match method call in method with $2 in block + corrects String#match method call in if condition + corrects String#match method call in case condition + registers an offense for String#match method call in method before `$1` + corrects String#match method call in class method, `$1` is in other method + corrects String#match method call in method before `$~` + corrects String#match method call in module, `$2` is in method + corrects String#match method call, $& reference is overrided + registers an offense for String#match method call in class method, `$2` is in other method + registers an offense for String#match method call in if guard condition with $& is used in another method + corrects String#match method call in class, `$`` is in method + registers an offense for String#match method call in class, `$'` is in method + registers an offense for String#match method call in method definition + registers an offense for String#match method call in method, `$MATCH` is in other method + corrects String#match method call in class, `$1` is in method + accepts String#match method call in method with Regexp.last_match(1) + accepts String#match method call in method with Regexp.last_match + corrects String#match method call in method before `$'` + registers an offense for String#match method call in class, `$&` is in method + accepts String#match method call in a class method with $MATCH + corrects String#match method call in method, `$1` is in other method + accepts String#match method call in guard condition with $2 is used in the line after that + corrects String#match method call in class method, `Regexp.last_match(1)` is in other method + corrects String#match method call in method, `Regexp.last_match(1)` is in other method + registers an offense for String#match method call in if guard condition with $100 is used in another method + corrects String#match method call in if guard condition with $& is used in another method + registers an offense for String#match method call in class method, `Regexp.last_match` is in other method + corrects String#match method call, $2 reference is overrided + corrects String#match method call in if guard condition with $2 is used in another method + corrects String#match method call in method, `$'` is in other method + accepts String#match method call in method with $1 before unless + registers an offense for String#match method call in module, `$1` is in method + accepts String#match method call in method with $MATCH before unless + registers an offense for String#match method call, $1 reference is overrided + registers an offense for String#match method call in if guard condition with $2 is used in another method + corrects String#match method call in if guard condition with $` is used in another method + registers an offense for String#match method call, $' reference is overrided + corrects String#match method call in class method, `$100` is in other method + registers an offense for String#match method call in ternary operator + corrects String#match method call, $' reference is overrided + registers an offense for String#match method call in method, `$100` is in other method + accepts String#match method call in method with $' in block + registers an offense for String#match method call in unless condition + corrects String#match method call in method, `$~` is in other method + registers an offense for String#match method call, $100 reference is overrided + corrects String#match method call in if guard condition with $100 is used in another method + registers an offense for String#match method call in module, `Regexp.last_match(1)` is in method + registers an offense for String#match method call in module, `$~` is in method + accepts String#match method call in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for String#match method call, $2 reference is overrided + corrects String#match method call in method, `$&` is in other method + corrects String#match method call in module, `$'` is in method + corrects String#match method call in ternary operator + corrects String#match method call in if guard condition with $MATCH is used in another method + corrects String#match method call in module, `$`` is in method + accepts String#match method call in method with $~ before if + corrects String#match method call, $1 reference is overrided + registers an offense for String#match method call in method, `Regexp.last_match` is in other method + registers an offense for String#match method call in module, `$100` is in method + accepts String#match method call in method with $100 before unless + accepts String#match method call in method with $& in block + corrects String#match method call in class method, `$~` is in other method + registers an offense for String#match method call in method before `$&` + accepts String#match method call in method with $~ + registers an offense for String#match method call in class method, `$&` is in other method + accepts String#match method call in method with $100 + corrects String#match method call in class, `Regexp.last_match(1)` is in method + registers an offense for String#match method call in method, `$2` is in other method + accepts String#match method call in method with $` before unless + accepts String#match method call in method with $MATCH before if + registers an offense for String#match method call in method, `Regexp.last_match(1)` is in other method + accepts String#match method call in guard condition with Regexp.last_match is used in the line after that + accepts String#match method call in method with $& before if + corrects String#match method call in method, `$MATCH` is in other method + corrects String#match method call in unless condition + accepts String#match method call in guard condition with $` is used in the line after that + corrects String#match method call in class, `$MATCH` is in method + corrects String#match method call in method, `$100` is in other method + accepts String#match method call in method with $& before unless + registers an offense for String#match method call in if guard condition with Regexp.last_match is used in another method + corrects String#match method call in class, `$'` is in method + registers an offense for String#match method call in unless condition + registers an offense for String#match method call, $~ reference is overrided + registers an offense for String#match method call in class, `$2` is in method + registers an offense for String#match method call in module, `$`` is in method + registers an offense for String#match method call in method before `$100` + accepts String#match method call in method with Regexp.last_match before if + registers an offense for String#match method call, Regexp.last_match(1) reference is overrided + accepts String#match method call in method with $MATCH + accepts String#match method call in a class method with Regexp.last_match(1) + registers an offense for String#match method call in class method, `$~` is in other method + accepts String#match method call in method with $' before unless + corrects String#match method call in method before `$100` + corrects String#match method call, $100 reference is overrided + registers an offense for String#match method call in if guard condition with Regexp.last_match(1) is used in another method + accepts String#match method call in method with $` + accepts String#match method call in a class method with $& + accepts String#match method call in method with $1 in block + corrects String#match method call in method, `$`` is in other method + corrects String#match method call in module, `$100` is in method + corrects String#match method call in method before `$MATCH` + accepts String#match method call in method with $MATCH in block + accepts String#match method call in guard condition with $MATCH is used in the line after that + registers an offense for String#match method call in class method, `$1` is in other method + accepts String#match method call in a class method with $100 + registers an offense for String#match method call in module, `$&` is in method + accepts String#match method call in method with Regexp.last_match before unless + accepts String#match method call in method with Regexp.last_match(1) before unless + accepts String#match method call in method with $2 before if + registers an offense for String#match method call in class method, `Regexp.last_match(1)` is in other method + corrects String#match method call in method before `$1` + accepts String#match method call in guard condition with $& is used in the line after that + registers an offense for String#match method call in class method, `$100` is in other method + registers an offense for String#match method call in if condition + accepts String#match method call in method with $2 before unless + accepts String#match method call in method with $1 + corrects String#match method call in class, `$2` is in method + registers an offense for String#match method call in class, `$~` is in method + registers an offense for String#match method call in if guard condition with $` is used in another method + registers an offense for String#match method call, $MATCH reference is overrided + corrects String#match method call in method, `$2` is in other method + corrects String#match method call in method before `Regexp.last_match(1)` + corrects String#match method call in module, `Regexp.last_match(1)` is in method + registers an offense for String#match method call in method, `$1` is in other method + registers an offense for String#match method call in method, `$&` is in other method + corrects String#match method call in if guard condition with $' is used in another method + corrects String#match method call in class method, `$MATCH` is in other method + corrects String#match method call in module, `Regexp.last_match` is in method + registers an offense for String#match method call in method before `$'` + corrects String#match method call in unless condition + accepts String#match method call in method with $~ in block + corrects String#match method call in module, `$&` is in method + corrects String#match method call in class method, `$'` is in other method + registers an offense for String#match method call, Regexp.last_match reference is overrided + accepts String#match method call in method with $& + corrects String#match method call in if guard condition with $1 is used in another method + corrects String#match method call in class, `$&` is in method + corrects String#match method call in method before `Regexp.last_match` + accepts String#match method call in method with $' + registers an offense for String#match method call in class, `$MATCH` is in method + corrects String#match method call in method definition + accepts String#match method call in a class method with $1 + corrects String#match method call in class method, `$2` is in other method + registers an offense for String#match method call in method before `$MATCH` + corrects String#match method call, $` reference is overrided + corrects String#match method call in class, `$100` is in method + behaves like all legacy match methods registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in class method, `$2` is in other method - accepts matching by =~` in a class method with $~ - registers an offense for matching by =~` in method before `$~` - accepts matching by =~` in guard condition with $' is used in the line after that - corrects matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in module, `$100` is in method - registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in module, `$1` is in method + corrects matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~` in class method, `$2` is in other method + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided corrects matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in method before `$`` + registers an offense for matching by =~` in method before `$1` registers an offense for matching by =~` in method, `$1` is in other method - registers an offense for matching by =~` in class method, `$~` is in other method - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for matching by =~` in method before `$&` - corrects matching by =~` in class, `$'` is in method - accepts matching by =~` in a class method with $' - accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in unless condition - corrects matching by =~` in class method, `$100` is in other method - corrects matching by =~` in module, `$&` is in method - corrects matching by =~`, $MATCH reference is overrided - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - corrects matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in method with $~ before unless - corrects matching by =~`, $1 reference is overrided - registers an offense for matching by =~`, $1 reference is overrided - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in if condition - corrects matching by =~` in if guard condition with $~ is used in another method - accepts matching by =~` in a class method with Regexp.last_match - accepts matching by =~` in method with $MATCH + accepts matching by =~` in method with $& before if registers an offense for matching by =~` in class, `$~` is in method - accepts matching by =~` in method with $` - registers an offense for matching by =~` in class, `$`` is in method - corrects matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in method, `$&` is in other method - accepts matching by =~` in guard condition with $MATCH is used in the line after that - accepts matching by =~` in method with $100 - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in if guard condition with $MATCH is used in another method - accepts matching by =~` in a class method with $` - corrects matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~` in method, `$100` is in other method - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in class method, `$1` is in other method - accepts matching by =~` in method with $MATCH in block - accepts matching by =~` in method with $` before unless - accepts matching by =~` in method with $' before if - corrects matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in method with Regexp.last_match(1) + registers an offense for matching by =~` in module, `$MATCH` is in method + registers an offense for matching by =~` in case condition + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method corrects matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in class method, `$`` is in other method - corrects matching by =~` in if guard condition with $2 is used in another method corrects matching by =~`, $` reference is overrided + corrects matching by =~` in class, `Regexp.last_match` is in method + accepts matching by =~` in method with $100 registers an offense for matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - accepts matching by =~` in method with $2 before if - corrects matching by =~` in method before `$1` - accepts matching by =~` in method with $~ in block - registers an offense for matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in method, `$MATCH` is in other method - accepts matching by =~` in method with $` before if - corrects matching by =~` in class method, `$~` is in other method - corrects matching by =~` in method before `$`` - accepts matching by =~` in method with $` in block - accepts matching by =~` in method with $1 + accepts matching by =~` in method with $& in block + corrects matching by =~` in class, `$2` is in method + registers an offense for matching by =~` in class, `$2` is in method + corrects matching by =~` in if guard condition with $& is used in another method + corrects matching by =~` in method, `$2` is in other method + corrects matching by =~` in class, `$&` is in method + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $' before unless + registers an offense for matching by =~` in method, `$&` is in other method + accepts matching by =~` in method with $& before unless + corrects matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in a class method with $2 registers an offense for matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in module, `$2` is in method registers an offense for matching by =~` in if guard condition with $~ is used in another method - registers an offense for matching by =~` in method before `$MATCH` - corrects matching by =~` in unless condition + registers an offense for matching by =~` in class, `$'` is in method registers an offense for matching by =~` in method before `Regexp.last_match` - corrects matching by =~` in method, `$2` is in other method - registers an offense for matching by =~` in method before `$`` - registers an offense for matching by =~` in class, `$MATCH` is in method - corrects matching by =~` in module, `Regexp.last_match` is in method - accepts matching by =~` in method with $& before if - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in if guard condition with Regexp.last_match is used in another method - corrects matching by =~`, $~ reference is overrided - corrects matching by =~` in case condition - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in method before `$2` - registers an offense for matching by =~` in module, `$1` is in method + corrects matching by =~` in unless condition + registers an offense for matching by =~` in class, `$1` is in method registers an offense for matching by =~` in class, `Regexp.last_match` is in method - registers an offense for matching by =~` in module, `$~` is in method - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in guard condition with $100 is used in the line after that - registers an offense for matching by =~` in class, `$&` is in method - accepts matching by =~` in method with Regexp.last_match(1) + registers an offense for matching by =~`, $~ reference is overrided registers an offense for matching by =~` in class method, `$&` is in other method - corrects matching by =~` in method before `$'` + corrects matching by =~` in class method, `$'` is in other method + accepts matching by =~` in method with $& + corrects matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with $2 in block + registers an offense for matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in method with $1 before if + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~` in unless condition + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in method, `$100` is in other method + accepts matching by =~` in method with $~ + registers an offense for matching by =~` in module, `$'` is in method + corrects matching by =~` in method before `$&` + accepts matching by =~` in method with $` + corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `$1` is in other method + registers an offense for matching by =~` in method, `$2` is in other method + registers an offense for matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in if guard condition with $' is used in another method + corrects matching by =~` in class method, `$`` is in other method + accepts matching by =~` in guard condition with $& is used in the line after that + accepts matching by =~` in a class method with $~ + registers an offense for matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in class, `$100` is in method + accepts matching by =~` in method with Regexp.last_match before if + accepts matching by =~` in method with $` before if + registers an offense for matching by =~` in module, `$100` is in method + accepts matching by =~` in method with $` in block + corrects matching by =~` in elsif condition + accepts matching by =~` in method with $100 before unless + registers an offense for matching by =~` in class, `$&` is in method + accepts matching by =~` in method with $' + accepts matching by =~` in method with $1 + registers an offense for matching by =~`, $' reference is overrided + accepts matching by =~` in method with Regexp.last_match before unless + accepts matching by =~` in method with $MATCH in block + registers an offense for matching by =~` in method before `$2` + accepts matching by =~` in method with $~ before unless + accepts matching by =~` in a class method with $MATCH + registers an offense for matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in if condition + corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~`, $2 reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in method before `$~` + accepts matching by =~` in a class method with Regexp.last_match + registers an offense for matching by =~` in elsif condition + accepts matching by =~` in a class method with $100 + registers an offense for matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in method definition + accepts matching by =~` in method with $` before unless + corrects matching by =~` in method, `$&` is in other method corrects matching by =~` in class, `$`` is in method - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in method before `$~` - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in class method, `$~` is in other method + accepts matching by =~` in method with $MATCH before unless + accepts matching by =~` in method with $~ in block + accepts matching by =~` in method with $' in block corrects matching by =~` in module, `$MATCH` is in method + accepts matching by =~` in method with $MATCH + accepts matching by =~` in method with $2 before unless + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in guard condition with $2 is used in the line after that accepts matching by =~` in method with Regexp.last_match + accepts matching by =~` in a class method with $` + corrects matching by =~` in method before `$2` registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in class method, `$'` is in other method - registers an offense for matching by =~`, $' reference is overrided - corrects matching by =~` in class method, `$1` is in other method - accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in guard condition with $& is used in the line after that - accepts matching by =~` in method with $MATCH before if - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - corrects matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in method with Regexp.last_match before unless - accepts matching by =~` in method with $~ before if - corrects matching by =~` in method before `$MATCH` + corrects matching by =~` in method before `$100` + corrects matching by =~`, $& reference is overrided corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in method with $' before if + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~`, $& reference is overrided + corrects matching by =~` in case condition + corrects matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in method with $1 in block + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in method with $100 in block + registers an offense for matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in a class method with $' + corrects matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in class method, `$`` is in other method + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + corrects matching by =~`, $' reference is overrided + accepts matching by =~` in guard condition with $' is used in the line after that + corrects matching by =~` in class method, `$&` is in other method + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + corrects matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in method before `$100` + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in class, `$'` is in method corrects matching by =~` in if condition + corrects matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with Regexp.last_match(1) before if + corrects matching by =~` in module, `$2` is in method + accepts matching by =~` in method with Regexp.last_match(1) in block + corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in module, `$100` is in method + registers an offense for matching by =~`, $1 reference is overrided + accepts matching by =~` in guard condition with $100 is used in the line after that + accepts matching by =~` in a class method with $1 + registers an offense for matching by =~` in module, `$~` is in method + corrects matching by =~` in method definition + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $2 before if + corrects matching by =~` in class, `$1` is in method + corrects matching by =~` in class, `$MATCH` is in method + accepts matching by =~` in guard condition with $` is used in the line after that + registers an offense for matching by =~` in class method, `$'` is in other method + accepts matching by =~` in a class method with $& + accepts matching by =~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by =~` in method before `$'` + registers an offense for matching by =~` in method before `$`` + accepts matching by =~` in method with $1 before unless corrects matching by =~` in module, `$`` is in method + corrects matching by =~`, $1 reference is overrided + corrects matching by =~`, $2 reference is overrided + corrects matching by =~` in module, `$&` is in method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with Regexp.last_match in block + corrects matching by =~` in method before `$~` + corrects matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~`, $` reference is overrided + accepts matching by =~` in method with $~ before if corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in method, `$1` is in other method corrects matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in method with $1 before if - registers an offense for matching by =~` in elsif condition - accepts matching by =~` in method with $& before unless - corrects matching by =~` in if guard condition with $' is used in another method - registers an offense for matching by =~` in module, `$MATCH` is in method - accepts matching by =~` in a class method with $100 + registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + corrects matching by =~`, $100 reference is overrided + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in method before `$1` + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + registers an offense for matching by =~` in module, `$&` is in method + accepts matching by =~` in method with $100 before if + corrects matching by =~` in if condition + accepts matching by =~` in a class method with Regexp.last_match(1) + accepts matching by =~` in method with $MATCH before if + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in ternary operator + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in method before `$'` + registers an offense for matching by =~` in class, `$`` is in method + accepts matching by =~` in method with $2 + registers an offense for matching by =~` in method before `$&` + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in class method, `Regexp.last_match` is in other method registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - accepts matching by =~` in method with $' - registers an offense for matching by =~` in class, `$'` is in method - behaves like all legacy match methods - registers an offense for match method call for a variable with position in module, `$1` is in method - corrects match method call for a variable with position in class method, `$'` is in other method - registers an offense for match method call for a variable with position in elsif condition - corrects match method call for a variable with position in method before `$2` - registers an offense for match method call for a variable with position in case condition - registers an offense for match method call for a variable with position, $& reference is overrided - corrects match method call for a variable with position in method, `$&` is in other method - corrects match method call for a variable with position in class, `Regexp.last_match(1)` is in method - corrects match method call for a variable with position, $2 reference is overrided - corrects match method call for a variable with position, $1 reference is overrided - corrects match method call for a variable with position in method before `$100` - registers an offense for match method call for a variable with position in method before `$~` - corrects match method call for a variable with position in module, `$1` is in method - registers an offense for match method call for a variable with position in module, `$`` is in method - corrects match method call for a variable with position in if guard condition with $' is used in another method - corrects match method call for a variable with position in method, `$'` is in other method - corrects match method call for a variable with position in class, `$2` is in method - registers an offense for match method call for a variable with position, $~ reference is overrided - registers an offense for match method call for a variable with position, $` reference is overrided - registers an offense for match method call for a variable with position in method before `$MATCH` - registers an offense for match method call for a variable with position in class method, `$100` is in other method - accepts match method call for a variable with position in method with $~ before if - corrects match method call for a variable with position in case condition - corrects match method call for a variable with position, $MATCH reference is overrided - corrects match method call for a variable with position in method definition - registers an offense for match method call for a variable with position in method, `$'` is in other method - registers an offense for match method call for a variable with position, Regexp.last_match reference is overrided - corrects match method call for a variable with position in method, `$`` is in other method - corrects match method call for a variable with position in if guard condition with $100 is used in another method - accepts match method call for a variable with position in guard condition with $MATCH is used in the line after that - corrects match method call for a variable with position in class, `$100` is in method - registers an offense for match method call for a variable with position in class, `Regexp.last_match(1)` is in method - corrects match method call for a variable with position in method before `$1` - accepts match method call for a variable with position in a class method with Regexp.last_match - corrects match method call for a variable with position in module, `$100` is in method - registers an offense for match method call for a variable with position in method, `$2` is in other method - corrects match method call for a variable with position in class method, `$1` is in other method - registers an offense for match method call for a variable with position, $MATCH reference is overrided - registers an offense for match method call for a variable with position in class, `$100` is in method - corrects match method call for a variable with position in class method, `Regexp.last_match` is in other method - corrects match method call for a variable with position in class, `$'` is in method - registers an offense for match method call for a variable with position in method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable with position in method before `$`` - registers an offense for match method call for a variable with position in module, `$100` is in method - registers an offense for match method call for a variable with position in if guard condition with $1 is used in another method - corrects match method call for a variable with position in method, `$100` is in other method - corrects match method call for a variable with position in module, `Regexp.last_match` is in method - registers an offense for match method call for a variable with position in method before `$'` - registers an offense for match method call for a variable with position in method, `Regexp.last_match(1)` is in other method - corrects match method call for a variable with position in module, `$&` is in method - registers an offense for match method call for a variable with position in ternary operator - registers an offense for match method call for a variable with position in class, `$2` is in method - registers an offense for match method call for a variable with position in method before `Regexp.last_match(1)` - corrects match method call for a variable with position in class method, `$`` is in other method - corrects match method call for a variable with position in method, `$1` is in other method - corrects match method call for a variable with position in if condition - accepts match method call for a variable with position in method with $MATCH - accepts match method call for a variable with position in method with Regexp.last_match in block - accepts match method call for a variable with position in a class method with $` - accepts match method call for a variable with position in guard condition with $' is used in the line after that - corrects match method call for a variable with position in class, `$1` is in method - accepts match method call for a variable with position in a class method with $& - corrects match method call for a variable with position in if guard condition with $& is used in another method - registers an offense for match method call for a variable with position in module, `$2` is in method - accepts match method call for a variable with position in method with $MATCH before unless - accepts match method call for a variable with position in method with Regexp.last_match(1) before unless - accepts match method call for a variable with position in method with Regexp.last_match(1) before if - corrects match method call for a variable with position in class, `$`` is in method - corrects match method call for a variable with position in class method, `$2` is in other method - corrects match method call for a variable with position in method, `$MATCH` is in other method - corrects match method call for a variable with position in class method, `$100` is in other method - accepts match method call for a variable with position in method with Regexp.last_match before unless - corrects match method call for a variable with position in class method, `$MATCH` is in other method - registers an offense for match method call for a variable with position, Regexp.last_match(1) reference is overrided - accepts match method call for a variable with position in method with $2 in block - registers an offense for match method call for a variable with position in method, `$100` is in other method - corrects match method call for a variable with position in class method, `Regexp.last_match(1)` is in other method - corrects match method call for a variable with position in method before `$MATCH` - accepts match method call for a variable with position in method with $` - accepts match method call for a variable with position in method with $100 - registers an offense for match method call for a variable with position in if condition - accepts match method call for a variable with position in method with $' before unless - accepts match method call for a variable with position in guard condition with Regexp.last_match is used in the line after that - accepts match method call for a variable with position in a class method with $100 - corrects match method call for a variable with position in elsif condition - accepts match method call for a variable with position in method with $` in block - registers an offense for match method call for a variable with position, $1 reference is overrided - accepts match method call for a variable with position in a class method with $~ - accepts match method call for a variable with position in method with $2 before unless - accepts match method call for a variable with position in method with Regexp.last_match - registers an offense for match method call for a variable with position in class method, `$'` is in other method - registers an offense for match method call for a variable with position in method before `Regexp.last_match` - registers an offense for match method call for a variable with position in if condition - corrects match method call for a variable with position in class, `$MATCH` is in method - registers an offense for match method call for a variable with position in class method, `Regexp.last_match(1)` is in other method - corrects match method call for a variable with position, $' reference is overrided - corrects match method call for a variable with position in class, `$&` is in method - registers an offense for match method call for a variable with position in module, `$~` is in method - registers an offense for match method call for a variable with position in module, `$&` is in method - corrects match method call for a variable with position in class method, `$~` is in other method - registers an offense for match method call for a variable with position in class, `$'` is in method - accepts match method call for a variable with position in method with Regexp.last_match(1) in block - registers an offense for match method call for a variable with position in if guard condition with $~ is used in another method - accepts match method call for a variable with position in guard condition with $100 is used in the line after that - corrects match method call for a variable with position in unless condition - registers an offense for match method call for a variable with position in if guard condition with $& is used in another method - accepts match method call for a variable with position in a class method with $1 - accepts match method call for a variable with position in guard condition with $& is used in the line after that - accepts match method call for a variable with position in method with $& in block - registers an offense for match method call for a variable with position in module, `$'` is in method - corrects match method call for a variable with position in if guard condition with $MATCH is used in another method - registers an offense for match method call for a variable with position in class method, `Regexp.last_match` is in other method - corrects match method call for a variable with position, $` reference is overrided - registers an offense for match method call for a variable with position in class, `$`` is in method - accepts match method call for a variable with position in a class method with $MATCH - accepts match method call for a variable with position in method with $2 - corrects match method call for a variable with position in module, `$`` is in method - registers an offense for match method call for a variable with position in method, `$MATCH` is in other method - registers an offense for match method call for a variable with position in if guard condition with $` is used in another method - accepts match method call for a variable with position in method with $1 in block - registers an offense for match method call for a variable with position in if guard condition with $100 is used in another method - registers an offense for match method call for a variable with position in unless condition - accepts match method call for a variable with position in method with $& before if - accepts match method call for a variable with position in method with $100 before if - registers an offense for match method call for a variable with position in method, `$~` is in other method - accepts match method call for a variable with position in a class method with $' - accepts match method call for a variable with position in method with $1 before if - corrects match method call for a variable with position in if guard condition with $1 is used in another method - corrects match method call for a variable with position in module, `$2` is in method - corrects match method call for a variable with position in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for match method call for a variable with position in module, `Regexp.last_match` is in method - corrects match method call for a variable with position in if guard condition with $2 is used in another method - registers an offense for match method call for a variable with position in class, `$1` is in method - registers an offense for match method call for a variable with position in class method, `$`` is in other method - corrects match method call for a variable with position in method before `$~` - registers an offense for match method call for a variable with position in method, `$`` is in other method - registers an offense for match method call for a variable with position in if guard condition with $MATCH is used in another method - accepts match method call for a variable with position in method with Regexp.last_match(1) - registers an offense for match method call for a variable with position in class method, `$&` is in other method - registers an offense for match method call for a variable with position in if guard condition with Regexp.last_match(1) is used in another method - corrects match method call for a variable with position, Regexp.last_match(1) reference is overrided - accepts match method call for a variable with position in method with $MATCH before if - accepts match method call for a variable with position in method with $' before if - accepts match method call for a variable with position in method with $100 in block - registers an offense for match method call for a variable with position in if guard condition with Regexp.last_match is used in another method - accepts match method call for a variable with position in method with $~ - corrects match method call for a variable with position in module, `Regexp.last_match(1)` is in method - corrects match method call for a variable with position in module, `$'` is in method - registers an offense for match method call for a variable with position in class method, `$2` is in other method - accepts match method call for a variable with position in method with Regexp.last_match before if - corrects match method call for a variable with position in method, `$~` is in other method - accepts match method call for a variable with position in guard condition with $~ is used in the line after that - registers an offense for match method call for a variable with position, $2 reference is overrided - registers an offense for match method call for a variable with position in method before `$2` - accepts match method call for a variable with position in method with $~ in block - registers an offense for match method call for a variable with position in method before `$100` - accepts match method call for a variable with position in method with $2 before if - corrects match method call for a variable with position in method, `$2` is in other method - corrects match method call for a variable with position in method before `$&` - corrects match method call for a variable with position in module, `$~` is in method - corrects match method call for a variable with position in ternary operator - registers an offense for match method call for a variable with position in method definition - accepts match method call for a variable with position in guard condition with Regexp.last_match(1) is used in the line after that - corrects match method call for a variable with position in if guard condition with Regexp.last_match is used in another method - registers an offense for match method call for a variable with position in class method, `$MATCH` is in other method - registers an offense for match method call for a variable with position in unless condition - accepts match method call for a variable with position in method with $& - accepts match method call for a variable with position in method with $' - registers an offense for match method call for a variable with position in class, `$&` is in method - registers an offense for match method call for a variable with position in class method, `$1` is in other method - corrects match method call for a variable with position in method before `Regexp.last_match(1)` - registers an offense for match method call for a variable with position in class, `$MATCH` is in method - corrects match method call for a variable with position, $100 reference is overrided - accepts match method call for a variable with position in method with $100 before unless - accepts match method call for a variable with position in method with $` before unless - accepts match method call for a variable with position in method with $` before if - corrects match method call for a variable with position in class, `Regexp.last_match` is in method - accepts match method call for a variable with position in a class method with $2 - corrects match method call for a variable with position, $& reference is overrided - corrects match method call for a variable with position in method, `Regexp.last_match(1)` is in other method - accepts match method call for a variable with position in method with $MATCH in block - corrects match method call for a variable with position, Regexp.last_match reference is overrided - accepts match method call for a variable with position in method with $' in block - corrects match method call for a variable with position in unless condition - corrects match method call for a variable with position in method before `Regexp.last_match` - corrects match method call for a variable with position in if guard condition with $~ is used in another method - registers an offense for match method call for a variable with position in method before `$1` - accepts match method call for a variable with position in method with $~ before unless - corrects match method call for a variable with position in module, `$MATCH` is in method - corrects match method call for a variable with position in method before `$`` - accepts match method call for a variable with position in a class method with Regexp.last_match(1) - registers an offense for match method call for a variable with position in if guard condition with $2 is used in another method - accepts match method call for a variable with position in guard condition with $1 is used in the line after that - registers an offense for match method call for a variable with position in module, `$MATCH` is in method - registers an offense for match method call for a variable with position in method before `$&` - registers an offense for match method call for a variable with position in class, `Regexp.last_match` is in method - accepts match method call for a variable with position in guard condition with $` is used in the line after that - registers an offense for match method call for a variable with position in class, `$~` is in method - registers an offense for match method call for a variable with position in if guard condition with $' is used in another method - corrects match method call for a variable with position in class method, `$&` is in other method - registers an offense for match method call for a variable with position, $' reference is overrided - corrects match method call for a variable with position in if condition - registers an offense for match method call for a variable with position in method, `$&` is in other method - accepts match method call for a variable with position in method with $& before unless - corrects match method call for a variable with position, $~ reference is overrided - corrects match method call for a variable with position in method before `$'` - corrects match method call for a variable with position in method, `Regexp.last_match` is in other method - registers an offense for match method call for a variable with position in method, `$1` is in other method - accepts match method call for a variable with position in guard condition with $2 is used in the line after that - accepts match method call for a variable with position in method with $1 - corrects match method call for a variable with position in class, `$~` is in method - registers an offense for match method call for a variable with position in class method, `$~` is in other method - accepts match method call for a variable with position in method with $1 before unless - corrects match method call for a variable with position in if guard condition with $` is used in another method - registers an offense for match method call for a variable with position in module, `Regexp.last_match(1)` is in method - registers an offense for match method call for a variable with position, $100 reference is overrided + corrects matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in method before `Regexp.last_match` behaves like all legacy match methods - accepts String#match method call with position in method with Regexp.last_match(1) in block - registers an offense for String#match method call with position, Regexp.last_match(1) reference is overrided - registers an offense for String#match method call with position, $2 reference is overrided - accepts String#match method call with position in method with Regexp.last_match before unless - corrects String#match method call with position in class, `$2` is in method - registers an offense for String#match method call with position in ternary operator - corrects String#match method call with position in class, `$~` is in method - registers an offense for String#match method call with position, $100 reference is overrided - registers an offense for String#match method call with position in class method, `$&` is in other method - corrects String#match method call with position in if guard condition with $~ is used in another method - corrects String#match method call with position in method, `$~` is in other method - corrects String#match method call with position in class method, `$MATCH` is in other method - registers an offense for String#match method call with position, $& reference is overrided - registers an offense for String#match method call with position in module, `Regexp.last_match(1)` is in method - corrects String#match method call with position in module, `Regexp.last_match` is in method - registers an offense for String#match method call with position, $' reference is overrided - corrects String#match method call with position in if guard condition with $` is used in another method - accepts String#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for String#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - corrects String#match method call with position in if guard condition with $100 is used in another method - accepts String#match method call with position in method with $1 in block - corrects String#match method call with position in method before `$2` - corrects String#match method call with position in if guard condition with $MATCH is used in another method - registers an offense for String#match method call with position in class, `$`` is in method - registers an offense for String#match method call with position in if guard condition with $1 is used in another method - registers an offense for String#match method call with position in if guard condition with $& is used in another method + corrects String#match method call with position, $' reference is overrided accepts String#match method call with position in a class method with $MATCH - registers an offense for String#match method call with position in method, `$1` is in other method + accepts String#match method call with position in guard condition with $MATCH is used in the line after that + accepts String#match method call with position in guard condition with $100 is used in the line after that + registers an offense for String#match method call with position in class method, `$'` is in other method + registers an offense for String#match method call with position, $` reference is overrided + corrects String#match method call with position in module, `$&` is in method + accepts String#match method call with position in method with $` before unless + registers an offense for String#match method call with position in class, `$&` is in method + corrects String#match method call with position in module, `$~` is in method + corrects String#match method call with position in class method, `Regexp.last_match` is in other method + corrects String#match method call with position in class method, `$&` is in other method + corrects String#match method call with position, $` reference is overrided registers an offense for String#match method call with position in class, `$100` is in method - accepts String#match method call with position in method with $2 before if - corrects String#match method call with position in module, `$`` is in method + corrects String#match method call with position in if guard condition with $& is used in another method + registers an offense for String#match method call with position in module, `$2` is in method + registers an offense for String#match method call with position, Regexp.last_match reference is overrided + accepts String#match method call with position in a class method with $1 + registers an offense for String#match method call with position in if guard condition with $MATCH is used in another method registers an offense for String#match method call with position in class, `$~` is in method - corrects String#match method call with position in method, `$2` is in other method - accepts String#match method call with position in guard condition with $~ is used in the line after that - accepts String#match method call with position in method with $100 in block + registers an offense for String#match method call with position in method, `Regexp.last_match` is in other method accepts String#match method call with position in method with Regexp.last_match(1) before if - corrects String#match method call with position in if guard condition with Regexp.last_match is used in another method - accepts String#match method call with position in guard condition with $2 is used in the line after that - corrects String#match method call with position in class, `Regexp.last_match` is in method - corrects String#match method call with position in elsif condition - accepts String#match method call with position in method with Regexp.last_match - corrects String#match method call with position in module, `$&` is in method - registers an offense for String#match method call with position, $` reference is overrided - corrects String#match method call with position in class, `Regexp.last_match(1)` is in method - registers an offense for String#match method call with position in class, `$'` is in method - corrects String#match method call with position in class, `$MATCH` is in method - corrects String#match method call with position in method before `Regexp.last_match` - corrects String#match method call with position in unless condition - accepts String#match method call with position in method with $& before unless - registers an offense for String#match method call with position in if guard condition with $~ is used in another method - corrects String#match method call with position in class, `$&` is in method - registers an offense for String#match method call with position in if condition - registers an offense for String#match method call with position in class method, `$1` is in other method - corrects String#match method call with position in module, `$1` is in method - corrects String#match method call with position in method before `$`` - corrects String#match method call with position in method before `$~` - corrects String#match method call with position, $1 reference is overrided - accepts String#match method call with position in a class method with $' - accepts String#match method call with position in guard condition with $` is used in the line after that - registers an offense for String#match method call with position in class, `$MATCH` is in method - registers an offense for String#match method call with position in module, `$1` is in method - registers an offense for String#match method call with position, $~ reference is overrided - registers an offense for String#match method call with position in method, `$100` is in other method - registers an offense for String#match method call with position in class, `Regexp.last_match` is in method - registers an offense for String#match method call with position in module, `$'` is in method - accepts String#match method call with position in a class method with $~ - corrects String#match method call with position in method, `$'` is in other method - accepts String#match method call with position in method with $MATCH before if - registers an offense for String#match method call with position in if guard condition with $MATCH is used in another method - corrects String#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - corrects String#match method call with position in class, `$1` is in method - corrects String#match method call with position, $~ reference is overrided - accepts String#match method call with position in method with $& - registers an offense for String#match method call with position in class, `$2` is in method - registers an offense for String#match method call with position in method before `$1` - accepts String#match method call with position in a class method with Regexp.last_match - accepts String#match method call with position in method with $1 before if + registers an offense for String#match method call with position in method, `$2` is in other method + accepts String#match method call with position in method with $100 + corrects String#match method call with position in method, `Regexp.last_match(1)` is in other method + corrects String#match method call with position in if guard condition with $` is used in another method + accepts String#match method call with position in method with $~ + corrects String#match method call with position in if guard condition with $~ is used in another method + registers an offense for String#match method call with position in method, `$'` is in other method corrects String#match method call with position, $MATCH reference is overrided - registers an offense for String#match method call with position in class method, `$2` is in other method - corrects String#match method call with position, $100 reference is overrided - corrects String#match method call with position in method before `$100` + corrects String#match method call with position in class, `$100` is in method + registers an offense for String#match method call with position in method before `$`` + corrects String#match method call with position in module, `$2` is in method + registers an offense for String#match method call with position in class method, `$MATCH` is in other method + corrects String#match method call with position, $~ reference is overrided + accepts String#match method call with position in method with $~ before if + corrects String#match method call with position in method, `$'` is in other method corrects String#match method call with position in class method, `$~` is in other method - corrects String#match method call with position, $& reference is overrided - accepts String#match method call with position in guard condition with Regexp.last_match is used in the line after that - accepts String#match method call with position in method with $MATCH - registers an offense for String#match method call with position in if guard condition with $` is used in another method - accepts String#match method call with position in method with $2 + registers an offense for String#match method call with position in module, `Regexp.last_match` is in method corrects String#match method call with position in method before `Regexp.last_match(1)` + corrects String#match method call with position in method before `$2` accepts String#match method call with position in method with $' in block - accepts String#match method call with position in method with $` in block + registers an offense for String#match method call with position in module, `$MATCH` is in method corrects String#match method call with position in method, `$&` is in other method - corrects String#match method call with position in class method, `$`` is in other method - accepts String#match method call with position in a class method with $1 - accepts String#match method call with position in method with $` before unless - corrects String#match method call with position in class method, `$&` is in other method - registers an offense for String#match method call with position in method before `$2` - corrects String#match method call with position in method, `$100` is in other method + corrects String#match method call with position in module, `$100` is in method + accepts String#match method call with position in method with $MATCH before if + accepts String#match method call with position in method with $& + accepts String#match method call with position in method with $' + registers an offense for String#match method call with position in case condition + registers an offense for String#match method call with position in module, `$`` is in method + accepts String#match method call with position in method with $1 before if registers an offense for String#match method call with position, $1 reference is overrided - accepts String#match method call with position in method with $` - corrects String#match method call with position in method, `$1` is in other method - registers an offense for String#match method call with position in method definition + registers an offense for String#match method call with position in if guard condition with $& is used in another method + corrects String#match method call with position in method before `$'` + registers an offense for String#match method call with position in module, `$~` is in method + accepts String#match method call with position in a class method with $100 + registers an offense for String#match method call with position in class, `$'` is in method + registers an offense for String#match method call with position in method before `$1` + registers an offense for String#match method call with position in unless condition + accepts String#match method call with position in method with $MATCH in block + corrects String#match method call with position in class method, `$`` is in other method corrects String#match method call with position in method, `$`` is in other method - registers an offense for String#match method call with position in if guard condition with $100 is used in another method - registers an offense for String#match method call with position in class method, `$100` is in other method registers an offense for String#match method call with position in method before `$'` + registers an offense for String#match method call with position, $& reference is overrided + corrects String#match method call with position in if guard condition with $2 is used in another method + corrects String#match method call with position in class, `$MATCH` is in method + registers an offense for String#match method call with position in class method, `Regexp.last_match` is in other method + accepts String#match method call with position in a class method with $` + corrects String#match method call with position in method, `$100` is in other method + registers an offense for String#match method call with position, $2 reference is overrided + registers an offense for String#match method call with position, $MATCH reference is overrided registers an offense for String#match method call with position in class method, `$~` is in other method - registers an offense for String#match method call with position in if condition - registers an offense for String#match method call with position in module, `$100` is in method - accepts String#match method call with position in method with $2 before unless - accepts String#match method call with position in method with Regexp.last_match(1) before unless - registers an offense for String#match method call with position in method before `$&` - accepts String#match method call with position in method with $~ in block - accepts String#match method call with position in method with $' - corrects String#match method call with position in class, `$'` is in method - corrects String#match method call with position in method, `$MATCH` is in other method - corrects String#match method call with position in if condition - corrects String#match method call with position in method before `$1` - registers an offense for String#match method call with position in method, `Regexp.last_match` is in other method registers an offense for String#match method call with position in unless condition - accepts String#match method call with position in a class method with $100 - registers an offense for String#match method call with position in case condition - registers an offense for String#match method call with position in module, `Regexp.last_match` is in method - corrects String#match method call with position in class method, `$100` is in other method - registers an offense for String#match method call with position in class method, `$MATCH` is in other method - corrects String#match method call with position in class method, `$2` is in other method - corrects String#match method call with position, $2 reference is overrided - accepts String#match method call with position in guard condition with $' is used in the line after that - registers an offense for String#match method call with position in module, `$~` is in method - corrects String#match method call with position in class, `$`` is in method - corrects String#match method call with position in if condition - accepts String#match method call with position in a class method with $2 - corrects String#match method call with position in class method, `Regexp.last_match(1)` is in other method - corrects String#match method call with position in module, `$'` is in method - registers an offense for String#match method call with position in method before `$`` - registers an offense for String#match method call with position in class method, `$`` is in other method - registers an offense for String#match method call with position in module, `$2` is in method - accepts String#match method call with position in method with $~ before if - corrects String#match method call with position in if guard condition with $2 is used in another method - accepts String#match method call with position in method with $& in block - registers an offense for String#match method call with position in module, `$`` is in method - corrects String#match method call with position in class method, `$1` is in other method - registers an offense for String#match method call with position in method before `$100` - corrects String#match method call with position in ternary operator - registers an offense for String#match method call with position in method, `$&` is in other method - corrects String#match method call with position in if guard condition with $' is used in another method - registers an offense for String#match method call with position in module, `$&` is in method - registers an offense for String#match method call with position in method before `$~` - corrects String#match method call with position in method, `Regexp.last_match(1)` is in other method - corrects String#match method call with position in class method, `$'` is in other method - corrects String#match method call with position in module, `$100` is in method - corrects String#match method call with position, Regexp.last_match reference is overrided registers an offense for String#match method call with position in class method, `Regexp.last_match(1)` is in other method - registers an offense for String#match method call with position in if guard condition with Regexp.last_match is used in another method - accepts String#match method call with position in a class method with $` - registers an offense for String#match method call with position in method, `$2` is in other method - corrects String#match method call with position in if guard condition with $1 is used in another method - accepts String#match method call with position in a class method with $& - corrects String#match method call with position, $' reference is overrided - accepts String#match method call with position in guard condition with $& is used in the line after that - registers an offense for String#match method call with position in class, `$1` is in method - corrects String#match method call with position in method definition - accepts String#match method call with position in guard condition with $100 is used in the line after that - corrects String#match method call with position in module, `$2` is in method - accepts String#match method call with position in method with $' before unless - accepts String#match method call with position in method with Regexp.last_match(1) - accepts String#match method call with position in method with $MATCH before unless - accepts String#match method call with position in guard condition with $MATCH is used in the line after that - corrects String#match method call with position in case condition - accepts String#match method call with position in method with Regexp.last_match before if - registers an offense for String#match method call with position in module, `$MATCH` is in method - registers an offense for String#match method call with position in method before `Regexp.last_match` + corrects String#match method call with position in if guard condition with $MATCH is used in another method + accepts String#match method call with position in method with Regexp.last_match in block + corrects String#match method call with position in ternary operator + registers an offense for String#match method call with position, $' reference is overrided accepts String#match method call with position in method with $' before if accepts String#match method call with position in a class method with Regexp.last_match(1) - corrects String#match method call with position in if guard condition with $& is used in another method - registers an offense for String#match method call with position in unless condition - registers an offense for String#match method call with position in method, `Regexp.last_match(1)` is in other method - registers an offense for String#match method call with position in class method, `Regexp.last_match` is in other method - accepts String#match method call with position in method with $~ - accepts String#match method call with position in method with $& before if - accepts String#match method call with position in method with $100 before if - registers an offense for String#match method call with position in if guard condition with $2 is used in another method - corrects String#match method call with position in class method, `Regexp.last_match` is in other method - corrects String#match method call with position in class, `$100` is in method - registers an offense for String#match method call with position in method, `$MATCH` is in other method - corrects String#match method call with position in module, `Regexp.last_match(1)` is in method + accepts String#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that + corrects String#match method call with position in case condition accepts String#match method call with position in method with $1 - corrects String#match method call with position, $` reference is overrided - corrects String#match method call with position in method before `$&` - accepts String#match method call with position in method with $~ before unless - registers an offense for String#match method call with position in class, `$&` is in method - accepts String#match method call with position in method with $1 before unless + registers an offense for String#match method call with position in if guard condition with Regexp.last_match(1) is used in another method + accepts String#match method call with position in guard condition with $' is used in the line after that + corrects String#match method call with position in module, `$'` is in method + corrects String#match method call with position in unless condition registers an offense for String#match method call with position in class, `Regexp.last_match(1)` is in method - accepts String#match method call with position in method with $MATCH in block - registers an offense for String#match method call with position in method, `$`` is in other method - accepts String#match method call with position in guard condition with $1 is used in the line after that + accepts String#match method call with position in method with Regexp.last_match(1) before unless + registers an offense for String#match method call with position in class method, `$&` is in other method + registers an offense for String#match method call with position in method before `$~` + registers an offense for String#match method call with position in method definition + corrects String#match method call with position in module, `$MATCH` is in method + accepts String#match method call with position in method with $100 before if + registers an offense for String#match method call with position in method before `$&` + corrects String#match method call with position in elsif condition registers an offense for String#match method call with position in if guard condition with $' is used in another method + accepts String#match method call with position in a class method with $' + registers an offense for String#match method call with position in method, `$~` is in other method + corrects String#match method call with position in method before `$100` + registers an offense for String#match method call with position in class method, `$`` is in other method + corrects String#match method call with position in if guard condition with Regexp.last_match is used in another method + registers an offense for String#match method call with position in class method, `$100` is in other method + accepts String#match method call with position in method with $` in block + accepts String#match method call with position in method with $MATCH before unless + corrects String#match method call with position in method, `$~` is in other method + corrects String#match method call with position in class, `Regexp.last_match(1)` is in method + registers an offense for String#match method call with position in ternary operator + corrects String#match method call with position in class, `$'` is in method + registers an offense for String#match method call with position in if guard condition with $2 is used in another method + corrects String#match method call with position, $100 reference is overrided + corrects String#match method call with position in class method, `$'` is in other method + accepts String#match method call with position in method with Regexp.last_match(1) in block + corrects String#match method call with position in module, `$1` is in method + accepts String#match method call with position in method with $& before unless + corrects String#match method call with position in method before `Regexp.last_match` + corrects String#match method call with position in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for String#match method call with position in if guard condition with $1 is used in another method + registers an offense for String#match method call with position in method, `$`` is in other method + corrects String#match method call with position in class method, `$100` is in other method + corrects String#match method call with position in method, `$2` is in other method + corrects String#match method call with position in class, `$1` is in method + accepts String#match method call with position in guard condition with $& is used in the line after that + corrects String#match method call with position in method before `$MATCH` + corrects String#match method call with position, $& reference is overrided + corrects String#match method call with position in class, `$&` is in method + corrects String#match method call with position in class, `Regexp.last_match` is in method + accepts String#match method call with position in method with $2 before unless + registers an offense for String#match method call with position in method, `$MATCH` is in other method + registers an offense for String#match method call with position, Regexp.last_match(1) reference is overrided registers an offense for String#match method call with position in elsif condition - registers an offense for String#match method call with position, Regexp.last_match reference is overrided - corrects String#match method call with position in module, `$MATCH` is in method + registers an offense for String#match method call with position in method before `Regexp.last_match(1)` + accepts String#match method call with position in guard condition with Regexp.last_match is used in the line after that + registers an offense for String#match method call with position in if guard condition with $` is used in another method + registers an offense for String#match method call with position in module, `$100` is in method + registers an offense for String#match method call with position in module, `$'` is in method + accepts String#match method call with position in method with $` corrects String#match method call with position in unless condition - accepts String#match method call with position in method with $100 before unless - registers an offense for String#match method call with position in method before `$MATCH` accepts String#match method call with position in method with $` before if - registers an offense for String#match method call with position, $MATCH reference is overrided - registers an offense for String#match method call with position in class method, `$'` is in other method - registers an offense for String#match method call with position in method before `Regexp.last_match(1)` + corrects String#match method call with position in method before `$1` + registers an offense for String#match method call with position in class, `Regexp.last_match` is in method + accepts String#match method call with position in method with Regexp.last_match(1) + accepts String#match method call with position in guard condition with $1 is used in the line after that + registers an offense for String#match method call with position in method before `$2` + corrects String#match method call with position in if guard condition with $1 is used in another method + registers an offense for String#match method call with position in method before `$100` + registers an offense for String#match method call with position in method, `$&` is in other method + registers an offense for String#match method call with position in method before `Regexp.last_match` + accepts String#match method call with position in method with $2 before if + corrects String#match method call with position in method before `$&` + corrects String#match method call with position in module, `$`` is in method + accepts String#match method call with position in method with $& in block + registers an offense for String#match method call with position in method before `$MATCH` + registers an offense for String#match method call with position in method, `Regexp.last_match(1)` is in other method corrects String#match method call with position, Regexp.last_match(1) reference is overrided - registers an offense for String#match method call with position in method, `$'` is in other method - corrects String#match method call with position in method before `$'` - accepts String#match method call with position in method with $100 - corrects String#match method call with position in module, `$~` is in method - accepts String#match method call with position in method with Regexp.last_match in block - registers an offense for String#match method call with position in method, `$~` is in other method - corrects String#match method call with position in method before `$MATCH` - accepts String#match method call with position in method with $2 in block + accepts String#match method call with position in guard condition with $` is used in the line after that corrects String#match method call with position in method, `Regexp.last_match` is in other method + accepts String#match method call with position in a class method with Regexp.last_match + corrects String#match method call with position in class, `$2` is in method + registers an offense for String#match method call with position in class, `$MATCH` is in method + corrects String#match method call with position in method before `$~` + corrects String#match method call with position in method, `$1` is in other method + accepts String#match method call with position in method with Regexp.last_match + corrects String#match method call with position in class method, `Regexp.last_match(1)` is in other method + accepts String#match method call with position in method with $1 in block + corrects String#match method call with position in method definition + accepts String#match method call with position in method with Regexp.last_match before unless + accepts String#match method call with position in a class method with $2 + corrects String#match method call with position, $1 reference is overrided + corrects String#match method call with position in if condition + accepts String#match method call with position in method with Regexp.last_match before if + corrects String#match method call with position in module, `Regexp.last_match` is in method + accepts String#match method call with position in a class method with $~ + corrects String#match method call with position in if guard condition with $100 is used in another method + accepts String#match method call with position in method with $~ before unless + corrects String#match method call with position in if condition + accepts String#match method call with position in method with $~ in block + registers an offense for String#match method call with position in if guard condition with $100 is used in another method + corrects String#match method call with position in if guard condition with $' is used in another method + registers an offense for String#match method call with position in class, `$`` is in method + registers an offense for String#match method call with position in class method, `$1` is in other method + corrects String#match method call with position in class, `$~` is in method + registers an offense for String#match method call with position in class method, `$2` is in other method + accepts String#match method call with position in method with $2 in block + registers an offense for String#match method call with position in module, `Regexp.last_match(1)` is in method + registers an offense for String#match method call with position in if condition + accepts String#match method call with position in method with $' before unless + corrects String#match method call with position in class method, `$1` is in other method + corrects String#match method call with position in method before `$`` + corrects String#match method call with position in class, `$`` is in method + registers an offense for String#match method call with position, $~ reference is overrided + registers an offense for String#match method call with position in if condition + accepts String#match method call with position in method with $MATCH + registers an offense for String#match method call with position in if guard condition with $~ is used in another method + accepts String#match method call with position in guard condition with $~ is used in the line after that + registers an offense for String#match method call with position in if guard condition with Regexp.last_match is used in another method + corrects String#match method call with position, $2 reference is overrided + accepts String#match method call with position in a class method with $& + registers an offense for String#match method call with position in module, `$1` is in method + registers an offense for String#match method call with position in module, `$&` is in method + accepts String#match method call with position in method with $100 in block + accepts String#match method call with position in method with $100 before unless + corrects String#match method call with position in class method, `$2` is in other method + accepts String#match method call with position in method with $2 + registers an offense for String#match method call with position in class, `$1` is in method + accepts String#match method call with position in method with $1 before unless + registers an offense for String#match method call with position in method, `$1` is in other method + corrects String#match method call with position in method, `$MATCH` is in other method + accepts String#match method call with position in method with $& before if + accepts String#match method call with position in guard condition with $2 is used in the line after that + corrects String#match method call with position, Regexp.last_match reference is overrided + registers an offense for String#match method call with position, $100 reference is overrided + corrects String#match method call with position in module, `Regexp.last_match(1)` is in method + corrects String#match method call with position in class method, `$MATCH` is in other method + registers an offense for String#match method call with position in method, `$100` is in other method + registers an offense for String#match method call with position in class, `$2` is in method behaves like all legacy match methods - accepts matching by =~` in method with $100 in block - corrects matching by =~` in method before `$2` - corrects matching by =~` in class method, `$MATCH` is in other method - corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by =~`, $' reference is overrided - registers an offense for matching by =~` in if guard condition with $100 is used in another method - registers an offense for matching by =~`, $' reference is overrided - registers an offense for matching by =~` in class, `$~` is in method - corrects matching by =~` in if guard condition with $~ is used in another method - corrects matching by =~` in method, `$100` is in other method - corrects matching by =~` in module, `$100` is in method - corrects matching by =~` in if condition - accepts matching by =~` in method with $MATCH before unless - accepts matching by =~` in a class method with $' - registers an offense for matching by =~` in method, `$100` is in other method - accepts matching by =~` in method with $& in block - registers an offense for matching by =~` in class, `$2` is in method - corrects matching by =~` in method before `$`` - registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with Regexp.last_match(1) in block - accepts matching by =~` in a class method with $~ - corrects matching by =~` in module, `$'` is in method - corrects matching by =~` in method, `$'` is in other method - corrects matching by =~`, $1 reference is overrided - accepts matching by =~` in method with Regexp.last_match before if - corrects matching by =~` in method, `$MATCH` is in other method + accepts matching by =~` in method with $MATCH + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~` in class, `$~` is in method + corrects matching by =~`, $& reference is overrided + registers an offense for matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in module, `$2` is in method + corrects matching by =~` in if guard condition with $' is used in another method + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + accepts matching by =~` in a class method with $100 + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in method with $1 in block + accepts matching by =~` in method with $' before if + corrects matching by =~` in module, `$1` is in method corrects matching by =~` in class method, `$1` is in other method - registers an offense for matching by =~` in if condition + accepts matching by =~` in method with $~ + accepts matching by =~` in method with $2 in block + corrects matching by =~` in unless condition + accepts matching by =~` in method with Regexp.last_match + registers an offense for matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in if guard condition with $100 is used in another method corrects matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~`, $1 reference is overrided - accepts matching by =~` in guard condition with $' is used in the line after that - registers an offense for matching by =~` in class method, `$`` is in other method - corrects matching by =~` in class, `$'` is in method + registers an offense for matching by =~`, Regexp.last_match reference is overrided + registers an offense for matching by =~` in module, `$&` is in method + corrects matching by =~` in method, `$100` is in other method + corrects matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $2 before if + registers an offense for matching by =~` in method, `$1` is in other method + corrects matching by =~` in method before `$~` + accepts matching by =~` in method with Regexp.last_match(1) registers an offense for matching by =~` in module, `$MATCH` is in method - corrects matching by =~` in if guard condition with $100 is used in another method - corrects matching by =~` in method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in module, `$'` is in method - corrects matching by =~` in method before `$'` - corrects matching by =~` in unless condition + accepts matching by =~` in method with $100 before if + registers an offense for matching by =~` in if condition + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method registers an offense for matching by =~` in method before `$MATCH` - accepts matching by =~` in a class method with Regexp.last_match - registers an offense for matching by =~` in method, `$'` is in other method - accepts matching by =~` in method with $2 before if + corrects matching by =~` in module, `Regexp.last_match` is in method + registers an offense for matching by =~` in class method, `$~` is in other method + accepts matching by =~` in method with Regexp.last_match(1) before unless + corrects matching by =~` in if guard condition with $~ is used in another method + registers an offense for matching by =~` in class, `$~` is in method + registers an offense for matching by =~` in module, `$100` is in method accepts matching by =~` in method with $~ before if - accepts matching by =~` in a class method with $100 - corrects matching by =~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~` in module, `$~` is in method + corrects matching by =~` in method, `$1` is in other method + accepts matching by =~` in method with $1 before unless corrects matching by =~`, Regexp.last_match(1) reference is overrided - accepts matching by =~` in guard condition with $& is used in the line after that - corrects matching by =~` in method before `Regexp.last_match(1)` - corrects matching by =~` in class, `$100` is in method - registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by =~` in method before `$&` - registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by =~` in method before `$100` - corrects matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in module, `$2` is in method - registers an offense for matching by =~` in module, `$&` is in method - corrects matching by =~` in method definition - registers an offense for matching by =~`, $& reference is overrided - registers an offense for matching by =~`, $` reference is overrided + corrects matching by =~` in method before `$`` + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for matching by =~` in elsif condition + accepts matching by =~` in a class method with $' + accepts matching by =~` in method with $' before unless + accepts matching by =~` in a class method with Regexp.last_match + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + registers an offense for matching by =~` in method before `Regexp.last_match` registers an offense for matching by =~` in method, `$2` is in other method - registers an offense for matching by =~` in class, `$`` is in method - registers an offense for matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in class, `$~` is in method - registers an offense for matching by =~` in if guard condition with $~ is used in another method - accepts matching by =~` in method with $` + corrects matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in unless condition + accepts matching by =~` in method with Regexp.last_match before if registers an offense for matching by =~` in method, `$~` is in other method - corrects matching by =~` in if condition - corrects matching by =~` in if guard condition with $2 is used in another method - accepts matching by =~` in method with Regexp.last_match before unless - accepts matching by =~` in a class method with $` - registers an offense for matching by =~` in class, `$&` is in method - registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method - accepts matching by =~` in guard condition with $1 is used in the line after that - corrects matching by =~`, $2 reference is overrided - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in class method, `$100` is in other method - registers an offense for matching by =~` in method, `$1` is in other method - accepts matching by =~` in method with $' in block - accepts matching by =~` in method with Regexp.last_match(1) before unless - accepts matching by =~` in method with $2 in block - corrects matching by =~` in class, `$&` is in method - corrects matching by =~` in class, `Regexp.last_match` is in method - corrects matching by =~` in method, `$`` is in other method - registers an offense for matching by =~` in class method, `$1` is in other method - corrects matching by =~` in method before `$100` accepts matching by =~` in method with $& before if - registers an offense for matching by =~` in class, `$100` is in method - accepts matching by =~` in a class method with $2 - registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~`, $' reference is overrided + corrects matching by =~` in elsif condition + corrects matching by =~` in ternary operator + corrects matching by =~` in method definition accepts matching by =~` in guard condition with $100 is used in the line after that - registers an offense for matching by =~` in method, `$`` is in other method - corrects matching by =~` in module, `$MATCH` is in method - registers an offense for matching by =~` in method before `$`` - corrects matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~` in method before `$'` + registers an offense for matching by =~` in module, `$'` is in method + accepts matching by =~` in method with $100 before unless accepts matching by =~` in method with $MATCH before if - corrects matching by =~` in class, `$MATCH` is in method - accepts matching by =~` in method with $2 + registers an offense for matching by =~` in class, `$2` is in method registers an offense for matching by =~` in method before `$~` - registers an offense for matching by =~` in ternary operator - accepts matching by =~` in method with $& before unless - corrects matching by =~`, $& reference is overrided - corrects matching by =~` in method before `$MATCH` - corrects matching by =~` in case condition - corrects matching by =~`, Regexp.last_match reference is overrided - accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that - accepts matching by =~` in method with $100 before unless - corrects matching by =~` in if guard condition with $MATCH is used in another method - corrects matching by =~` in method before `$&` - corrects matching by =~` in class method, `$&` is in other method - accepts matching by =~` in method with $1 before unless - corrects matching by =~` in class method, `Regexp.last_match` is in other method - corrects matching by =~` in class, `$`` is in method - corrects matching by =~` in ternary operator - registers an offense for matching by =~` in class method, `$2` is in other method - registers an offense for matching by =~` in if guard condition with $1 is used in another method - registers an offense for matching by =~` in class method, `$~` is in other method - corrects matching by =~` in method, `$~` is in other method - registers an offense for matching by =~` in module, `Regexp.last_match` is in method - registers an offense for matching by =~` in class method, `$MATCH` is in other method - registers an offense for matching by =~` in if guard condition with $& is used in another method - corrects matching by =~`, $MATCH reference is overrided - registers an offense for matching by =~` in method before `Regexp.last_match` - registers an offense for matching by =~` in unless condition - registers an offense for matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in method with $' before unless - accepts matching by =~` in a class method with $& corrects matching by =~` in module, `$~` is in method - accepts matching by =~` in method with $MATCH in block - registers an offense for matching by =~`, $MATCH reference is overrided - corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method - registers an offense for matching by =~` in case condition - registers an offense for matching by =~` in module, `$100` is in method - corrects matching by =~` in elsif condition - registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by =~` in method with $` before unless - corrects matching by =~` in unless condition - accepts matching by =~` in method with $~ - registers an offense for matching by =~` in module, `$`` is in method - corrects matching by =~` in class method, `$100` is in other method - accepts matching by =~` in guard condition with $~ is used in the line after that - corrects matching by =~` in method before `$1` - corrects matching by =~` in module, `$`` is in method - accepts matching by =~` in method with $100 before if - corrects matching by =~` in module, `$&` is in method - corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in method before `$&` + corrects matching by =~` in method before `$MATCH` accepts matching by =~` in method with Regexp.last_match in block - corrects matching by =~` in method, `Regexp.last_match` is in other method - corrects matching by =~` in method, `$1` is in other method - corrects matching by =~`, $` reference is overrided - corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~`, $' reference is overrided + corrects matching by =~` in class, `$100` is in method + accepts matching by =~` in method with $' + accepts matching by =~` in method with $2 + accepts matching by =~` in method with $100 in block + corrects matching by =~` in method, `$2` is in other method + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method accepts matching by =~` in method with $& - corrects matching by =~`, $~ reference is overrided + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~`, $& reference is overrided + corrects matching by =~`, $` reference is overrided + corrects matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method before `$100` + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in class method, `$&` is in other method + corrects matching by =~` in method before `$1` + accepts matching by =~` in method with Regexp.last_match(1) in block + accepts matching by =~` in a class method with Regexp.last_match(1) + corrects matching by =~` in module, `$MATCH` is in method corrects matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in guard condition with $` is used in the line after that - corrects matching by =~` in method before `$~` - registers an offense for matching by =~` in method definition - accepts matching by =~` in method with $~ in block - accepts matching by =~` in method with $' before if accepts matching by =~` in method with $1 - registers an offense for matching by =~` in method, `$&` is in other method - registers an offense for matching by =~` in method before `Regexp.last_match(1)` - registers an offense for matching by =~` in class, `$'` is in method - corrects matching by =~` in module, `$1` is in method - accepts matching by =~` in method with Regexp.last_match(1) - registers an offense for matching by =~` in method before `$1` - accepts matching by =~` in method with $~ before unless - registers an offense for matching by =~` in module, `$~` is in method - corrects matching by =~` in if guard condition with $& is used in another method - accepts matching by =~` in method with Regexp.last_match(1) before if - accepts matching by =~` in method with $MATCH - accepts matching by =~` in method with $' - registers an offense for matching by =~` in class, `$1` is in method - accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that - corrects matching by =~` in class method, `$`` is in other method - accepts matching by =~` in method with Regexp.last_match - corrects matching by =~`, $100 reference is overrided - registers an offense for matching by =~` in method before `$2` - registers an offense for matching by =~` in elsif condition - accepts matching by =~` in method with $` in block - registers an offense for matching by =~` in if guard condition with $` is used in another method - accepts matching by =~` in a class method with Regexp.last_match(1) - registers an offense for matching by =~` in if guard condition with $MATCH is used in another method - accepts matching by =~` in method with $2 before unless + accepts matching by =~` in method with $` before if + corrects matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in module, `Regexp.last_match` is in method registers an offense for matching by =~` in class method, `$'` is in other method - accepts matching by =~` in guard condition with $MATCH is used in the line after that - corrects matching by =~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by =~`, $~ reference is overrided - registers an offense for matching by =~` in class, `$MATCH` is in method - accepts matching by =~` in method with $1 in block - accepts matching by =~` in method with $100 - registers an offense for matching by =~` in method, `$MATCH` is in other method - registers an offense for matching by =~` in module, `$2` is in method - accepts matching by =~` in a class method with $1 + corrects matching by =~` in class, `$&` is in method registers an offense for matching by =~` in class method, `$&` is in other method - corrects matching by =~` in method, `$2` is in other method - corrects matching by =~` in class, `$1` is in method - accepts matching by =~` in method with $1 before if - registers an offense for matching by =~` in method, `Regexp.last_match` is in other method - registers an offense for matching by =~`, Regexp.last_match reference is overrided - corrects matching by =~` in class, `$2` is in method - accepts matching by =~` in guard condition with $2 is used in the line after that - registers an offense for matching by =~` in module, `$1` is in method - accepts matching by =~` in a class method with $MATCH + corrects matching by =~` in class, `$'` is in method + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + corrects matching by =~` in method before `$2` + registers an offense for matching by =~` in class, `$&` is in method + corrects matching by =~` in if guard condition with $2 is used in another method + corrects matching by =~` in class, `Regexp.last_match(1)` is in method registers an offense for matching by =~` in if guard condition with $2 is used in another method - corrects matching by =~` in if guard condition with $' is used in another method - accepts matching by =~` in method with $` before if + accepts matching by =~` in method with Regexp.last_match(1) before if + accepts matching by =~` in guard condition with $MATCH is used in the line after that + accepts matching by =~` in a class method with $1 + registers an offense for matching by =~` in class method, `$`` is in other method + corrects matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~`, $` reference is overrided registers an offense for matching by =~` in if condition - corrects matching by =~` in if guard condition with $1 is used in another method + accepts matching by =~` in method with $& in block + registers an offense for matching by =~` in unless condition + registers an offense for matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in method before `$1` + accepts matching by =~` in method with $` in block + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by =~` in case condition + corrects matching by =~` in class method, `$100` is in other method + corrects matching by =~` in case condition registers an offense for matching by =~`, $100 reference is overrided corrects matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in class, `$'` is in method + accepts matching by =~` in a class method with $MATCH corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in a class method with $~ + registers an offense for matching by =~`, $2 reference is overrided + accepts matching by =~` in guard condition with $& is used in the line after that + corrects matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in module, `$`` is in method + corrects matching by =~`, Regexp.last_match reference is overrided + corrects matching by =~`, $2 reference is overrided + accepts matching by =~` in a class method with $2 + accepts matching by =~` in method with $MATCH in block + corrects matching by =~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in unless condition + accepts matching by =~` in a class method with $& + registers an offense for matching by =~`, $1 reference is overrided + accepts matching by =~` in method with Regexp.last_match before unless + corrects matching by =~` in method, `$'` is in other method + registers an offense for matching by =~` in class method, `$MATCH` is in other method + registers an offense for matching by =~` in method, `$&` is in other method + corrects matching by =~` in if guard condition with $& is used in another method + accepts matching by =~` in guard condition with $' is used in the line after that + corrects matching by =~` in method, `$&` is in other method + corrects matching by =~` in module, `$2` is in method + accepts matching by =~` in guard condition with $` is used in the line after that + accepts matching by =~` in a class method with $` + corrects matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in method before `$'` + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in if guard condition with $` is used in another method + corrects matching by =~` in if condition + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in method, `$`` is in other method + registers an offense for matching by =~` in ternary operator + accepts matching by =~` in method with $` + registers an offense for matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in class, `$1` is in method + accepts matching by =~` in method with $& before unless + accepts matching by =~` in method with $~ in block + corrects matching by =~`, $~ reference is overrided + accepts matching by =~` in method with $100 + accepts matching by =~` in method with $MATCH before unless + registers an offense for matching by =~` in class method, `$1` is in other method + corrects matching by =~`, $100 reference is overrided + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~`, $MATCH reference is overrided + corrects matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in module, `$1` is in method + accepts matching by =~` in method with $1 before if + corrects matching by =~` in class, `$`` is in method + accepts matching by =~` in method with $` before unless + corrects matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in method before `$2` + corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in method before `$'` + corrects matching by =~` in module, `$100` is in method + registers an offense for matching by =~` in class method, `$2` is in other method + corrects matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in method before `$100` + corrects matching by =~` in if condition + registers an offense for matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~`, $~ reference is overrided + accepts matching by =~` in method with $2 before unless + registers an offense for matching by =~` in method before `$`` + accepts matching by =~` in guard condition with $2 is used in the line after that + accepts matching by =~` in method with $' in block + corrects matching by =~` in class method, `$`` is in other method + corrects matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in class, `$1` is in method + corrects matching by =~` in class, `$2` is in method + corrects matching by =~` in method before `$&` + accepts matching by =~` in method with $~ before unless + corrects matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in if guard condition with $1 is used in another method + registers an offense for matching by =~` in method definition + corrects matching by =~` in class, `$MATCH` is in method behaves like all legacy match methods - corrects matching by !~`, $2 reference is overrided + accepts matching by !~` in guard condition with $' is used in the line after that corrects matching by !~` in unless condition - corrects matching by !~` in method, `$MATCH` is in other method - registers an offense for matching by !~` in method, `$1` is in other method - registers an offense for matching by !~` in elsif condition - registers an offense for matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in class, `$100` is in method - corrects matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in module, `$`` is in method - accepts matching by !~` in a class method with $100 - corrects matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in method, `$~` is in other method - corrects matching by !~` in ternary operator + corrects matching by !~` in method, `$'` is in other method + registers an offense for matching by !~` in method, `$2` is in other method + registers an offense for matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in class, `$`` is in method + registers an offense for matching by !~` in unless condition + registers an offense for matching by !~` in method, `$~` is in other method + accepts matching by !~` in method with Regexp.last_match(1) before if + registers an offense for matching by !~` in class, `$~` is in method + corrects matching by !~`, $MATCH reference is overrided registers an offense for matching by !~`, $100 reference is overrided - accepts matching by !~` in method with $1 in block - corrects matching by !~` in method, `$&` is in other method - accepts matching by !~` in method with $& before if - corrects matching by !~` in module, `$`` is in method - corrects matching by !~` in method before `Regexp.last_match(1)` - corrects matching by !~` in method, `$100` is in other method - registers an offense for matching by !~` in if guard condition with $` is used in another method - corrects matching by !~` in method, `$2` is in other method - corrects matching by !~` in method, `$1` is in other method - accepts matching by !~` in method with $~ - registers an offense for matching by !~` in module, `$1` is in method - accepts matching by !~` in a class method with $~ - accepts matching by !~` in method with Regexp.last_match(1) in block + corrects matching by !~`, Regexp.last_match(1) reference is overrided + registers an offense for matching by !~` in module, `$&` is in method + registers an offense for matching by !~`, $~ reference is overrided + registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method + registers an offense for matching by !~`, $` reference is overrided + registers an offense for matching by !~` in if condition + corrects matching by !~`, $& reference is overrided + corrects matching by !~` in method before `$MATCH` + accepts matching by !~` in a class method with $& + accepts matching by !~` in guard condition with $2 is used in the line after that + corrects matching by !~` in class, `$100` is in method corrects matching by !~` in class, `Regexp.last_match(1)` is in method - corrects matching by !~` in class, `$&` is in method - registers an offense for matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in method before `$100` + registers an offense for matching by !~` in class, `$&` is in method + accepts matching by !~` in a class method with $` + registers an offense for matching by !~` in elsif condition + corrects matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in method before `$'` + corrects matching by !~` in unless condition + registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by !~` in method, `$2` is in other method + accepts matching by !~` in a class method with $100 + registers an offense for matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with $' in block accepts matching by !~` in guard condition with Regexp.last_match(1) is used in the line after that - registers an offense for matching by !~`, $& reference is overrided - registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before if - accepts matching by !~` in guard condition with $~ is used in the line after that - corrects matching by !~` in class method, `$100` is in other method - accepts matching by !~` in method with $` in block - corrects matching by !~` in method, `$`` is in other method - accepts matching by !~` in method with $& before unless - registers an offense for matching by !~` in class, `$'` is in method - corrects matching by !~`, Regexp.last_match reference is overrided - registers an offense for matching by !~` in unless condition - accepts matching by !~` in guard condition with $' is used in the line after that - accepts matching by !~` in method with $2 in block - corrects matching by !~` in if guard condition with $` is used in another method - accepts matching by !~` in method with $MATCH before if - corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method - corrects matching by !~` in method before `$1` - accepts matching by !~` in method with $1 before unless - corrects matching by !~` in case condition - accepts matching by !~` in method with $100 - corrects matching by !~` in class, `$2` is in method - corrects matching by !~` in method, `$'` is in other method registers an offense for matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in method, `$~` is in other method - registers an offense for matching by !~` in class method, `$100` is in other method - registers an offense for matching by !~`, $MATCH reference is overrided - registers an offense for matching by !~` in method, `$`` is in other method - registers an offense for matching by !~` in class method, `$~` is in other method - corrects matching by !~` in module, `$2` is in method + registers an offense for matching by !~` in module, `$100` is in method + registers an offense for matching by !~` in class, `$2` is in method + accepts matching by !~` in method with $MATCH before if accepts matching by !~` in method with $100 before unless - accepts matching by !~` in method with $` before unless - registers an offense for matching by !~` in if guard condition with $MATCH is used in another method - accepts matching by !~` in method with $' before unless - registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in module, `$2` is in method - accepts matching by !~` in method with $& in block + accepts matching by !~` in a class method with $1 + accepts matching by !~` in a class method with $' + registers an offense for matching by !~` in if guard condition with $1 is used in another method + corrects matching by !~`, $2 reference is overrided + accepts matching by !~` in method with $1 corrects matching by !~` in class, `$1` is in method - corrects matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in method before `$2` - corrects matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in unless condition - accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that - accepts matching by !~` in a class method with $MATCH - registers an offense for matching by !~` in method before `$&` - corrects matching by !~` in class method, `$'` is in other method - corrects matching by !~` in class method, `$&` is in other method - accepts matching by !~` in method with $` + registers an offense for matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~`, $' reference is overrided + registers an offense for matching by !~` in class method, `$1` is in other method + accepts matching by !~` in a class method with Regexp.last_match corrects matching by !~`, $~ reference is overrided - registers an offense for matching by !~`, $` reference is overrided - registers an offense for matching by !~` in class method, `$'` is in other method - registers an offense for matching by !~` in method before `$`` - corrects matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method - corrects matching by !~` in module, `$100` is in method - registers an offense for matching by !~` in method definition - corrects matching by !~` in method before `Regexp.last_match` - registers an offense for matching by !~` in method, `$100` is in other method - registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method - accepts matching by !~` in method with $1 before if - registers an offense for matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in module, `$~` is in method + accepts matching by !~` in method with Regexp.last_match(1) + corrects matching by !~` in method before `$~` corrects matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in method, `$'` is in other method + corrects matching by !~` in class, `$'` is in method + registers an offense for matching by !~` in class method, `$&` is in other method + registers an offense for matching by !~` in method before `$~` + corrects matching by !~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by !~` in method definition + accepts matching by !~` in method with $& before unless + corrects matching by !~` in class method, `$~` is in other method registers an offense for matching by !~`, $2 reference is overrided - accepts matching by !~` in method with $~ before if - corrects matching by !~` in method before `$~` + accepts matching by !~` in guard condition with $MATCH is used in the line after that + registers an offense for matching by !~` in if guard condition with $100 is used in another method + corrects matching by !~`, Regexp.last_match reference is overrided + corrects matching by !~` in if condition + corrects matching by !~` in module, `$'` is in method registers an offense for matching by !~` in class, `$`` is in method - registers an offense for matching by !~` in module, `$~` is in method - corrects matching by !~` in if guard condition with $MATCH is used in another method - registers an offense for matching by !~` in class method, `$&` is in other method - corrects matching by !~`, $` reference is overrided - registers an offense for matching by !~` in if guard condition with $' is used in another method - corrects matching by !~` in if guard condition with $& is used in another method - registers an offense for matching by !~` in module, `$MATCH` is in method - accepts matching by !~` in method with $` before if - accepts matching by !~` in method with Regexp.last_match before if - corrects matching by !~` in class method, `$1` is in other method - corrects matching by !~` in method definition + registers an offense for matching by !~` in class, `$1` is in method + corrects matching by !~` in method, `$MATCH` is in other method + accepts matching by !~` in guard condition with $1 is used in the line after that corrects matching by !~` in class method, `$`` is in other method - registers an offense for matching by !~` in class, `$MATCH` is in method - registers an offense for matching by !~` in if guard condition with $~ is used in another method - corrects matching by !~` in module, `$~` is in method - accepts matching by !~` in method with Regexp.last_match before unless - registers an offense for matching by !~` in method, `$2` is in other method - accepts matching by !~` in a class method with $' - registers an offense for matching by !~` in method before `Regexp.last_match(1)` - registers an offense for matching by !~` in class, `$~` is in method - accepts matching by !~` in method with $MATCH in block - accepts matching by !~` in method with $2 before unless - corrects matching by !~` in if guard condition with $2 is used in another method - accepts matching by !~` in method with $' in block - registers an offense for matching by !~` in if condition - corrects matching by !~`, $' reference is overrided - registers an offense for matching by !~` in case condition - corrects matching by !~` in elsif condition - corrects matching by !~` in if guard condition with $' is used in another method + accepts matching by !~` in method with Regexp.last_match(1) in block + registers an offense for matching by !~` in method before `$`` + registers an offense for matching by !~` in method before `$2` + accepts matching by !~` in method with $& in block + registers an offense for matching by !~`, $1 reference is overrided + registers an offense for matching by !~` in class method, `$MATCH` is in other method registers an offense for matching by !~` in method before `$100` - registers an offense for matching by !~` in method, `$'` is in other method - corrects matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in if guard condition with $2 is used in another method + accepts matching by !~` in method with Regexp.last_match before if + registers an offense for matching by !~` in if guard condition with $` is used in another method + registers an offense for matching by !~`, $& reference is overrided + registers an offense for matching by !~` in class, `Regexp.last_match` is in method + corrects matching by !~` in if guard condition with Regexp.last_match(1) is used in another method corrects matching by !~` in method before `$'` - accepts matching by !~` in a class method with Regexp.last_match - corrects matching by !~` in method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in guard condition with $100 is used in the line after that - accepts matching by !~` in method with $' before if - registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided - registers an offense for matching by !~` in if guard condition with $2 is used in another method - registers an offense for matching by !~` in class, `$&` is in method + accepts matching by !~` in method with $100 + registers an offense for matching by !~` in method, `$1` is in other method + corrects matching by !~` in method, `$&` is in other method + registers an offense for matching by !~` in class method, `$100` is in other method + accepts matching by !~` in method with $` + corrects matching by !~` in if condition + registers an offense for matching by !~` in class, `$'` is in method corrects matching by !~` in class, `$~` is in method - registers an offense for matching by !~` in if guard condition with Regexp.last_match(1) is used in another method + accepts matching by !~` in method with $1 before unless + accepts matching by !~` in a class method with $~ + registers an offense for matching by !~` in method, `$100` is in other method + registers an offense for matching by !~` in ternary operator + corrects matching by !~` in method, `$~` is in other method + corrects matching by !~` in elsif condition corrects matching by !~`, $100 reference is overrided - registers an offense for matching by !~` in module, `$'` is in method + accepts matching by !~` in method with $MATCH in block + accepts matching by !~` in a class method with $MATCH + accepts matching by !~` in guard condition with $` is used in the line after that + accepts matching by !~` in method with $~ in block + registers an offense for matching by !~` in method before `Regexp.last_match(1)` + registers an offense for matching by !~` in method, `$`` is in other method + registers an offense for matching by !~` in if guard condition with $MATCH is used in another method + corrects matching by !~` in method before `$&` + corrects matching by !~` in if guard condition with $1 is used in another method + registers an offense for matching by !~` in if guard condition with $& is used in another method + registers an offense for matching by !~` in if guard condition with $2 is used in another method + registers an offense for matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in method with $~ + corrects matching by !~` in ternary operator + corrects matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~` in class method, `$1` is in other method + corrects matching by !~` in method, `Regexp.last_match` is in other method + corrects matching by !~` in method, `$1` is in other method corrects matching by !~` in module, `$1` is in method - accepts matching by !~` in method with $MATCH - registers an offense for matching by !~` in if guard condition with $1 is used in another method - registers an offense for matching by !~` in class method, `$1` is in other method - accepts matching by !~` in method with Regexp.last_match(1) before unless - corrects matching by !~` in method before `$100` - registers an offense for matching by !~` in module, `Regexp.last_match` is in method - corrects matching by !~` in class method, `Regexp.last_match` is in other method - registers an offense for matching by !~` in class method, `$`` is in other method registers an offense for matching by !~` in method before `$1` + corrects matching by !~` in module, `$MATCH` is in method + corrects matching by !~` in method before `$2` + corrects matching by !~`, $` reference is overrided + registers an offense for matching by !~` in class method, `$`` is in other method + registers an offense for matching by !~` in unless condition + corrects matching by !~` in if guard condition with $MATCH is used in another method + registers an offense for matching by !~` in method, `$&` is in other method + corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in method with $~ before if accepts matching by !~` in method with $2 before if - registers an offense for matching by !~` in method, `$MATCH` is in other method - accepts matching by !~` in a class method with $1 + accepts matching by !~` in method with Regexp.last_match in block + corrects matching by !~` in class method, `Regexp.last_match` is in other method + accepts matching by !~` in a class method with Regexp.last_match(1) + corrects matching by !~` in class, `$MATCH` is in method + accepts matching by !~` in method with $' before unless + registers an offense for matching by !~` in class, `$100` is in method + registers an offense for matching by !~` in class method, `$2` is in other method + accepts matching by !~` in method with $MATCH before unless + corrects matching by !~`, $' reference is overrided + accepts matching by !~` in guard condition with $100 is used in the line after that + accepts matching by !~` in method with $` before if + corrects matching by !~` in if guard condition with $& is used in another method + corrects matching by !~` in module, `$~` is in method + corrects matching by !~` in class, `$2` is in method + accepts matching by !~` in method with $2 + registers an offense for matching by !~` in if guard condition with Regexp.last_match is used in another method + corrects matching by !~` in method, `$100` is in other method + corrects matching by !~` in if guard condition with $` is used in another method + corrects matching by !~` in method before `$`` + registers an offense for matching by !~` in class, `$MATCH` is in method + registers an offense for matching by !~` in module, `$2` is in method + corrects matching by !~` in class method, `$&` is in other method + corrects matching by !~` in class, `Regexp.last_match` is in method + registers an offense for matching by !~` in if condition + accepts matching by !~` in method with $1 in block registers an offense for matching by !~` in method before `$MATCH` - registers an offense for matching by !~` in class, `Regexp.last_match` is in method - corrects matching by !~` in class method, `$MATCH` is in other method - registers an offense for matching by !~`, $~ reference is overrided - accepts matching by !~` in method with $1 - corrects matching by !~` in method before `$&` - corrects matching by !~` in method before `$2` + accepts matching by !~` in method with $' + corrects matching by !~` in method before `$1` + accepts matching by !~` in method with $& + corrects matching by !~` in class method, `$'` is in other method + accepts matching by !~` in method with $100 in block + corrects matching by !~` in module, `Regexp.last_match` is in method + registers an offense for matching by !~` in method before `$&` accepts matching by !~` in method with Regexp.last_match - corrects matching by !~`, Regexp.last_match(1) reference is overrided + accepts matching by !~` in method with Regexp.last_match before unless + registers an offense for matching by !~` in module, `$MATCH` is in method + registers an offense for matching by !~` in class method, `$~` is in other method + accepts matching by !~` in method with $100 before if + registers an offense for matching by !~`, Regexp.last_match reference is overrided + registers an offense for matching by !~` in module, `$'` is in method + corrects matching by !~` in method, `$`` is in other method corrects matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~`, $& reference is overrided - registers an offense for matching by !~` in module, `$&` is in method - corrects matching by !~` in if condition - corrects matching by !~`, $MATCH reference is overrided - accepts matching by !~` in method with $MATCH before unless + accepts matching by !~` in method with $MATCH + corrects matching by !~` in case condition + accepts matching by !~` in method with $` in block + registers an offense for matching by !~` in module, `$`` is in method + corrects matching by !~` in method, `Regexp.last_match(1)` is in other method + accepts matching by !~` in method with $' before if + accepts matching by !~` in method with $2 in block accepts matching by !~` in method with $~ before unless - accepts matching by !~` in method with Regexp.last_match(1) - registers an offense for matching by !~` in ternary operator - registers an offense for matching by !~` in if guard condition with $100 is used in another method - corrects matching by !~` in class, `$'` is in method - registers an offense for matching by !~` in method, `Regexp.last_match` is in other method - corrects matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in guard condition with $1 is used in the line after that - corrects matching by !~` in module, `$MATCH` is in method - corrects matching by !~` in module, `Regexp.last_match(1)` is in method - registers an offense for matching by !~` in method before `$~` - accepts matching by !~` in method with $100 before if - corrects matching by !~` in module, `$&` is in method - accepts matching by !~` in method with $& - accepts matching by !~` in method with $~ in block + registers an offense for matching by !~` in class method, `$'` is in other method + registers an offense for matching by !~`, $MATCH reference is overrided + registers an offense for matching by !~` in module, `Regexp.last_match(1)` is in method + corrects matching by !~` in module, `$`` is in method + corrects matching by !~` in method before `Regexp.last_match(1)` + accepts matching by !~` in method with $2 before unless + registers an offense for matching by !~` in module, `$1` is in method + registers an offense for matching by !~` in case condition + accepts matching by !~` in a class method with $2 + corrects matching by !~` in class, `$&` is in method + registers an offense for matching by !~` in if guard condition with $~ is used in another method + corrects matching by !~` in class method, `$100` is in other method + registers an offense for matching by !~` in class, `Regexp.last_match(1)` is in method + accepts matching by !~` in guard condition with $~ is used in the line after that accepts matching by !~` in guard condition with $& is used in the line after that - accepts matching by !~` in method with Regexp.last_match in block - registers an offense for matching by !~` in method before `$'` - accepts matching by !~` in guard condition with $2 is used in the line after that - accepts matching by !~` in guard condition with $` is used in the line after that - corrects matching by !~` in unless condition - registers an offense for matching by !~`, $' reference is overrided - registers an offense for matching by !~` in class method, `Regexp.last_match` is in other method - accepts matching by !~` in method with $2 - corrects matching by !~` in if condition - accepts matching by !~` in a class method with $` - registers an offense for matching by !~` in class method, `$2` is in other method + accepts matching by !~` in method with $1 before if + corrects matching by !~` in if guard condition with $' is used in another method + registers an offense for matching by !~` in method, `Regexp.last_match(1)` is in other method + corrects matching by !~` in method definition + corrects matching by !~` in module, `$&` is in method + accepts matching by !~` in guard condition with Regexp.last_match is used in the line after that registers an offense for matching by !~` in class method, `Regexp.last_match(1)` is in other method - accepts matching by !~` in a class method with $& - accepts matching by !~` in method with $100 in block - corrects matching by !~` in if guard condition with Regexp.last_match is used in another method - registers an offense for matching by !~` in class, `$1` is in method - registers an offense for matching by !~` in class method, `$MATCH` is in other method + registers an offense for matching by !~` in method, `$MATCH` is in other method + corrects matching by !~` in class method, `$MATCH` is in other method + accepts matching by !~` in method with $` before unless + corrects matching by !~` in module, `$2` is in method + corrects matching by !~` in if guard condition with $~ is used in another method corrects matching by !~` in class method, `$2` is in other method - accepts matching by !~` in method with $' - corrects matching by !~` in class method, `$~` is in other method - accepts matching by !~` in a class method with $2 - corrects matching by !~` in class, `Regexp.last_match` is in method - registers an offense for matching by !~` in if condition - corrects matching by !~` in method before `$`` - registers an offense for matching by !~` in class, `$2` is in method - corrects matching by !~` in module, `$'` is in method - registers an offense for matching by !~`, $1 reference is overrided - corrects matching by !~` in class, `$100` is in method - accepts matching by !~` in guard condition with $MATCH is used in the line after that - registers an offense for matching by !~` in method, `$&` is in other method - corrects matching by !~` in method, `Regexp.last_match` is in other method - accepts matching by !~` in a class method with Regexp.last_match(1) + accepts matching by !~` in method with Regexp.last_match(1) before unless + corrects matching by !~` in method before `Regexp.last_match` + accepts matching by !~` in method with $& before if behaves like all legacy match methods - corrects Regexp#match method call with position in module, `$~` is in method - corrects Regexp#match method call with position in method before `$1` - registers an offense for Regexp#match method call with position in method definition - corrects Regexp#match method call with position in class, `$100` is in method - corrects Regexp#match method call with position in class method, `$'` is in other method - registers an offense for Regexp#match method call with position in ternary operator - corrects Regexp#match method call with position in unless condition - accepts Regexp#match method call with position in method with $100 before unless - corrects Regexp#match method call with position in module, `Regexp.last_match(1)` is in method - registers an offense for Regexp#match method call with position in method, `$~` is in other method - registers an offense for Regexp#match method call with position in class, `$2` is in method - accepts Regexp#match method call with position in method with $1 before if - accepts Regexp#match method call with position in method with $1 before unless - registers an offense for Regexp#match method call with position in method before `$100` - accepts Regexp#match method call with position in method with $' before unless - accepts Regexp#match method call with position in guard condition with $1 is used in the line after that - registers an offense for Regexp#match method call with position in if condition - registers an offense for Regexp#match method call with position in class method, `$`` is in other method - accepts Regexp#match method call with position in guard condition with Regexp.last_match(1) is used in the line after that - accepts Regexp#match method call with position in method with $MATCH - corrects Regexp#match method call with position in class method, `$`` is in other method - corrects Regexp#match method call with position in class, `Regexp.last_match` is in method - registers an offense for Regexp#match method call with position in class, `$&` is in method - corrects Regexp#match method call with position in if guard condition with Regexp.last_match is used in another method - accepts Regexp#match method call with position in method with $` before if - registers an offense for Regexp#match method call with position, Regexp.last_match(1) reference is overrided - corrects Regexp#match method call with position in method before `$`` - accepts Regexp#match method call with position in a class method with $MATCH - registers an offense for Regexp#match method call with position in class method, `$MATCH` is in other method - accepts Regexp#match method call with position in method with Regexp.last_match(1) - registers an offense for Regexp#match method call with position in module, `$100` is in method - corrects Regexp#match method call with position in module, `$1` is in method - registers an offense for Regexp#match method call with position in class method, `$1` is in other method - corrects Regexp#match method call with position in method, `$&` is in other method - accepts Regexp#match method call with position in guard condition with $100 is used in the line after that - accepts Regexp#match method call with position in method with $2 before unless - registers an offense for Regexp#match method call with position in class method, `$~` is in other method - registers an offense for Regexp#match method call with position in module, `$2` is in method - accepts Regexp#match method call with position in method with $1 - accepts Regexp#match method call with position in method with $' before if - corrects Regexp#match method call with position in method, `$~` is in other method - corrects Regexp#match method call with position in method, `$`` is in other method - accepts Regexp#match method call with position in a class method with Regexp.last_match(1) - accepts Regexp#match method call with position in method with $100 before if - registers an offense for Regexp#match method call with position in if guard condition with $2 is used in another method - registers an offense for Regexp#match method call with position in module, `Regexp.last_match` is in method - registers an offense for Regexp#match method call with position, $~ reference is overrided - corrects Regexp#match method call with position in if guard condition with $' is used in another method - accepts Regexp#match method call with position in method with $& in block - registers an offense for Regexp#match method call with position in method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call with position in if guard condition with Regexp.last_match is used in another method - corrects Regexp#match method call with position in class method, `$100` is in other method - accepts Regexp#match method call with position in method with $100 - corrects Regexp#match method call with position in module, `$2` is in method - accepts Regexp#match method call with position in method with $& - accepts Regexp#match method call with position in guard condition with $2 is used in the line after that - registers an offense for Regexp#match method call with position in if condition - accepts Regexp#match method call with position in method with $~ before unless - corrects Regexp#match method call with position, $~ reference is overrided - corrects Regexp#match method call with position in class method, `Regexp.last_match` is in other method - registers an offense for Regexp#match method call with position, $1 reference is overrided - registers an offense for Regexp#match method call with position in if guard condition with $' is used in another method - corrects Regexp#match method call with position in class method, `$2` is in other method - corrects Regexp#match method call with position, Regexp.last_match(1) reference is overrided - accepts Regexp#match method call with position in method with Regexp.last_match before unless - corrects Regexp#match method call with position in module, `$&` is in method - registers an offense for Regexp#match method call with position in class, `$'` is in method - corrects Regexp#match method call with position in elsif condition - registers an offense for Regexp#match method call with position in module, `$~` is in method - corrects Regexp#match method call with position in method before `$2` - accepts Regexp#match method call with position in method with $2 before if - corrects Regexp#match method call with position in class method, `$&` is in other method - accepts Regexp#match method call with position in guard condition with Regexp.last_match is used in the line after that - accepts Regexp#match method call with position in a class method with $1 - registers an offense for Regexp#match method call with position in class method, `$&` is in other method - corrects Regexp#match method call with position in class, `Regexp.last_match(1)` is in method - corrects Regexp#match method call with position in if guard condition with $2 is used in another method - corrects Regexp#match method call with position, $100 reference is overrided - registers an offense for Regexp#match method call with position in if guard condition with $100 is used in another method - corrects Regexp#match method call with position in method, `$'` is in other method - corrects Regexp#match method call with position in class method, `$~` is in other method - registers an offense for Regexp#match method call with position, $` reference is overrided - corrects Regexp#match method call with position in class, `$2` is in method - corrects Regexp#match method call with position in method before `$MATCH` - accepts Regexp#match method call with position in method with $100 in block - corrects Regexp#match method call with position, $1 reference is overrided - corrects Regexp#match method call with position in method before `$~` - corrects Regexp#match method call with position in class, `$'` is in method - corrects Regexp#match method call with position in module, `$'` is in method - corrects Regexp#match method call with position in module, `$MATCH` is in method - registers an offense for Regexp#match method call with position in method before `Regexp.last_match` - accepts Regexp#match method call with position in guard condition with $& is used in the line after that - registers an offense for Regexp#match method call with position in method before `Regexp.last_match(1)` - accepts Regexp#match method call with position in method with $2 in block - accepts Regexp#match method call with position in a class method with $2 - corrects Regexp#match method call with position in method before `Regexp.last_match(1)` - corrects Regexp#match method call with position, $' reference is overrided - corrects Regexp#match method call with position in if guard condition with $& is used in another method - accepts Regexp#match method call with position in method with $~ in block - registers an offense for Regexp#match method call with position in class, `$1` is in method - corrects Regexp#match method call with position in class, `$~` is in method - registers an offense for Regexp#match method call with position in method, `$&` is in other method - registers an offense for Regexp#match method call with position in class method, `Regexp.last_match` is in other method - corrects Regexp#match method call with position in module, `$`` is in method - accepts Regexp#match method call with position in a class method with $~ - registers an offense for Regexp#match method call with position in if guard condition with $~ is used in another method - registers an offense for Regexp#match method call with position in method, `$`` is in other method - accepts Regexp#match method call with position in method with Regexp.last_match in block - accepts Regexp#match method call with position in method with $` in block - corrects Regexp#match method call with position in if condition - corrects Regexp#match method call with position in class method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call with position in unless condition - accepts Regexp#match method call with position in method with $MATCH before if - accepts Regexp#match method call with position in method with $MATCH before unless - corrects Regexp#match method call with position in class, `$`` is in method - accepts Regexp#match method call with position in method with $' - corrects Regexp#match method call with position, $2 reference is overrided - corrects Regexp#match method call with position in method before `$&` - registers an offense for Regexp#match method call with position in method before `$MATCH` - corrects Regexp#match method call with position in class, `$&` is in method - accepts Regexp#match method call with position in method with $~ before if - registers an offense for Regexp#match method call with position, $& reference is overrided - accepts Regexp#match method call with position in guard condition with $MATCH is used in the line after that - corrects Regexp#match method call with position in case condition - corrects Regexp#match method call with position in method, `$MATCH` is in other method - corrects Regexp#match method call with position in if guard condition with $~ is used in another method - corrects Regexp#match method call with position in method before `Regexp.last_match` - corrects Regexp#match method call with position in class, `$1` is in method - registers an offense for Regexp#match method call with position, $2 reference is overrided - registers an offense for Regexp#match method call with position in class, `$100` is in method - registers an offense for Regexp#match method call with position, $' reference is overrided - accepts Regexp#match method call with position in guard condition with $' is used in the line after that - accepts Regexp#match method call with position in method with $~ - registers an offense for Regexp#match method call with position in unless condition - accepts Regexp#match method call with position in a class method with $100 - registers an offense for Regexp#match method call with position in if guard condition with $MATCH is used in another method - registers an offense for Regexp#match method call with position in method, `Regexp.last_match` is in other method - corrects Regexp#match method call with position in method, `$100` is in other method - registers an offense for Regexp#match method call with position in method, `$'` is in other method - registers an offense for Regexp#match method call with position in module, `$MATCH` is in method - registers an offense for Regexp#match method call with position in case condition - accepts Regexp#match method call with position in method with $` - registers an offense for Regexp#match method call with position in module, `$`` is in method - accepts Regexp#match method call with position in method with $& before if - corrects Regexp#match method call with position in unless condition - corrects Regexp#match method call with position in class, `$MATCH` is in method - registers an offense for Regexp#match method call with position, $MATCH reference is overrided - registers an offense for Regexp#match method call with position in if guard condition with $& is used in another method - corrects Regexp#match method call with position in method, `$2` is in other method - accepts Regexp#match method call with position in a class method with Regexp.last_match - corrects Regexp#match method call with position in module, `$100` is in method - corrects Regexp#match method call with position in method, `$1` is in other method - corrects Regexp#match method call with position in if guard condition with $100 is used in another method - registers an offense for Regexp#match method call with position, $100 reference is overrided - corrects Regexp#match method call with position, $& reference is overrided - registers an offense for Regexp#match method call with position in module, `Regexp.last_match(1)` is in method - accepts Regexp#match method call with position in method with Regexp.last_match(1) in block - accepts Regexp#match method call with position in a class method with $` - registers an offense for Regexp#match method call with position in method before `$~` - registers an offense for Regexp#match method call with position in method, `$2` is in other method - registers an offense for Regexp#match method call with position in method before `$&` - registers an offense for Regexp#match method call with position in method, `$1` is in other method - registers an offense for Regexp#match method call with position in class method, `$'` is in other method - corrects Regexp#match method call with position in ternary operator - accepts Regexp#match method call with position in method with $MATCH in block - corrects Regexp#match method call with position, $` reference is overrided - registers an offense for Regexp#match method call with position in method before `$2` - registers an offense for Regexp#match method call with position in method before `$1` - registers an offense for Regexp#match method call with position in module, `$'` is in method - accepts Regexp#match method call with position in method with Regexp.last_match(1) before unless - registers an offense for Regexp#match method call with position in method before `$'` - accepts Regexp#match method call with position in a class method with $' - corrects Regexp#match method call with position in method before `$100` - corrects Regexp#match method call with position in class method, `$1` is in other method - corrects Regexp#match method call with position in method definition - corrects Regexp#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - registers an offense for Regexp#match method call with position in class method, `$2` is in other method - registers an offense for Regexp#match method call with position in class method, `$100` is in other method - accepts Regexp#match method call with position in method with Regexp.last_match(1) before if - corrects Regexp#match method call with position, $MATCH reference is overrided - corrects Regexp#match method call with position in if condition - registers an offense for Regexp#match method call with position in method, `$MATCH` is in other method - corrects Regexp#match method call with position, Regexp.last_match reference is overrided - accepts Regexp#match method call with position in method with $2 - registers an offense for Regexp#match method call with position in module, `$&` is in method - corrects Regexp#match method call with position in method, `Regexp.last_match(1)` is in other method - registers an offense for Regexp#match method call with position in class, `$MATCH` is in method - corrects Regexp#match method call with position in if guard condition with $` is used in another method - accepts Regexp#match method call with position in method with $& before unless - accepts Regexp#match method call with position in method with Regexp.last_match before if - registers an offense for Regexp#match method call with position in class, `$`` is in method - registers an offense for Regexp#match method call with position in module, `$1` is in method - corrects Regexp#match method call with position in class method, `$MATCH` is in other method - corrects Regexp#match method call with position in method, `Regexp.last_match` is in other method - accepts Regexp#match method call with position in guard condition with $~ is used in the line after that - registers an offense for Regexp#match method call with position in class, `$~` is in method - registers an offense for Regexp#match method call with position, Regexp.last_match reference is overrided - accepts Regexp#match method call with position in a class method with $& - registers an offense for Regexp#match method call with position in if guard condition with $1 is used in another method - accepts Regexp#match method call with position in method with $1 in block - registers an offense for Regexp#match method call with position in class method, `Regexp.last_match(1)` is in other method - accepts Regexp#match method call with position in method with $` before unless - corrects Regexp#match method call with position in if guard condition with $MATCH is used in another method - registers an offense for Regexp#match method call with position in class, `Regexp.last_match(1)` is in method - corrects Regexp#match method call with position in method before `$'` - corrects Regexp#match method call with position in if guard condition with $1 is used in another method - registers an offense for Regexp#match method call with position in method before `$`` - registers an offense for Regexp#match method call with position in class, `Regexp.last_match` is in method - accepts Regexp#match method call with position in method with Regexp.last_match - registers an offense for Regexp#match method call with position in if guard condition with Regexp.last_match(1) is used in another method - corrects Regexp#match method call with position in module, `Regexp.last_match` is in method - registers an offense for Regexp#match method call with position in elsif condition - accepts Regexp#match method call with position in method with $' in block - registers an offense for Regexp#match method call with position in if guard condition with $` is used in another method - registers an offense for Regexp#match method call with position in method, `$100` is in other method - accepts Regexp#match method call with position in guard condition with $` is used in the line after that - -RuboCop::Cop::Performance::RedundantBlockCall - autocorrects multiple occurrences of block.call with arguments - accepts an empty method body - accepts another block being passed along with other args - accepts a block that is not `call`ed - accepts another block arg in at least one occurrence of block.call - autocorrects even when block arg has a different name - accepts an optional block that is defaulted - formats the error message for func.call(1) correctly - autocorrects block.call with arguments - accepts another block being passed as the only arg - accepts an optional block that is overridden - autocorrects block.call with empty parentheses - autocorrects block.call without arguments - autocorrects using parentheses when block.call uses parentheses - autocorrects when the result of the call is used in a scope that requires parentheses - -RuboCop::Cop::Performance::InefficientHashSearch - when config is empty - behaves like correct behavior - registers an offense when a hash literal receives `values.include?` - finds no offense when a `values` array variable receives `include?` - does not register an offense when `keys` method defined by itself and `include?` method are method chaining - registers an offense when an existing hash receives `keys.include?` - registers an offense when a hash variable receives `values.include?` - finds no offense when a `keys` array variable receives `include?` - registers an offense when a hash literal receives `keys.include?` - autocorrect - when using `keys.include?` - corrects when hash is not a literal - corrects to `key?` or `has_key?` - gracefully handles whitespace - when using `values.include?` - gracefully handles whitespace - corrects when hash is not a literal - corrects to `value?` or `has_value?` - when config specifies long hash methods but is not enabled - behaves like correct behavior - finds no offense when a `values` array variable receives `include?` - finds no offense when a `keys` array variable receives `include?` - registers an offense when a hash literal receives `keys.include?` - does not register an offense when `keys` method defined by itself and `include?` method are method chaining - registers an offense when an existing hash receives `keys.include?` - registers an offense when a hash variable receives `values.include?` - registers an offense when a hash literal receives `values.include?` - autocorrect - when using `keys.include?` - corrects to `key?` or `has_key?` - gracefully handles whitespace - corrects when hash is not a literal - when using `values.include?` - gracefully handles whitespace - corrects when hash is not a literal - corrects to `value?` or `has_value?` - when config enforces short hash methods - behaves like correct behavior - registers an offense when an existing hash receives `keys.include?` - registers an offense when a hash variable receives `values.include?` - registers an offense when a hash literal receives `values.include?` - finds no offense when a `keys` array variable receives `include?` - finds no offense when a `values` array variable receives `include?` - registers an offense when a hash literal receives `keys.include?` - does not register an offense when `keys` method defined by itself and `include?` method are method chaining - autocorrect - when using `values.include?` - gracefully handles whitespace - corrects when hash is not a literal - corrects to `value?` or `has_value?` - when using `keys.include?` - corrects to `key?` or `has_key?` - gracefully handles whitespace - corrects when hash is not a literal - when config enforces long hash methods - behaves like correct behavior - registers an offense when a hash literal receives `values.include?` - does not register an offense when `keys` method defined by itself and `include?` method are method chaining - finds no offense when a `keys` array variable receives `include?` - finds no offense when a `values` array variable receives `include?` - registers an offense when a hash literal receives `keys.include?` - registers an offense when an existing hash receives `keys.include?` - registers an offense when a hash variable receives `values.include?` - autocorrect - when using `values.include?` - corrects to `value?` or `has_value?` - gracefully handles whitespace - corrects when hash is not a literal - when using `keys.include?` - corrects to `key?` or `has_key?` - gracefully handles whitespace - corrects when hash is not a literal - -RuboCop::Cop::Performance::Size - does not register an offense when calling count as a stand alone method - does not register an offense when calling count on an object other than an array or a hash - on array - registers an offense when calling count - registers an offense when calling count on to_a - registers an offense when calling count on Array[] - corrects count to size on to_a - does not register an offense when calling count with an argument - does not register an offense when calling count with a to_proc block - corrects count to size - corrects count to size on Array[] - registers an offense when calling count on Array() - does not register an offense when calling count with a block - does not register an offense when calling size - does not register an offense when calling another method - corrects count to size on Array() - on hash - does not register an offense when calling size - does not register an offense when calling another method - corrects count to size on Hash[] - does not register an offense when calling count with a to_proc block - corrects count to size on Hash() - registers an offense when calling count on Hash[] - registers an offense when calling count - does not register an offense when calling count with an argument - does not register an offense when calling count with a block - corrects count to size on to_h - registers an offense when calling count on to_h - corrects count to size - registers an offense when calling count on Hash() - -RuboCop::Cop::Performance::BindCall - TargetRubyVersion <= 2.6 - does not register an offense when using `bind(obj).call(args, ...)` - TargetRubyVersion >= 2.7 - registers an offense when a argument of `call` method is a string - registers an offense when using `bind(obj).()` - does not register an offense when using `bind_call(obj, args, ...)` - registers an offense when the argument of `bind` method is a string - registers an offense when using `bind(obj).call(args, ...)` - -RuboCop Performance Project - default configuration file - has a SupportedStyles for all EnforcedStyle and EnforcedStyle is valid - has a nicely formatted description for all cops - has a period at EOL of description - requires a nicely formatted `VersionAdded` metadata for all cops - sorts configuration keys alphabetically - does not have nay duplication - changelog - has either entries, headers, or empty lines - has newline at end of file - has link definitions for all implicit links - entry - has a whitespace between the * and the body - link to related issue - has an issue number prefixed with # - has a valid URL - has a colon and a whitespace at the end - body - ends with a punctuation - does not start with a lower case - contributor name - has a unique contributor name - after version 0.14.0 - has a link to the contributors at the end - -RuboCop::Cop::Performance::DeletePrefix - TargetRubyVersion >= 2.5 - does not register an offense when using `delete_prefix` - does not register an offense when using `delete_prefix!` - when using `\A` as starting pattern - registers an offense and corrects when `sub(/Aprefix/, '')` - registers an offense and corrects when `sub!(/Aprefix/, '')` - registers an offense and corrects when `gsub!(/Aprefix/, '')` - registers an offense and corrects when `gsub(/Aprefix/, '')` - when using `^` as starting pattern - when `SafeMultiline: false` - registers an offense and corrects when using `gsub` - registers an offense and corrects when using `sub` - registers an offense and corrects when using `gsub!` - registers an offense and corrects when using `sub!` - when `SafeMultiline: true` - does not register an offense and corrects when using `gsub` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `sub` - when using a non-blank string as replacement string - does not register an offense and corrects when using `sub` - does not register an offense and corrects when using `gsub` - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `gsub!` - when using non-starting pattern - does not register an offense when using `sub!` - does not register an offense when using `gsub!` - does not register an offense when using `sub` - does not register an offense when using `gsub` - with starting pattern `\A` and ending pattern `\z` - does not register an offense and corrects when using `gsub` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `sub!` - does not register an offense and corrects when using `sub` - TargetRubyVersion <= 2.4 - does not register an offense when using `sub!(/Aprefix/, '')` - does not register an offense when using `sub(/Aprefix/, '')` - does not register an offense when using `gsub!(/Aprefix/, '')` - does not register an offense when using `gsub(/Aprefix/, '')` - -RuboCop::Cop::Performance::ReverseFirst - registers an offense and corrects when using `#reverse.first` - registers an offense and corrects when using `#reverse.first(5)` - does not register an offense when `#reverse` is not followed by `#first` + corrects matching by =~` in method, `$100` is in other method + registers an offense for matching by =~` in method, `$MATCH` is in other method + registers an offense for matching by =~` in class method, `$100` is in other method + registers an offense for matching by =~` in module, `$~` is in method + accepts matching by =~` in method with $' + corrects matching by =~` in class, `$&` is in method + accepts matching by =~` in method with $100 in block + corrects matching by =~` in class method, `$2` is in other method + accepts matching by =~` in a class method with $' + accepts matching by =~` in method with Regexp.last_match in block + corrects matching by =~` in module, `Regexp.last_match(1)` is in method + corrects matching by =~` in if guard condition with Regexp.last_match is used in another method + corrects matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in class, `$1` is in method + registers an offense for matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in method, `$2` is in other method + corrects matching by =~` in class method, `Regexp.last_match(1)` is in other method + corrects matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in method, `$~` is in other method + corrects matching by =~` in class, `$1` is in method + registers an offense for matching by =~` in method, `$`` is in other method + corrects matching by =~` in class method, `$`` is in other method + accepts matching by =~` in method with $100 before unless + registers an offense for matching by =~`, Regexp.last_match(1) reference is overrided + accepts matching by =~` in guard condition with Regexp.last_match is used in the line after that + accepts matching by =~` in a class method with $1 + registers an offense for matching by =~` in class, `$~` is in method + accepts matching by =~` in a class method with $~ + corrects matching by =~` in class, `$100` is in method + registers an offense for matching by =~`, $2 reference is overrided + corrects matching by =~`, $` reference is overrided + accepts matching by =~` in method with $1 before unless + registers an offense for matching by =~` in if guard condition with $2 is used in another method + accepts matching by =~` in method with $2 + accepts matching by =~` in method with $& + corrects matching by =~` in class method, `$'` is in other method + accepts matching by =~` in guard condition with $~ is used in the line after that + registers an offense for matching by =~` in elsif condition + registers an offense for matching by =~` in if guard condition with $' is used in another method + accepts matching by =~` in method with $MATCH in block + registers an offense for matching by =~`, $1 reference is overrided + corrects matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in method with $& before if + corrects matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~` in module, `$2` is in method + registers an offense for matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in if guard condition with Regexp.last_match is used in another method + accepts matching by =~` in guard condition with Regexp.last_match(1) is used in the line after that + accepts matching by =~` in guard condition with $MATCH is used in the line after that + accepts matching by =~` in a class method with Regexp.last_match + corrects matching by =~` in if condition + accepts matching by =~` in method with $MATCH before if + corrects matching by =~` in method definition + accepts matching by =~` in guard condition with $' is used in the line after that + registers an offense for matching by =~` in class method, `$1` is in other method + corrects matching by =~` in method, `$1` is in other method + corrects matching by =~` in method before `$`` + registers an offense for matching by =~` in method before `$&` + registers an offense for matching by =~` in if condition + corrects matching by =~` in module, `$&` is in method + accepts matching by =~` in guard condition with $` is used in the line after that + corrects matching by =~` in class, `Regexp.last_match` is in method + registers an offense for matching by =~` in class method, `$&` is in other method + corrects matching by =~` in case condition + accepts matching by =~` in method with $1 in block + accepts matching by =~` in method with $2 in block + corrects matching by =~` in if guard condition with $' is used in another method + registers an offense for matching by =~` in method before `$~` + accepts matching by =~` in guard condition with $& is used in the line after that + corrects matching by =~` in class method, `$~` is in other method + registers an offense for matching by =~`, $' reference is overrided + registers an offense for matching by =~` in class, `$100` is in method + corrects matching by =~` in unless condition + accepts matching by =~` in method with Regexp.last_match(1) in block + accepts matching by =~` in method with $` + corrects matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in class method, `$1` is in other method + corrects matching by =~` in class, `$2` is in method + corrects matching by =~` in method before `$&` + registers an offense for matching by =~` in class method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class method, `$MATCH` is in other method + corrects matching by =~` in method before `$2` + corrects matching by =~` in module, `$100` is in method + corrects matching by =~` in method, `$&` is in other method + corrects matching by =~` in method before `$~` + accepts matching by =~` in method with $~ before if + accepts matching by =~` in method with $' before if + registers an offense for matching by =~`, $~ reference is overrided + registers an offense for matching by =~` in case condition + corrects matching by =~`, $' reference is overrided + registers an offense for matching by =~`, $100 reference is overrided + corrects matching by =~` in class, `$~` is in method + corrects matching by =~` in if guard condition with $100 is used in another method + corrects matching by =~`, $2 reference is overrided + registers an offense for matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in module, `$100` is in method + corrects matching by =~` in class, `$'` is in method + registers an offense for matching by =~` in if guard condition with $100 is used in another method + accepts matching by =~` in a class method with Regexp.last_match(1) + registers an offense for matching by =~` in module, `$&` is in method + registers an offense for matching by =~` in module, `$MATCH` is in method + corrects matching by =~` in module, `$`` is in method + registers an offense for matching by =~` in unless condition + corrects matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in method, `$'` is in other method + corrects matching by =~` in class method, `Regexp.last_match` is in other method + accepts matching by =~` in method with $` before if + registers an offense for matching by =~` in class, `Regexp.last_match(1)` is in method + corrects matching by =~` in elsif condition + corrects matching by =~` in if guard condition with $& is used in another method + registers an offense for matching by =~` in method before `$1` + corrects matching by =~` in if guard condition with $~ is used in another method + corrects matching by =~` in method before `$100` + corrects matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in class method, `$`` is in other method + accepts matching by =~` in a class method with $2 + registers an offense for matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in module, `Regexp.last_match` is in method + accepts matching by =~` in method with Regexp.last_match before if + registers an offense for matching by =~` in class, `Regexp.last_match` is in method + corrects matching by =~`, $~ reference is overrided + corrects matching by =~` in if guard condition with $1 is used in another method + corrects matching by =~` in unless condition + registers an offense for matching by =~` in if guard condition with $` is used in another method + accepts matching by =~` in method with $` in block + registers an offense for matching by =~` in method before `$2` + registers an offense for matching by =~`, $& reference is overrided + accepts matching by =~` in method with $~ + corrects matching by =~` in module, `$~` is in method + registers an offense for matching by =~` in class, `$MATCH` is in method + corrects matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in method before `$'` + accepts matching by =~` in method with $2 before unless + accepts matching by =~` in a class method with $100 + registers an offense for matching by =~` in method definition + registers an offense for matching by =~` in if guard condition with $~ is used in another method + accepts matching by =~` in method with $MATCH + accepts matching by =~` in method with $' in block + corrects matching by =~`, Regexp.last_match(1) reference is overrided + accepts matching by =~` in method with $100 + registers an offense for matching by =~` in method before `Regexp.last_match` + accepts matching by =~` in guard condition with $1 is used in the line after that + corrects matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in method with $100 before if + corrects matching by =~`, $& reference is overrided + accepts matching by =~` in method with Regexp.last_match before unless + registers an offense for matching by =~` in method, `$&` is in other method + registers an offense for matching by =~` in method, `$100` is in other method + accepts matching by =~` in a class method with $` + registers an offense for matching by =~` in method, `$~` is in other method + registers an offense for matching by =~` in if guard condition with $MATCH is used in another method + accepts matching by =~` in method with $~ in block + registers an offense for matching by =~` in module, `Regexp.last_match` is in method + corrects matching by =~` in method, `Regexp.last_match` is in other method + accepts matching by =~` in guard condition with $100 is used in the line after that + registers an offense for matching by =~` in module, `Regexp.last_match(1)` is in method + registers an offense for matching by =~` in class method, `Regexp.last_match` is in other method + corrects matching by =~` in method, `$MATCH` is in other method + corrects matching by =~` in if condition + registers an offense for matching by =~` in class, `$`` is in method + corrects matching by =~`, $100 reference is overrided + corrects matching by =~` in ternary operator + accepts matching by =~` in method with Regexp.last_match(1) before unless + accepts matching by =~` in method with Regexp.last_match + accepts matching by =~` in a class method with $MATCH + accepts matching by =~` in method with $2 before if + registers an offense for matching by =~` in module, `$2` is in method + registers an offense for matching by =~`, $` reference is overrided + accepts matching by =~` in guard condition with $2 is used in the line after that + registers an offense for matching by =~` in class, `$2` is in method + corrects matching by =~` in method before `$1` + accepts matching by =~` in method with $MATCH before unless + accepts matching by =~` in method with $& in block + registers an offense for matching by =~` in method, `$'` is in other method + accepts matching by =~` in method with $1 before if + corrects matching by =~` in class method, `$100` is in other method + corrects matching by =~` in class method, `$&` is in other method + corrects matching by =~` in class, `$MATCH` is in method + registers an offense for matching by =~` in method, `Regexp.last_match(1)` is in other method + registers an offense for matching by =~` in unless condition + accepts matching by =~` in method with $` before unless + accepts matching by =~` in method with $& before unless + accepts matching by =~` in method with $~ before unless + registers an offense for matching by =~` in if guard condition with Regexp.last_match(1) is used in another method + corrects matching by =~`, $MATCH reference is overrided + registers an offense for matching by =~` in if condition + corrects matching by =~` in if guard condition with $MATCH is used in another method + registers an offense for matching by =~` in method, `Regexp.last_match` is in other method + registers an offense for matching by =~` in class method, `$2` is in other method + registers an offense for matching by =~` in class method, `$'` is in other method + registers an offense for matching by =~` in method, `$1` is in other method + corrects matching by =~` in if guard condition with $2 is used in another method + registers an offense for matching by =~` in method before `$`` + corrects matching by =~` in class, `$`` is in method + registers an offense for matching by =~` in module, `$'` is in method + registers an offense for matching by =~` in module, `$1` is in method + registers an offense for matching by =~` in class, `$&` is in method + registers an offense for matching by =~` in method before `$100` + accepts matching by =~` in method with Regexp.last_match(1) + corrects matching by =~` in module, `$'` is in method + corrects matching by =~` in method before `Regexp.last_match` + corrects matching by =~`, $1 reference is overrided + registers an offense for matching by =~`, Regexp.last_match reference is overrided + accepts matching by =~` in method with $1 + corrects matching by =~` in if guard condition with $` is used in another method + registers an offense for matching by =~` in class, `$'` is in method + corrects matching by =~` in method, `$`` is in other method + corrects matching by =~` in method before `$'` + registers an offense for matching by =~` in method before `$MATCH` + registers an offense for matching by =~` in class method, `$~` is in other method + accepts matching by =~` in method with $' before unless + accepts matching by =~` in method with Regexp.last_match(1) before if + registers an offense for matching by =~` in method before `Regexp.last_match(1)` + accepts matching by =~` in a class method with $& + registers an offense for matching by =~` in ternary operator + corrects matching by =~` in method, `$2` is in other method + behaves like all legacy match methods + accepts Symbol#match method call in guard condition with Regexp.last_match is used in the line after that + corrects Symbol#match method call, $` reference is overrided + accepts Symbol#match method call in a class method with $MATCH + corrects Symbol#match method call in module, `$&` is in method + corrects Symbol#match method call in class, `$100` is in method + corrects Symbol#match method call in class method, `$&` is in other method + accepts Symbol#match method call in method with Regexp.last_match before if + corrects Symbol#match method call in class method, `$~` is in other method + accepts Symbol#match method call in a class method with $' + registers an offense for Symbol#match method call in class, `$~` is in method + registers an offense for Symbol#match method call in method before `Regexp.last_match` + corrects Symbol#match method call in method, `$`` is in other method + accepts Symbol#match method call in method with Regexp.last_match in block + corrects Symbol#match method call in if guard condition with $' is used in another method + registers an offense for Symbol#match method call in if condition + registers an offense for Symbol#match method call in if guard condition with Regexp.last_match is used in another method + corrects Symbol#match method call in unless condition + registers an offense for Symbol#match method call in module, `$'` is in method + accepts Symbol#match method call in method with $' before unless + registers an offense for Symbol#match method call in method, `$`` is in other method + registers an offense for Symbol#match method call, Regexp.last_match(1) reference is overrided + registers an offense for Symbol#match method call, $2 reference is overrided + registers an offense for Symbol#match method call in method, `$100` is in other method + accepts Symbol#match method call in method with $` before if + corrects Symbol#match method call in method, `$~` is in other method + registers an offense for Symbol#match method call in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for Symbol#match method call in module, `$MATCH` is in method + registers an offense for Symbol#match method call, $& reference is overrided + registers an offense for Symbol#match method call in case condition + accepts Symbol#match method call in method with $2 + accepts Symbol#match method call in method with $' before if + accepts Symbol#match method call in method with Regexp.last_match(1) before if + registers an offense for Symbol#match method call in class, `$'` is in method + registers an offense for Symbol#match method call in module, `$`` is in method + registers an offense for Symbol#match method call in if guard condition with $1 is used in another method + corrects Symbol#match method call in method before `$&` + registers an offense for Symbol#match method call in unless condition + corrects Symbol#match method call, $~ reference is overrided + accepts Symbol#match method call in guard condition with $100 is used in the line after that + accepts Symbol#match method call in guard condition with $1 is used in the line after that + registers an offense for Symbol#match method call in class method, `Regexp.last_match` is in other method + registers an offense for Symbol#match method call in method, `$~` is in other method + accepts Symbol#match method call in guard condition with $2 is used in the line after that + corrects Symbol#match method call in if guard condition with $100 is used in another method + registers an offense for Symbol#match method call in class, `$`` is in method + accepts Symbol#match method call in method with $` before unless + accepts Symbol#match method call in method with $~ in block + registers an offense for Symbol#match method call, $MATCH reference is overrided + accepts Symbol#match method call in guard condition with $MATCH is used in the line after that + corrects Symbol#match method call in ternary operator + corrects Symbol#match method call, $100 reference is overrided + registers an offense for Symbol#match method call in if condition + accepts Symbol#match method call in a class method with $` + corrects Symbol#match method call, $2 reference is overrided + corrects Symbol#match method call in class, `$'` is in method + registers an offense for Symbol#match method call in method definition + corrects Symbol#match method call in if guard condition with $& is used in another method + corrects Symbol#match method call, $& reference is overrided + registers an offense for Symbol#match method call in module, `$2` is in method + corrects Symbol#match method call in method definition + registers an offense for Symbol#match method call in method, `$MATCH` is in other method + corrects Symbol#match method call in class method, `$MATCH` is in other method + registers an offense for Symbol#match method call in module, `Regexp.last_match` is in method + corrects Symbol#match method call in method before `$~` + registers an offense for Symbol#match method call in class method, `$`` is in other method + corrects Symbol#match method call in if guard condition with $2 is used in another method + registers an offense for Symbol#match method call in method before `$MATCH` + corrects Symbol#match method call in class, `$`` is in method + registers an offense for Symbol#match method call in class method, `$&` is in other method + accepts Symbol#match method call in a class method with $~ + registers an offense for Symbol#match method call in class method, `Regexp.last_match(1)` is in other method + accepts Symbol#match method call in a class method with $100 + corrects Symbol#match method call in unless condition + corrects Symbol#match method call in if condition + corrects Symbol#match method call in method, `$'` is in other method + registers an offense for Symbol#match method call in unless condition + corrects Symbol#match method call in class method, `$`` is in other method + corrects Symbol#match method call in method before `Regexp.last_match` + registers an offense for Symbol#match method call in if guard condition with $' is used in another method + corrects Symbol#match method call in module, `$100` is in method + corrects Symbol#match method call in module, `$'` is in method + accepts Symbol#match method call in method with Regexp.last_match(1) before unless + accepts Symbol#match method call in method with $~ before unless + accepts Symbol#match method call in method with $~ + registers an offense for Symbol#match method call in method before `$'` + registers an offense for Symbol#match method call in method, `$2` is in other method + registers an offense for Symbol#match method call in module, `$1` is in method + registers an offense for Symbol#match method call in method, `Regexp.last_match(1)` is in other method + accepts Symbol#match method call in method with $& before if + corrects Symbol#match method call in class method, `$1` is in other method + corrects Symbol#match method call in method, `$&` is in other method + corrects Symbol#match method call in class, `Regexp.last_match(1)` is in method + corrects Symbol#match method call in class, `Regexp.last_match` is in method + corrects Symbol#match method call in if guard condition with $1 is used in another method + accepts Symbol#match method call in method with Regexp.last_match before unless + registers an offense for Symbol#match method call in method before `$&` + accepts Symbol#match method call in a class method with $2 + corrects Symbol#match method call in if guard condition with $~ is used in another method + registers an offense for Symbol#match method call in elsif condition + accepts Symbol#match method call in method with $' + accepts Symbol#match method call in method with $` + registers an offense for Symbol#match method call in if guard condition with $` is used in another method + registers an offense for Symbol#match method call in class method, `$1` is in other method + registers an offense for Symbol#match method call in class method, `$100` is in other method + registers an offense for Symbol#match method call in class, `Regexp.last_match` is in method + corrects Symbol#match method call in module, `Regexp.last_match(1)` is in method + corrects Symbol#match method call in method, `Regexp.last_match` is in other method + accepts Symbol#match method call in method with $1 in block + accepts Symbol#match method call in method with $& before unless + accepts Symbol#match method call in method with $1 + registers an offense for Symbol#match method call in method before `$1` + registers an offense for Symbol#match method call in method before `$`` + accepts Symbol#match method call in guard condition with $' is used in the line after that + registers an offense for Symbol#match method call in method, `$&` is in other method + registers an offense for Symbol#match method call, $' reference is overrided + corrects Symbol#match method call in method, `$MATCH` is in other method + registers an offense for Symbol#match method call, $1 reference is overrided + corrects Symbol#match method call in class, `$&` is in method + registers an offense for Symbol#match method call in method, `$1` is in other method + accepts Symbol#match method call in method with $MATCH + accepts Symbol#match method call in method with $& in block + registers an offense for Symbol#match method call in method, `Regexp.last_match` is in other method + registers an offense for Symbol#match method call in class, `$1` is in method + corrects Symbol#match method call, $1 reference is overrided + accepts Symbol#match method call in method with $2 before if + registers an offense for Symbol#match method call in if guard condition with $~ is used in another method + corrects Symbol#match method call in if guard condition with $` is used in another method + corrects Symbol#match method call in method before `$'` + accepts Symbol#match method call in method with $` in block + registers an offense for Symbol#match method call in module, `$100` is in method + corrects Symbol#match method call in elsif condition + registers an offense for Symbol#match method call in method before `$100` + accepts Symbol#match method call in method with Regexp.last_match(1) + accepts Symbol#match method call in method with $100 before if + corrects Symbol#match method call in module, `$MATCH` is in method + corrects Symbol#match method call in class method, `$2` is in other method + corrects Symbol#match method call in method before `$`` + accepts Symbol#match method call in guard condition with $& is used in the line after that + corrects Symbol#match method call, $MATCH reference is overrided + corrects Symbol#match method call in module, `$2` is in method + registers an offense for Symbol#match method call in class method, `$MATCH` is in other method + corrects Symbol#match method call in method before `$MATCH` + corrects Symbol#match method call in method before `$1` + accepts Symbol#match method call in method with $MATCH in block + corrects Symbol#match method call in class, `$~` is in method + accepts Symbol#match method call in method with $& + accepts Symbol#match method call in method with $1 before if + accepts Symbol#match method call in method with Regexp.last_match + accepts Symbol#match method call in method with $MATCH before unless + corrects Symbol#match method call in method, `$100` is in other method + corrects Symbol#match method call, Regexp.last_match reference is overrided + corrects Symbol#match method call in class, `$MATCH` is in method + corrects Symbol#match method call in class method, `Regexp.last_match` is in other method + corrects Symbol#match method call in if condition + corrects Symbol#match method call in method before `Regexp.last_match(1)` + registers an offense for Symbol#match method call in class, `$&` is in method + registers an offense for Symbol#match method call in class, `$2` is in method + accepts Symbol#match method call in guard condition with $~ is used in the line after that + corrects Symbol#match method call in method, `$1` is in other method + registers an offense for Symbol#match method call in if guard condition with $MATCH is used in another method + registers an offense for Symbol#match method call in class, `$MATCH` is in method + accepts Symbol#match method call in guard condition with Regexp.last_match(1) is used in the line after that + corrects Symbol#match method call in class method, `$100` is in other method + registers an offense for Symbol#match method call in class method, `$2` is in other method + registers an offense for Symbol#match method call in class, `Regexp.last_match(1)` is in method + corrects Symbol#match method call in module, `Regexp.last_match` is in method + registers an offense for Symbol#match method call in module, `Regexp.last_match(1)` is in method + corrects Symbol#match method call in method before `$2` + corrects Symbol#match method call in class, `$1` is in method + accepts Symbol#match method call in method with $MATCH before if + corrects Symbol#match method call in module, `$`` is in method + accepts Symbol#match method call in method with $100 in block + registers an offense for Symbol#match method call, $~ reference is overrided + registers an offense for Symbol#match method call in class method, `$~` is in other method + registers an offense for Symbol#match method call, Regexp.last_match reference is overrided + registers an offense for Symbol#match method call in ternary operator + accepts Symbol#match method call in a class method with Regexp.last_match(1) + accepts Symbol#match method call in method with $1 before unless + registers an offense for Symbol#match method call in method before `$~` + registers an offense for Symbol#match method call in module, `$&` is in method + corrects Symbol#match method call in method, `Regexp.last_match(1)` is in other method + corrects Symbol#match method call in method before `$100` + corrects Symbol#match method call in class, `$2` is in method + corrects Symbol#match method call in if guard condition with Regexp.last_match(1) is used in another method + registers an offense for Symbol#match method call in if guard condition with $2 is used in another method + corrects Symbol#match method call in module, `$1` is in method + corrects Symbol#match method call in if guard condition with Regexp.last_match is used in another method + registers an offense for Symbol#match method call in module, `$~` is in method + registers an offense for Symbol#match method call in method, `$'` is in other method + registers an offense for Symbol#match method call in method before `Regexp.last_match(1)` + accepts Symbol#match method call in a class method with Regexp.last_match + corrects Symbol#match method call in if guard condition with $MATCH is used in another method + accepts Symbol#match method call in method with $100 before unless + accepts Symbol#match method call in guard condition with $` is used in the line after that + corrects Symbol#match method call, Regexp.last_match(1) reference is overrided + registers an offense for Symbol#match method call in if guard condition with $& is used in another method + corrects Symbol#match method call in class method, `$'` is in other method + registers an offense for Symbol#match method call in class, `$100` is in method + accepts Symbol#match method call in a class method with $& + corrects Symbol#match method call in method, `$2` is in other method + registers an offense for Symbol#match method call in method before `$2` + corrects Symbol#match method call, $' reference is overrided + accepts Symbol#match method call in method with $100 + corrects Symbol#match method call in module, `$~` is in method + accepts Symbol#match method call in method with $~ before if + accepts Symbol#match method call in method with $2 in block + registers an offense for Symbol#match method call, $` reference is overrided + accepts Symbol#match method call in method with $2 before unless + accepts Symbol#match method call in method with $' in block + registers an offense for Symbol#match method call in if guard condition with $100 is used in another method + corrects Symbol#match method call in class method, `Regexp.last_match(1)` is in other method + corrects Symbol#match method call in case condition + registers an offense for Symbol#match method call in class method, `$'` is in other method + accepts Symbol#match method call in method with Regexp.last_match(1) in block + registers an offense for Symbol#match method call, $100 reference is overrided + accepts Symbol#match method call in a class method with $1 -RuboCop::Cop::Performance::DoubleStartEndWith - IncludeActiveSupportAliases: true - two #start_with? calls - with the same receiver - all parameters of the second call are pure - corrects to a single start_with? - registers an offense - two #end_with? calls - with the same receiver - all parameters of the second call are pure - corrects to a single end_with? - registers an offense - two #starts_with? calls - with different receivers +RuboCop::Cop::Performance::TimesMap + behaves like map_or_collect + .times.collect + for non-literal receiver + registers an offense + without a block doesn't register an offense - with the same receiver - all parameters of the second call are pure - registers an offense - corrects to a single starts_with? - one of the parameters of the second call is not pure - doesn't register an offense - two #ends_with? calls - with different receivers + with a block + registers an offense + auto-corrects + with an explicitly passed block + registers an offense + auto-corrects + called on nothing doesn't register an offense - with the same receiver - one of the parameters of the second call is not pure - doesn't register an offense - all parameters of the second call are pure - registers an offense - corrects to a single ends_with? - IncludeActiveSupportAliases: false - two #starts_with? calls - doesn't register an offense - two #end_with? calls - with different receivers + behaves like map_or_collect + .times.map + without a block doesn't register an offense - with the same receiver - all parameters of the second call are pure - corrects to a single end_with? - registers an offense - one of the parameters of the second call is not pure - doesn't register an offense - two #ends_with? calls - doesn't register an offense - a .start_with? and .end_with? call with the same receiver - doesn't register an offense - two #start_with? calls - with the same receiver - all parameters of the second call are pure - corrects to a single start_with? - registers an offense - one of the parameters of the second call is not pure - doesn't register an offense - with different receivers + for non-literal receiver + registers an offense + with an explicitly passed block + registers an offense + auto-corrects + with a block + auto-corrects + registers an offense + called on nothing doesn't register an offense -RuboCop::Cop::Performance::OpenStruct - does not register offense for Struct - registers an offense for OpenStruct.new - registers an offense for a fully qualified ::OpenStruct.new - -RuboCop::Cop::Performance::CaseWhenSplat - registers an offense for case when with a splat in the first condition - allows multiple splat conditions on variables at the end - registers an offense for splat conditions in when then - registers an offense for multiple out of order splat conditions - registers an offense for case when with a splat without an else - registers an offense for multiple splat conditions at the beginning - allows splat expansion on an array literal - registers an offense when splat is part of the condition - registers an offense for a splat on a variable that proceeds a splat on an array literal as the last condition - allows splat expansion on array literal as the last condition - registers an offense for splat condition that do not appear at the end - allows case when without splat - registers an offense for a single when with splat expansion followed by another value - allows splat on a variable in the last when condition - autocorrect - corrects a splat followed by array in the same condition - corrects nested case when statements - corrects splat on a variable and leaves an array literal alone - corrects splat condition when using when then - corrects a when with splat expansion followed by another value when there are multiple whens - moves a single splat condition to the end of the when conditions - corrects a single when with splat expansion followed by another value - moves multiple splat condition to the end of the when conditions - corrects an array followed by splat in the same condition - moves multiple out of order splat condition to the end of the when conditions - corrects a when with multiple out of order splat expansions followed by other values when there are multiple whens - corrects a splat as part of the condition - -RuboCop::Cop::Performance::CompareWithBlock - accepts min_by - autocorrects array.sort { |a, b| a.bar <=> b.bar } - autocorrects array.max { |a, b| a['foo'] <=> b['foo'] } - autocorrects array.max { |x, y| x.foo <=> y.foo } - autocorrects array.max { |a, b| a.foo <=> b.foo } - registers an offense for max with [:foo] - formats the error message correctly for array.min { |a, b| a.foo <=> b.foo } - autocorrects array.sort { |a, b| a.foo <=> b.foo } - formats the error message correctly for array.max { |a, b| a.foo <=> b.foo } - highlights compare method - autocorrects array.min { |x, y| x.foo <=> y.foo } - formats the error message correctly for array.sort { |a, b| a.foo <=> b.foo } - autocorrects array.max do |a, b| a.foo <=> b.foo end - formats the error message correctly for array.sort { |a, b| a[:foo] <=> b[:foo] } - accepts valid min usage - autocorrects array.max { |a, b| a[:foo] <=> b[:foo] } - formats the error message correctly for array.max { |a, b| a[:foo] <=> b[:foo] } - registers an offense for max with [1] - registers an offense for min with [:foo] - registers an offense for sort with [:foo] - autocorrects array.min do |a, b| a.foo <=> b.foo end - autocorrects array.max { |a, b| a[1] <=> b[1] } - autocorrects array.sort do |a, b| a.foo <=> b.foo end - autocorrects array.min { |a, b| a[:foo] <=> b[:foo] } - highlights compare method - autocorrects array.sort { |a, b| a[1] <=> b[1] } - registers an offense for max - accepts max_by - registers an offense for min with ['foo'] - registers an offense for sort with [1] - accepts sort_by - registers an offense for min - autocorrects array.min { |a, b| a['foo'] <=> b['foo'] } - registers an offense for sort - registers an offense for sort with ['foo'] - autocorrects array.sort { |x, y| x.foo <=> y.foo } - autocorrects array.max { |a, b| a.bar <=> b.bar } - autocorrects array.sort { |a, b| a[:foo] <=> b[:foo] } - highlights compare method - registers an offense for min with [1] - autocorrects array.min { |a, b| a[1] <=> b[1] } - autocorrects array.sort { |a, b| a['foo'] <=> b['foo'] } - accepts valid sort usage - accepts valid max usage - formats the error message correctly for array.min { |a, b| a[:foo] <=> b[:foo] } - autocorrects array.min { |a, b| a.bar <=> b.bar } - registers an offense for max with ['foo'] - autocorrects array.min { |a, b| a.foo <=> b.foo } - -RuboCop::Cop::Performance::StringReplacement - registers an offense when the pattern has non deterministic regex as a string - registers an offense when using escape characters in the pattern - registers an offense when using gsub! to find and replace a single character - registers an offense when using gsub to find and replace a single character - registers an offense when using escape characters in the replacement - registers an offense for gsub! when deleting one characters - accepts methods other than gsub - auto-correct - corrects to delete - corrects when the pattern uses Regexp.compile - corrects when deleting a single character - corrects when deleting an escape character - corrects when a regexp contains escapes - corrects when the pattern is a regex literal - corrects when the pattern uses Regexp.new - corrects when there are no brackets - corrects to tr - corrects when the pattern uses Regexp.new - corrects when the pattern is a regex literal using %r - corrects when the length of the pattern and replacement are one - corrects when the pattern contains a new line character - corrects when the pattern contains double backslash - corrects when the replacement contains escape backslash - corrects when replacing to a single quote - corrects when replacing to a double quote - corrects when the pattern is a regex literal - corrects when the replacement contains a new line character - corrects when the pattern uses Regexp.compile - behaves like accepts - accepts calls to gsub when the length of the pattern is longer than the length of the replacement - accepts calls to gsub when the length of the pattern is shorter than the length of the replacement - non deterministic parameters - allows empty regex pattern from string - accepts gsub with a block - allows regex with options - allows empty regex pattern from regex - allows regex literals with options - accepts a replacement with string interpolation - accepts gsub when the length of the pattern is greater than 1 - allows empty string pattern - accepts gsub with only one param - allows empty regex literal pattern - accepts the first param being a variable - accepts the both params being a variables - accepts the second param being a variable - accepts a pattern with string interpolation - non deterministic regex - allows regex constructor containing regex with interpolations - allows regex containing a $ - allows regex containing () - allows regex containing a + - allows regex containing a ? - allows regex containing a ^ - allows regex containing {} - allows regex containing a * - allows regex literal containing interpolations - allows regex containing [] - allows regex constructor containing a string with interpolations - allows regex containing a . - allows regex containing a backslash - allows regex containing escaped () - allows regex containing a | - behaves like accepts - accepts calls to gsub when the length of the pattern is shorter than the length of the replacement - accepts calls to gsub when the length of the pattern is longer than the length of the replacement - non deterministic parameters - accepts gsub when the length of the pattern is greater than 1 - allows empty regex pattern from string - accepts a replacement with string interpolation - allows empty string pattern - accepts the second param being a variable - accepts gsub with a block - allows regex literals with options - accepts the both params being a variables - allows empty regex pattern from regex - allows empty regex literal pattern - accepts gsub with only one param - accepts the first param being a variable - allows regex with options - accepts a pattern with string interpolation - deterministic regex - regex literal - registers an offense when replacing ; with a literal - registers an offense when deleting \u1234 - registers an offense when replacing \x65 with a literal - registers an offense when replacing ! with a literal - registers an offense when replacing 1 with a literal - registers an offense when deleting ! - registers an offense when deleting 3 - registers an offense when replacing & with a literal - registers an offense when replacing ' with a literal - registers an offense when replacing - with a literal - registers an offense when replacing a with a literal - registers an offense when using %r notation - registers an offense when replacing # with a literal - registers an offense when deleting % - registers an offense when replacing = with a literal - registers an offense when replacing \u1234 with a literal - registers an offense when deleting " -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - registers an offense when replacing \y with a literal - registers an offense when replacing " with a literal - registers an offense when replacing 3 with a literal - registers an offense when replacing b with a literal - registers an offense when deleting 2 - allows deterministic regex when the length of the pattern and the length of the replacement do not match - registers an offense when replacing \\ with a literal - registers an offense when replacing > with a literal - registers an offense when deleting \r - registers an offense when deleting _ - registers an offense when replacing 2 with a literal - registers an offense when replacing c with a literal - registers an offense when deleting # - registers an offense when using space - registers an offense when escape characters in regex - registers an offense when deleting \x65 - registers an offense when deleting a - registers an offense when replacing ` with a literal - registers an offense when deleting > - registers an offense when replacing , with a literal - registers an offense when deleting , - registers an offense when replacing : with a literal - registers an offense when replacing _ with a literal - registers an offense when replacing \r with a literal - registers an offense when deleting ~ - registers an offense when deleting = - registers an offense when deleting ; - registers an offense when deleting - - registers an offense when deleting < - registers an offense when replacing < with a literal - registers an offense when deleting b - registers an offense when deleting 1 - registers an offense when deleting ` -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - registers an offense when deleting \y - registers an offense when deleting c - registers an offense when replacing % with a literal - registers an offense when deleting ' - registers an offense when deleting & - registers an offense when deleting \\ - registers an offense when deleting : - registers an offense when replacing ~ with a literal - regex constructor - registers an offense when only using word characters - registers an offense when using compile - registers an offense when regex is built from regex - -RuboCop::Cop::Performance::EndWith - when `SafeMultiline: false` - autocorrects /\|\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects /\y\z/.match? str - autocorrects str.match /\.\z/ - doesn't register an error for /\b\z/.match str - doesn't register an error for str =~ /\b\z/ - doesn't register an error for str.match? /\G\z/ - doesn't register an error for str.match? /.\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects str.match? /\i\z/ - doesn't register an error for /\X\z/.match? str - doesn't register an error for /\Z\z/.match str - autocorrects /\n\z/ =~ str - autocorrects /\e\z/.match? str - doesn't register an error for /\W\z/.match? str - doesn't register an error for str =~ /\S\z/ - doesn't register an error for /$\z/.match str - formats the error message correctly for str.match? /abc\z/ - doesn't register an error for /\w\z/.match? str - autocorrects /\f\z/.match? str - autocorrects str.match? /\f\z/ - doesn't register an error for /\D\z/.match str - autocorrects str.match? /\t\z/ - autocorrects str.match? /\a\z/ - doesn't register an error for /.\z/ =~ str - autocorrects str.match? /\v\z/ - doesn't register an error for str =~ /\R\z/ - doesn't register an error for /\d\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects /\i\z/.match? str - doesn't register an error for /\R\z/.match? str - doesn't register an error for str.match /\G\z/ - doesn't register an error for str.match? /$\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects /\q\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects str.match /\q\z/ - autocorrects str =~ /\^\z/ - doesn't register an error for /\b\z/ =~ str - doesn't register an error for str.match? /\D\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects /\l\z/.match? str - autocorrects /\o\z/.match? str - doesn't register an error for str =~ /|\z/ - doesn't register an error for /\B\z/ =~ str - doesn't register an error for str =~ /\d\z/ - autocorrects /\$\z/ =~ str - autocorrects /\o\z/.match str - doesn't register an error for str.match? /\W\z/ - doesn't register an error for /\W\z/.match str - autocorrects str.match /\\\z/ - autocorrects /\\\z/ =~ str - doesn't register an error for /\z\z/.match str - autocorrects str.match /\o\z/ - doesn't register an error for /|\z/.match str - doesn't register an error for /$\z/ =~ str - autocorrects /\t\z/ =~ str - doesn't register an error for /\A\z/.match? str - autocorrects str =~ /\\\z/ - doesn't register an error for /\D\z/.match? str - doesn't register an error for str.match /|\z/ - doesn't register an error for str =~ /\G\z/ - autocorrects str.match? /\e\z/ - doesn't register an error for /\H\z/.match str - autocorrects /\|\z/.match? str - doesn't register an error for /^\z/ =~ str - doesn't register an error for /\b\z/.match? str - doesn't register an error for str.match /.\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects str.match /\m\z/ - doesn't register an error for str.match? /|\z/ - autocorrects str =~ /abc\z/ - autocorrects str.match /\a\z/ - doesn't register an error for str.match? /\z\z/ - doesn't register an error for str =~ /\S\z/ - autocorrects /\$\z/.match? str - doesn't register an error for str.match /\S\z/ - doesn't register an error for str.match? /\R\z/ - autocorrects /\\\z/.match str - autocorrects /\v\z/.match str - doesn't register an error for /\R\z/ =~ str - doesn't register an error for /\S\z/.match str - doesn't register an error for /\S\z/.match? str - autocorrects str.match /abc$/ - doesn't register an error for str.match? /\B\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects str.match? /\y\z/ - doesn't register an error for str.match /^\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects /\l\z/ =~ str - autocorrects /\t\z/.match str - autocorrects str =~ /\e\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects str.match /\i\z/ - autocorrects str.match? /abc$/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects /\l\z/.match str - autocorrects /abc\z/ =~ str - autocorrects str =~ /\a\z/ - doesn't register an error for /\s\z/ =~ str - autocorrects /\t\z/ =~ str - doesn't register an error for str.match /\b\z/ - autocorrects /\\\z/.match? str - doesn't register an error for str.match /\w\z/ - autocorrects /abc\z/.match str - autocorrects /\t\z/.match str - autocorrects /\a\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects str =~ /\y\z/ - autocorrects /abc$/ =~ str - doesn't register an error for str =~ /\H\z/ - formats the error message correctly for str.match /abc\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects str =~ /\q\z/ - autocorrects str =~ /\t\z/ - doesn't register an error for /^\z/.match? str - doesn't register an error for /\w\z/ =~ str - doesn't register an error for /\S\z/ =~ str - autocorrects /\|\z/ =~ str - doesn't register an error for /^\z/.match str - autocorrects /abc$/.match? str - doesn't register an error for str.match /\S\z/ - autocorrects /\r\z/ =~ str - autocorrects /\r\z/.match str - autocorrects str =~ /abc$/ - doesn't register an error for str.match? /\S\z/ - doesn't register an error for str.match? /\s\z/ - doesn't register an error for /\d\z/.match? str - doesn't register an error for /\s\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects /\y\z/ =~ str - doesn't register an error for str.match /\D\z/ - autocorrects /\.\z/ =~ str - autocorrects /\o\z/ =~ str - autocorrects /\t\z/.match? str - doesn't register an error for /\h\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects str.match /\y\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects /\q\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects /\q\z/.match str - autocorrects /\v\z/.match? str - autocorrects str.match /\v\z/ - doesn't register an error for /|\z/.match? str - autocorrects str.match /\r\z/ - doesn't register an error for str.match /\W\z/ - doesn't register an error for /\G\z/ =~ str - autocorrects str.match? /\$\z/ - doesn't register an error for str.match /$\z/ - doesn't register an error for /\Z\z/ =~ str - autocorrects /\n\z/.match? str - autocorrects str =~ /\.\z/ - doesn't register an error for /\G\z/.match? str - doesn't register an error for str.match? /\Z\z/ - doesn't register an error for /\D\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects /\m\z/.match str - doesn't register an error for str.match? /\b\z/ - autocorrects str.match /\|\z/ - doesn't register an error for /$\z/.match? str - doesn't register an error for /\h\z/ =~ str - autocorrects str =~ /\f\z/ - doesn't register an error for str.match? /\w\z/ - autocorrects str.match? /\o\z/ - autocorrects str.match? /\r\z/ - doesn't register an error for str.match? /^\z/ - doesn't register an error for str.match? /\H\z/ - autocorrects str =~ /\n\z/ - doesn't register an error for str.match? /\h\z/ - autocorrects str.match? /abc\z/ - doesn't register an error for /\W\z/ =~ str - doesn't register an error for str.match? /\S\z/ - autocorrects str.match? /\|\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects str =~ /\l\z/ - autocorrects /\^\z/.match str - autocorrects /abc$/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects str =~ /\i\z/ - doesn't register an error for /\Z\z/.match? str - doesn't register an error for /\A\z/.match str - autocorrects str =~ /\t\z/ - doesn't register an error for str.match /\X\z/ - doesn't register an error for /\H\z/.match? str - doesn't register an error for str =~ /\X\z/ - doesn't register an error for str =~ /\Z\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects /\j\z/ =~ str - doesn't register an error for /\H\z/ =~ str - doesn't register an error for str.match /\R\z/ - autocorrects str.match /abc\z/ - autocorrects str.match /\$\z/ - doesn't register an error for str.match /\H\z/ - autocorrects /\.\z/.match? str - autocorrects /\.\z/.match str - doesn't register an error for str.match /\s\z/ - autocorrects /\t\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects /\i\z/.match str - doesn't register an error for str =~ /\h\z/ - formats the error message correctly for str =~ /abc\z/ - doesn't register an error for str =~ /\B\z/ - doesn't register an error for str.match /\h\z/ - formats the error message correctly for /abc\z/.match str - doesn't register an error for str =~ /.\z/ - autocorrects str =~ /\$\z/ - autocorrects str.match? /\t\z/ - doesn't register an error for str.match /\B\z/ - doesn't register an error for /\s\z/.match str - doesn't register an error for str.match? /\A\z/ - autocorrects str.match /\^\z/ - autocorrects str.match /\t\z/ - doesn't register an error for /\d\z/ =~ str - doesn't register an error for /\w\z/.match str - doesn't register an error for str.match? /\d\z/ - autocorrects /\e\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects str.match? /\l\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects str.match /\j\z/ - autocorrects str.match /\n\z/ - autocorrects /\a\z/.match str - autocorrects /\^\z/.match? str - doesn't register an error for /\X\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects str.match? /\m\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects str.match? /\j\z/ - doesn't register an error for str.match? /\X\z/ - doesn't register an error for /.\z/.match str - doesn't register an error for /\B\z/.match str - autocorrects /\f\z/ =~ str - autocorrects str.match /\t\z/ - autocorrects /\^\z/ =~ str - allows match without a receiver -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects str =~ /\j\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i\z/ - autocorrects /\i\z/ =~ str - doesn't register an error for str =~ /$\z/ - doesn't register an error for /.\z/.match? str - autocorrects /abc\z/.match? str - doesn't register an error for str =~ /\W\z/ - doesn't register an error for /\z\z/.match? str - doesn't register an error for /\S\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q\z/ - autocorrects str.match? /\q\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects /\m\z/.match? str - autocorrects /\$\z/.match str - doesn't register an error for str =~ /\s\z/ - doesn't register an error for /\S\z/.match? str - doesn't register an error for str.match /\Z\z/ - autocorrects str.match /\f\z/ - autocorrects /\v\z/ =~ str - doesn't register an error for /\h\z/.match? str - autocorrects /\e\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l\z/ - autocorrects str.match /\l\z/ - autocorrects str =~ /\v\z/ - doesn't register an error for /|\z/ =~ str - autocorrects /\r\z/.match? str - doesn't register an error for str.match /\d\z/ - autocorrects /\f\z/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects /\j\z/.match str - autocorrects str.match? /\n\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j\z/ - autocorrects /\j\z/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects /\m\z/ =~ str - doesn't register an error for str =~ /\D\z/ - autocorrects str.match? /\\\z/ - doesn't register an error for str =~ /^\z/ - doesn't register an error for /\B\z/.match? str - autocorrects str.match /\e\z/ - doesn't register an error for /\R\z/.match str - autocorrects str =~ /\o\z/ - formats the error message correctly for /abc\z/ =~ str - doesn't register an error for str =~ /\A\z/ - autocorrects str.match? /\.\z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y\z/ - autocorrects /\y\z/.match str - doesn't register an error for /\X\z/.match str - doesn't register an error for str.match /\z\z/ - autocorrects /\n\z/.match str - autocorrects /\a\z/ =~ str - doesn't register an error for /\A\z/ =~ str - doesn't register an error for /\G\z/.match str - autocorrects str =~ /\|\z/ - doesn't register an error for /\S\z/.match str - autocorrects str.match? /\^\z/ - formats the error message correctly for /abc\z/.match? str - doesn't register an error for str.match /\A\z/ - doesn't register an error for str =~ /\w\z/ - doesn't register an error for /\z\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m\z/ - autocorrects str =~ /\m\z/ - autocorrects str =~ /\r\z/ - doesn't register an error for str =~ /\z\z/ - when `SafeMultiline: true` - does not register an offense using `$` as ending pattern - -RuboCop::Cop::Performance::FlatMap - configured to warn when flatten is not called with parameters - behaves like map_and_collect - does not register an offense when calling map...flatten with a number greater than 1 - corrects map..flatten(1) to flat_map - registers an offense when calling map(&foo).flatten(1) - registers an offense when calling map(&:foo).flatten(1) - corrects map(&foo).flatten to flat_map - does not register an offense when calling map!...flatten - registers an offense when calling map...flatten(1) - corrects map(&:foo).flatten to flat_map - behaves like flatten_with_params_enabled - registers an offense when calling map...flatten - will not correct map..flatten to flat_map - behaves like map_and_collect - registers an offense when calling collect...flatten!(1) - corrects collect..flatten!(1) to flat_map - registers an offense when calling collect(&:foo).flatten!(1) - registers an offense when calling collect(&foo).flatten!(1) - corrects collect(&:foo).flatten! to flat_map - does not register an offense when calling collect!...flatten! - corrects collect(&foo).flatten! to flat_map - does not register an offense when calling collect...flatten! with a number greater than 1 - behaves like flatten_with_params_enabled - registers an offense when calling map...flatten! - will not correct map..flatten! to flat_map - behaves like flatten_with_params_enabled - registers an offense when calling collect...flatten! - will not correct collect..flatten! to flat_map - behaves like map_and_collect - does not register an offense when calling collect...flatten with a number greater than 1 - registers an offense when calling collect(&:foo).flatten(1) - corrects collect..flatten(1) to flat_map - does not register an offense when calling collect!...flatten - corrects collect(&:foo).flatten to flat_map - registers an offense when calling collect(&foo).flatten(1) - registers an offense when calling collect...flatten(1) - corrects collect(&foo).flatten to flat_map - behaves like map_and_collect - does not register an offense when calling map!...flatten! - corrects map(&foo).flatten! to flat_map - registers an offense when calling map...flatten!(1) - registers an offense when calling map(&:foo).flatten!(1) - corrects map..flatten!(1) to flat_map - does not register an offense when calling map...flatten! with a number greater than 1 - corrects map(&:foo).flatten! to flat_map - registers an offense when calling map(&foo).flatten!(1) - behaves like flatten_with_params_enabled - registers an offense when calling collect...flatten - will not correct collect..flatten to flat_map - configured to only warn when flattening one level - behaves like map_and_collect - registers an offense when calling collect(&:foo).flatten!(1) - corrects collect..flatten!(1) to flat_map - registers an offense when calling collect(&foo).flatten!(1) - corrects collect(&:foo).flatten! to flat_map - registers an offense when calling collect...flatten!(1) - corrects collect(&foo).flatten! to flat_map - does not register an offense when calling collect...flatten! with a number greater than 1 - does not register an offense when calling collect!...flatten! - behaves like map_and_collect - registers an offense when calling collect(&foo).flatten(1) - corrects collect..flatten(1) to flat_map - registers an offense when calling collect...flatten(1) - corrects collect(&foo).flatten to flat_map - does not register an offense when calling collect!...flatten - does not register an offense when calling collect...flatten with a number greater than 1 - registers an offense when calling collect(&:foo).flatten(1) - corrects collect(&:foo).flatten to flat_map - behaves like map_and_collect - registers an offense when calling map(&foo).flatten!(1) - does not register an offense when calling map...flatten! with a number greater than 1 - corrects map(&:foo).flatten! to flat_map - does not register an offense when calling map!...flatten! - registers an offense when calling map...flatten!(1) - corrects map(&foo).flatten! to flat_map - registers an offense when calling map(&:foo).flatten!(1) - corrects map..flatten!(1) to flat_map - behaves like flatten_with_params_disabled - does not register an offense when calling map...flatten - behaves like map_and_collect - registers an offense when calling map(&foo).flatten(1) - corrects map(&foo).flatten to flat_map - registers an offense when calling map(&:foo).flatten(1) - registers an offense when calling map...flatten(1) - corrects map..flatten(1) to flat_map - does not register an offense when calling map...flatten with a number greater than 1 - corrects map(&:foo).flatten to flat_map - does not register an offense when calling map!...flatten - behaves like flatten_with_params_disabled - does not register an offense when calling collect...flatten! - behaves like flatten_with_params_disabled - does not register an offense when calling map...flatten! - behaves like flatten_with_params_disabled - does not register an offense when calling collect...flatten - -RuboCop::Cop::Performance::AncestorsInclude - registers an offense and corrects when using `ancestors.include?` - does not register an offense when using `<=` - registers an offense and corrects when using `ancestors.include?` without receiver - -RuboCop::Cop::Performance::Detect - doesn't register an offense when first(n) is called on select - registers an offense when select is calledon `lazy` without receiver - registers an offense when last is called on select short syntax - registers an offense when first is called on multiline find_all - doesn't register an offense when last(n) is called on select - does not register an offense when find_all is calledwithout block or args - does not register an offense when select is calledon lazy enumerable - registers an offense when last is called on select - registers an offense when first is called on multiline select - registers an offense when first is called on select - registers an offense when last is called on multiline select - does not register an offense when select is used without first or last - does not register an offense when find_all is calledon lazy enumerable - registers an offense when first is called on find_all - doesn't register an offense when first(n) is called on find_all - doesn't register an offense when last(n) is called on find_all - registers an offense when find_all is calledon `lazy` without receiver - registers an offense when last is called on multiline find_all - does not register an offense when find_all is calledwith args but without ampersand syntax - registers an offense when first is called on select short syntax - does not register an offense when select is calledwith args but without ampersand syntax - does not register an offense when find_all is used without first or last - registers an offense when last is called on find_all - does not register an offense when select is calledwithout block or args - registers an offense when last is called on find_all short syntax - does not register an offense when detect is used - registers an offense when first is called on find_all short syntax - autocorrect - behaves like detect_autocorrect - with find - corrects select.first to find (with block) - corrects find_all.first to find (short syntax) - corrects multiline find_all to find with 'first' on the last line (short syntax) - corrects find_all.last to reverse.find (multiline) - corrects select.last to reverse.find (multiline) - corrects select.first to find (short syntax) - corrects find_all.last to reverse.find (with block) - corrects multiline select to find with 'first' on the last line - corrects find_all.first to find (with block) - corrects find_all.last to reverse.find (short syntax) - corrects select.last to reverse.find (with block) - corrects multiline find_all to find with 'first' on the last line - corrects find_all.first to find (multiline) - corrects select.first to find (multiline) - corrects multiline select to find with 'first' on the last line (short syntax) - corrects select.last to reverse.find (short syntax) - behaves like detect_autocorrect - with detect - corrects find_all.last to reverse.detect (multiline) - corrects select.last to reverse.detect (short syntax) - corrects find_all.last to reverse.detect (short syntax) - corrects select.first to detect (multiline) - corrects select.first to detect (with block) - corrects select.first to detect (short syntax) - corrects find_all.first to detect (with block) - corrects find_all.first to detect (multiline) - corrects find_all.first to detect (short syntax) - corrects multiline select to detect with 'first' on the last line - corrects multiline find_all to detect with 'first' on the last line (short syntax) - corrects multiline find_all to detect with 'first' on the last line - corrects select.last to reverse.detect (multiline) - corrects multiline select to detect with 'first' on the last line (short syntax) - corrects find_all.last to reverse.detect (with block) - corrects select.last to reverse.detect (with block) - -RuboCop::Cop::Performance::StringInclude - autocorrects /\e.match? str/ - autocorrects /\?/.match str - doesn't register an error for /\S/ =~ str - doesn't register an error for str.match? /\h/ - autocorrects str.match? /\*/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects /\l =~ str/ - autocorrects /\\/.match? str - doesn't register an error for str =~ /\b/ - doesn't register an error for /prefix?/ =~ str - doesn't register an error for str.match? /\S/ - autocorrects /\*/.match str - doesn't register an error for /\s/ =~ str - autocorrects str =~ /\|/ - doesn't register an error for /\Z/ =~ str - doesn't register an error for str =~ /\X/ - formats the error message correctly for str =~ /abc/ - doesn't register an error for str.match /\d/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects str =~ /\l/ - doesn't register an error for /\z/.match? str - doesn't register an error for /\d/ =~ str - autocorrects /\?/ =~ str - autocorrects str.match /abc/ - autocorrects str.match? /\\/ - autocorrects str.match /\\/ - doesn't register an error for str.match /prefix^/ - doesn't register an error for str =~ /\z/ - autocorrects /\./.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects str =~ /\m/ - doesn't register an error for str =~ /prefix^/ - allows argument of `match?` is not a string literal - doesn't register an error for str.match? /\G/ - doesn't register an error for /\X/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects str =~ /\j/ - doesn't register an error for str.match? /\b/ - doesn't register an error for str.match /prefix./ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects str.match? /\y/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects str.match /\y/ - autocorrects /\./.match? str - autocorrects str.match? /\e/ - doesn't register an error for /\B/.match? str - autocorrects /\\/.match str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects str.match? /\l/ - autocorrects /\|/.match str - autocorrects /\?/.match? str - autocorrects /\^/ =~ str - doesn't register an error for str =~ /prefix*/ - doesn't register an error for str =~ /\G/ - formats the error message correctly for /abc/.match? str - doesn't register an error for /\b/.match? str - doesn't register an error for /\A/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects str =~ /\y/ - doesn't register an error for str.match? /\S/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects /\i.match? str/ - doesn't register an error for /\b/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects str.match? /\j/ - doesn't register an error for str.match? /\W/ - doesn't register an error for /prefix./.match? str - doesn't register an error for str.match? /\D/ - doesn't register an error for str.match /\D/ - autocorrects /\|/.match? str - doesn't register an error for str =~ /\S/ - doesn't register an error for str.match? /\d/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects /\j.match str/ - doesn't register an error for str.match? /\X/ - autocorrects /\t.match str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects /\q.match str/ - autocorrects /\r.match? str/ - doesn't register an error for str =~ /\w/ - doesn't register an error for str =~ /\h/ - autocorrects str =~ /\?/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects /\m.match str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects /\l.match str/ - doesn't register an error for /\z/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects /\j.match? str/ - doesn't register an error for /prefix|/.match str - autocorrects str =~ /\*/ - autocorrects str.match /\$/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects /\m.match? str/ - doesn't register an error for /\G/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects str.match? /\q/ - doesn't register an error for /prefix|/ =~ str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects str.match /\m/ - doesn't register an error for str =~ /\A/ - formats the error message correctly for /abc/ =~ str - autocorrects str.match? /\o/ - autocorrects /\*/ =~ str - autocorrects str =~ /abc/ - doesn't register an error for str =~ /\d/ - doesn't register an error for /\D/.match str - autocorrects /\a =~ str/ - autocorrects /\$/.match? str - autocorrects /abc/ =~ str - autocorrects /\a.match str/ - doesn't register an error for str.match? /\w/ - doesn't register an error for /\D/ =~ str - doesn't register an error for str.match? /\B/ - doesn't register an error for str.match? /prefix*/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects /\l.match? str/ - doesn't register an error for /prefix$/.match? str - autocorrects str =~ /\./ - doesn't register an error for /\S/.match? str - autocorrects /abc/.match str - autocorrects /\*/.match? str - autocorrects str.match? /abc/ - doesn't register an error for str.match? /prefix?/ - doesn't register an error for /\H/ =~ str - doesn't register an error for /\h/.match str - autocorrects str.match /\v/ - autocorrects /\e =~ str/ - doesn't register an error for str =~ /\B/ - autocorrects str.match /\a/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects str.match? /\m/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects str.match? /\i/ - autocorrects str.match /\f/ - doesn't register an error for /\w/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects str =~ /\q/ - doesn't register an error for str.match? /\Z/ - doesn't register an error for str.match? /\A/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects /\y.match? str/ - formats the error message correctly for str.match /abc/ - autocorrects /\f.match? str/ - autocorrects /\v.match? str/ - autocorrects /\f.match str/ - doesn't register an error for str.match /\B/ - doesn't register an error for /\S/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects /\q.match? str/ - autocorrects /\$/ =~ str - doesn't register an error for /prefix*/.match? str - doesn't register an error for str.match /prefix|/ - doesn't register an error for /\R/.match? str - doesn't register an error for str.match /\A/ - allows match without a receiver - autocorrects /\t =~ str/ - doesn't register an error for str =~ /\W/ - doesn't register an error for str.match /\Z/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects /\y =~ str/ - doesn't register an error for /prefix$/ =~ str - doesn't register an error for str =~ /\s/ - doesn't register an error for str.match /\z/ - autocorrects str.match? /\r/ - doesn't register an error for str =~ /\H/ - doesn't register an error for /\S/ =~ str - doesn't register an error for /prefix^/ =~ str - doesn't register an error for str.match /\w/ - doesn't register an error for str.match? /\s/ - doesn't register an error for str =~ /prefix|/ - doesn't register an error for str =~ /prefix./ - doesn't register an error for /prefix./ =~ str - autocorrects str =~ /\a/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \y is ignored: /\y/ - autocorrects /\y.match str/ - doesn't register an error for /\B/ =~ str - doesn't register an error for /prefix?/.match str - doesn't register an error for str.match /\R/ - autocorrects str =~ /\e/ - doesn't register an error for /\z/.match str - doesn't register an error for /prefix*/ =~ str - doesn't register an error for str.match /\S/ - doesn't register an error for str.match? /prefix./ - doesn't register an error for /\h/ =~ str - autocorrects /\r =~ str/ - doesn't register an error for str =~ /prefix?/ - doesn't register an error for /prefix^/.match str - doesn't register an error for str.match /\W/ - autocorrects str =~ /\t/ - doesn't register an error for /\H/.match str - doesn't register an error for str.match? /prefix|/ - doesn't register an error for /\W/.match str - doesn't register an error for /\X/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects str =~ /\i/ - doesn't register an error for /\X/.match str - doesn't register an error for /\s/.match? str - doesn't register an error for /prefix*/.match str - autocorrects str =~ /\$/ - doesn't register an error for /\h/.match? str - doesn't register an error for /\S/.match str - doesn't register an error for /\H/.match? str - autocorrects /\|/ =~ str - autocorrects /\t.match? str/ - doesn't register an error for str.match /\G/ - doesn't register an error for str.match /\s/ - doesn't register an error for str =~ /\Z/ - autocorrects /\e.match str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects /\i =~ str/ - doesn't register an error for str =~ /\D/ - doesn't register an error for /\B/.match str - autocorrects /\v.match str/ - doesn't register an error for str.match /prefix*/ - autocorrects /\a.match? str/ - doesn't register an error for str.match /prefix$/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \m is ignored: /\m/ - autocorrects /\m =~ str/ - autocorrects str.match? /\$/ - doesn't register an error for /prefix|/.match? str - autocorrects str.match? /\?/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects str.match /\i/ - autocorrects str.match /\|/ - autocorrects str.match? /\v/ - autocorrects str.match? /\^/ - autocorrects str.match /\e/ - doesn't register an error for str.match /prefix?/ - doesn't register an error for /prefix^/.match? str - doesn't register an error for /\W/ =~ str - autocorrects str.match /\t/ - formats the error message correctly for str.match? /abc/ - doesn't register an error for /\d/.match str - autocorrects str.match /\?/ - autocorrects str.match /\r/ - doesn't register an error for /\A/.match? str - doesn't register an error for /\R/ =~ str - doesn't register an error for /\A/.match str - doesn't register an error for str.match /\h/ - doesn't register an error for /\D/.match? str - doesn't register an error for /\W/.match? str - autocorrects str =~ /\o/ - doesn't register an error for /\w/ =~ str - autocorrects /\v =~ str/ - autocorrects str.match /\./ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects /\j =~ str/ - autocorrects str.match? /\./ - doesn't register an error for str.match? /prefix$/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \i is ignored: /\i/ - autocorrects /\i.match str/ - doesn't register an error for /\G/.match str - autocorrects str.match? /\a/ - doesn't register an error for /prefix?/.match? str - autocorrects /abc/.match? str -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects /\q =~ str/ - doesn't register an error for /\w/.match str - doesn't register an error for str.match? /\z/ - autocorrects str.match /\^/ - doesn't register an error for str.match /\b/ - doesn't register an error for /\Z/.match str - autocorrects str =~ /\^/ - doesn't register an error for /\Z/.match? str - autocorrects str =~ /\\/ - autocorrects str =~ /\v/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \q is ignored: /\q/ - autocorrects str.match /\q/ - doesn't register an error for str.match? /\R/ - doesn't register an error for /\G/.match? str - autocorrects /\./ =~ str - doesn't register an error for str.match /\X/ - formats the error message correctly for /abc/.match str - autocorrects /\f =~ str/ - doesn't register an error for /prefix./.match str - autocorrects /\o.match? str/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \l is ignored: /\l/ - autocorrects str.match /\l/ - doesn't register an error for str.match /\S/ - doesn't register an error for /\d/.match? str - doesn't register an error for /\s/.match str - doesn't register an error for str.match? /prefix^/ - doesn't register an error for str.match? /\H/ - autocorrects /\o =~ str/ - doesn't register an error for str =~ /\R/ - autocorrects str.match /\o/ - autocorrects /\o.match str/ - doesn't register an error for /\R/.match str - autocorrects str =~ /\f/ - autocorrects /\^/.match? str - autocorrects str.match? /\f/ - autocorrects /\r.match str/ - autocorrects /\^/.match str - autocorrects str.match? /\t/ - autocorrects str.match? /\|/ - autocorrects /\\/ =~ str - doesn't register an error for /\b/.match str - autocorrects /\$/.match str - autocorrects str.match /\*/ - doesn't register an error for str =~ /\S/ -/usr/share/rubygems-integration/all/gems/parser-3.3.4.2/lib/parser/builders/default.rb:2266: warning: Unknown escape \j is ignored: /\j/ - autocorrects str.match /\j/ - autocorrects str =~ /\r/ - doesn't register an error for /\S/.match str - doesn't register an error for str =~ /prefix$/ - doesn't register an error for str.match /\H/ - doesn't register an error for /prefix$/.match str - -RuboCop::Cop::Performance::Count - allows usage of count on an interstitial method called on select - allows usage of size called on an assigned variable - allows usage of size on an array - allows usage of another method with size - allows usage of methods called on size - allows usage of count on an interstitial method with blocks called on select - allows usage of count on an array - behaves like selectors - registers an offense for using hash.reject...count - allows usage of reject...count with a block on a hash - registers an offense for reject(&:something).count - registers an offense for using hash.reject...length - allows usage of reject...count with a block on an array - registers an offense for reject with params instead of a block - registers an offense for using array.reject...size - registers an offense for using array.reject...length - registers an offense for reject(&:something).count when called as an instance method on its own class - registers an offense for using hash.reject...size - allows usage of reject without getting the size - registers an offense for using array.reject...count - bang methods - allows usage of reject!...count - allows usage of reject!...size - allows usage of reject!...length - ActiveRecord select - allows usage of select with a string - allows usage of select with a symbol - allows usage of select with multiple symbols - allows usage of select with multiple strings - behaves like selectors - registers an offense for using array.select...count - registers an offense for select with params instead of a block - registers an offense for using array.select...length - allows usage of select...count with a block on an array - allows usage of select...count with a block on a hash - registers an offense for using hash.select...length - registers an offense for select(&:something).count when called as an instance method on its own class - allows usage of select without getting the size - registers an offense for using hash.select...size - registers an offense for using array.select...size - registers an offense for using hash.select...count - registers an offense for select(&:something).count - bang methods - allows usage of select!...count - allows usage of select!...length - allows usage of select!...size - autocorrect - will not correct - reject...count - reject...size when select has parameters - reject...size - reject...length - select...count when count has a block - will correct - select...size when select has parameters - select..size to count - select..count without a block to count - select..length to count - properly parses non related code - will not raise an error for RakeTask.new - will not raise an error for Bundler.setup - -RuboCop::Cop::Performance::ReverseEach - does not register an offense when each is used without reverse - registers an offense for a multi-line reverse.each - registers an offense when each is called on reverse on a variable - registers an offense when each is called on reverse - registers an offense when each is called on reverse on a method call - does not register an offense when reverse is used without each - autocorrect - corrects reverse.each to reverse_each - corrects reverse.each to reverse_each on a variable - corrects a multi-line reverse_each - corrects reverse.each to reverse_each on a method call - -RuboCop::Cop::Performance::DeleteSuffix - TargetRubyVersion >= 2.5 - does not register an offense when using `delete_suffix!` - does not register an offense when using `delete_suffix` - when using non-ending pattern - does not register an offense when using `gsub` - does not register an offense when using `sub!` - does not register an offense when using `sub` - does not register an offense when using `gsub!` - when using `$` as ending pattern - when `SafeMultiline: false` - registers an offense and corrects when using `sub!` - registers an offense and corrects when using `gsub` - registers an offense and corrects when using `sub` - registers an offense and corrects when using `gsub!` - when `SafeMultiline: true` - does not register an offense and corrects when using `sub` - does not register an offense and corrects when using `gsub` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `sub!` - with starting pattern `\A` and ending pattern `\z` - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `sub` - does not register an offense and corrects when using `gsub` - does not register an offense and corrects when using `sub!` - when using `\z` as ending pattern - registers an offense and corrects when `sub(/suffixz/, '')` - registers an offense and corrects when `gsub(/suffixz/, '')` - registers an offense and corrects when `sub!(/suffixz/, '')` - registers an offense and corrects when `gsub!(/suffixz/, '')` - when using a non-blank string as replacement string - does not register an offense and corrects when using `gsub!` - does not register an offense and corrects when using `gsub` - does not register an offense and corrects when using `sub` - does not register an offense and corrects when using `sub!` - TargetRubyVersion <= 2.4 - does not register an offense when using `gsub!(/suffixz/, '')` - does not register an offense when using `gsub(/suffixz/, '')` - does not register an offense when using `sub(/suffixz/, '')` - does not register an offense when using `sub!(/suffixz/, '')` - -RuboCop::Cop::Performance::SortReverse - does not register an offense when using `sort.reverse` - does not register an offense when sorting in direct order - registers an offense and corrects when sorting in reverse order - does not register an offense when sorting in reverse order by some property - RuboCop::Cop::Performance::BigDecimalWithNumericArgument does not register an offense when using `BigDecimal` with float and non-literal precision registers an offense and corrects when using `BigDecimal` with integer - does not register an offense when using `BigDecimal` with float, precision, and a keyword argument does not register an offense when using `BigDecimal` with string - registers an offense and corrects when using `BigDecimal` with float does not register an offense when using `BigDecimal` with float and precision + does not register an offense when using `BigDecimal` with float, precision, and a keyword argument + registers an offense and corrects when using `BigDecimal` with float + +RuboCop::Cop::Performance::RedundantStringChars + does not register an offense when using `str.chars.max` + registers an offense and corrects when using `str.chars.length` + registers an offense and corrects when using `str.chars[0..2]` + registers an offense and corrects when using `str.chars.last` + registers an offense and corrects when using `str.chars.drop(2)` + registers an offense and corrects when using `str.chars.slice(0..2)` + registers an offense and corrects when using `str.chars.first` + registers an offense and corrects when using `str.chars.last(2)` + registers an offense and corrects when using `str.chars.take(2)` + registers an offense and corrects when using `str.chars.empty?` + registers an offense and corrects when using `str.chars.size` + registers an offense and corrects when using `str.chars.first(2)` -Finished in 34.82 seconds (files took 3.02 seconds to load) +Finished in 32.79 seconds (files took 2.17 seconds to load) 7975 examples, 0 failures -Randomized with seed 47316 +Randomized with seed 37687 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -17920,12 +17956,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/78765/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/78765/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/3915829 and its subdirectories -I: Current time: Mon Jan 20 20:33:48 -12 2025 -I: pbuilder-time-stamp: 1737448428 +I: removing directory /srv/workspace/pbuilder/78765 and its subdirectories +I: Current time: Tue Feb 24 04:58:52 +14 2026 +I: pbuilder-time-stamp: 1771858732