Since there is not any \(BRE\) in your LHS, then ${1} could be the
whole matching BRE, but there will never be a ${2}.
Personal advice: start to test REs with sed, sed -E or perl.
--
« The only thing necessary for the triumph of evil
is for good men to do nothing. »
Edmund Burke
--------
daniel Azuelos
