Re: Converting decimal value of some numbers using Grep

2022-03-17 Thread Patrick Woolsey
On 3/17/22 at 7:58 AM, neil.goo...@faiman.org (Neil Faiman) wrote: On Mar 16, 2022, at 5:24 PM, Patrick Woolsey wrote: In *Find: ^(\d+?)\.1 *what is the purpose of the question mark? [...] It makes matching "non-greedy", so the pattern won't try to extend beyond the first possible match.

Re: Converting decimal value of some numbers using Grep

2022-03-17 Thread Neil Faiman
> On Mar 16, 2022, at 5:24 PM, Patrick Woolsey 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. In this particular case, the

New Language definition inion by merging two?

2022-03-17 Thread Rainer Krug
Is it possible to merge two language definitions to get a new one? I am using Critic Markup (https://github.com/CriticMarkup/CriticMarkup-toolkit) in a markdown document, and would like to have the markdown as well as the Critic Markdown syntax highlighting? Thanks, Rainer -- This is the

Re: Converting decimal value of some numbers using Grep

2022-03-17 Thread jj
Howard, If it applies to you case you could use a literal find/replace. Uncheck the Grep checkbox in the Find/Replace window. Find: .1 Replace: .33 Find: .2 Replace: .67 Just my .2 cents. Best Regards, Jean On Thursday, March 17, 2022 at 12:21:53 AM UTC+1 Howard