Re: A Question Derived from Converting decimal value

2022-03-16 Thread ThePorgie
Thank you sir! Don't know how I missed that in the manual and I promise I did look there first. On Wednesday, March 16, 2022 at 4:13:30 PM UTC-4 Patrick Woolsey wrote: > On 3/16/22 at 2:06 PM, thep...@gmail.com (ThePorgie) wrote: > > >I was tinkering with with Patrick's question > > Not actually

Re: Converting decimal value of some numbers using Grep

2022-03-16 Thread Howard
Patrick, Thanks for your help, Howard On Wednesday, 16 March 2022 at 5:24:21 pm UTC-4 Patrick Woolsey wrote: > On 3/16/22 at 3:10 PM, leadwi...@gmail.com (Howard) wrote: > > >In *Find: ^(\d+?)\.1 *what is the purpose of the question mark? > >I know what *\d+* does. > > > > It makes matching "n

Re: Converting decimal value of some numbers using Grep

2022-03-16 Thread Patrick Woolsey
On 3/16/22 at 3:10 PM, leadwithlo...@gmail.com (Howard) wrote: In *Find: ^(\d+?)\.1 *what is the purpose of the question mark? I know what *\d+* does. It makes matching "non-greedy", so the pattern won't try to extend beyond the first possible match. [For details, please see "Non-Greedy

Re: A Question Derived from Converting decimal value

2022-03-16 Thread Patrick Woolsey
On 3/16/22 at 2:06 PM, thepo...@gmail.com (ThePorgie) wrote: I was tinkering with with Patrick's question Not actually my question ;-) though close enough for the matters at hand. So I was looking at this and knew it would have to be several passes, but my pattern I was working with for t

Re: Converting decimal value of some numbers using Grep

2022-03-16 Thread Howard
Patrick, In *Find: ^(\d+?)\.1 *what is the purpose of the question mark? I know what *\d+* does. Howard On Wednesday, 16 March 2022 at 1:41:06 pm UTC-4 Patrick Woolsey wrote: > Though you can do this, you'll need to perform two search & replace > passes: one for each value pair. > > Find: ^(\

A Question Derived from Converting decimal value

2022-03-16 Thread ThePorgie
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.20.67 1.11.33 1.11.33 1.2

Re: Converting decimal value of some numbers using Grep

2022-03-16 Thread Patrick Woolsey
Though you can do this, you'll need to perform two search & replace passes: one for each value pair. Find: ^(\d+?)\.1 Replace: \1.33 and Find: ^(\d+?)\.2 Replace: \1.67 Regards, Patrick Woolsey == Bare Bones Software, Inc. > On Mar

Converting decimal value of some numbers using Grep

2022-03-16 Thread Howard
I have a column of numbers; some have a decimal value. Some numbers end with `.1` and some end with `.2`. If a number's decimal part contains `.1` I want to change its ending to `.33`, but keep its whole number the same, so 1.1 would become 1.33. Also, if a number's decimal part contains `.2`

[ANN] BBEdit 14.1.1

2022-03-16 Thread Rich Siegel
Good { morning, afternoon, evening }, We are pleased to announce the release and immediate availability of BBEdit 14.1.1. This is a free and recommended update for anyone using BBEdit 14, and includes a number of fixes for reported issues, as well as all the new features and refinements previou