In the Pattern Playground, I am running this pattern -> 
*(\d{3}[-.]){2}(\d{4})*
with the data shown below.

Here is my input data:
123.179-9876
123.456-9876
123-456-9870
126-456-987
1257-456--0
123-456 
123450000

Three capture groups are shown in the *Capture groups* box.

[image: Screen Shot 2020-03-01 at 7.17.44 AM.png]


In Capture group 1, I expected the result to be at least `123.` followed 
 by '.179-`, not just `179-`. 


Why is only `179-` displaying?


My Replace pattern is `\0`.

-- 
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/f4f6710d-bb51-4c21-9270-e43b6c9eb2c6%40googlegroups.com.

Reply via email to