I was tinkering with with Patrick's question regarding replacing the digits 
where the "n.1" is replaced with "n.33" and "n.2" is replaced with "n.67"
His sample data:
*Sample      Desired output*
0.2                    0.67
1.1                    1.33
1.1                    1.33
1.2                    1.67
1.1                    1.33
6                        6
3.2                     3.67
8                        8
6.2                     6.67

So I was looking at this and knew it would have to be several passes, but 
my pattern I was working with for the first pass was "(?P<foo>\d+\.)1"
My question is since I can't use a replace pattern \1 follow by 33 I was 
using a named pattern, but (?P=foo) doesn't call the named pattern in the 
replace area of a grep search? Just curious as I couldn't find anything 
regarding this in the manual.

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/37810128-a19b-480d-aceb-5f67fb812d6en%40googlegroups.com.

Reply via email to