Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Nils WernerNils WernerReporter
Karim El OuerghemmiKarim El OuerghemmiLabels
Fix versions
Priority
Normal
Details
Details
Assignee
Nils Werner
Nils WernerReporter
Karim El Ouerghemmi
Karim El OuerghemmiLabels
Fix versions
Priority

Sentry
Sentry
Sentry
Created December 9, 2021 at 10:46 AM
Updated October 16, 2024 at 2:37 PM
Resolved January 28, 2022 at 9:04 AM
RSPEC PR: https://github.com/SonarSource/rspec/pull/654
The rule should raise whenever a reference to a nonexistent group is made in the $replacement argument passed to preg_replace().
To note:
The backreferences can be of the form \n, $n, or ${n}. Where n is the group we are referring to.
Named backreferences do not seem possible. However, named groups can still be referenced to by their number.