On 3/1/20 at 9:36 PM, gauvi...@gmail.com (Gauvins) wrote:
> I am in the process of building a Linux workstation but will most
> likely keep several macs as well. I like BBedit very much but will be
> vulnerable to a multi-platform equivalent.
>
> Any plan to port BBedit?
Nope.
R.
--
Rich Siege
I am in the process of building a Linux workstation but will most likely keep
several macs as well. I like BBedit very much but will be vulnerable to a
multi-platform equivalent.
Any plan to port BBedit?
---
I suspect that other users may follow a similar route. I use BBedit to code in
Python
It lets you use parenthesis without creating a capture group.
If you’re looking for ‘def’ in this line:
abc def
Then you could use:
(abc) (def)
But your ‘def’ would end up in capture group 2.
If you instead use:
(?:abc) (def)
Then ‘def’ will be in capture group 1.
(
fletcher,
Your change addressed my question. If you could explain what `?:` does I
would much appreciate it.
Howard
On Sunday, March 1, 2020 at 11:00:58 AM UTC-5, flet...@cumuli.com wrote:
>
> I think the problem is that the {2} calling for a repetition of the
> previous pattern is outside the
I think the problem is that the {2} calling for a repetition of the previous
pattern is outside the parentheses which signal the capture. You can use a
non-capturing group (?: ) to group patterns without creating another capture.
And then wrap the entire new expression with the repetition in par
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
12345
Three capture groups are shown in the *Capture groups* box.
[image: Screen Shot 202