Problem: in short the question is how to use back reference when the brackets are nested in each other. Example I have a the following:
213.321
.323
213.
It must match every real number with decimal point.It must not match wait any I have this regex which works for me!
(()|([0-9]+)).(()|([0-9]+))
But I want to back reference to the OUTER bracket.
We see there are three bracket, so we can use the following back reference \1 or \2 or \3.
But really I want to back reference to the outer bracket.How it us possible to do or it is impossible to do ?
Also, if trying to use \1 or \2 or \3 it not works.