Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-14 Thread Christopher Stone
On 01/14/2019, at 12:32, ThePorgie mailto:thepo...@gmail.com>> wrote: > Using the double space leaves two spaces intact after a sentence if desired. Hey There, Nicely done!  Here's another way to write that that makes it easy to read: (?https://www.twitter.com/bbedit> --- You received this

Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-14 Thread ThePorgie
The word boundary markers you used didn't work for me. I had to switch to "\b". When testing with \b punctuation seemed to mess up my test string. I switched to (? > On 12 Jan 2019, at 18:32, Dj > wrote: > > I'm trying to replace spaces between words so a sentence like this: > > > > "this

Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-14 Thread Bruce Linde
ok... pardon my ignorance but why/when does one want leading spaces from a file? On Monday, January 14, 2019 at 9:26:47 AM UTC-8, Lewis Butler wrote: > > On 14 Jan 2019, at 10:15, Bruce Linde > > wrote: > > why do we care about word boundaries? > > Possibly because you do not want to

Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-14 Thread @lbutlr
On 14 Jan 2019, at 10:15, Bruce Linde wrote: > why do we care about word boundaries? Possibly because you do not want to strip leading spaces from the file? -- I gotta straighten my face This mellow-thighed chick just put my spine out of place -- This is the BBEdit Talk public discussion

Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-14 Thread Bruce Linde
why do we care about word boundaries? and, marek did provide a bbedit-specific solution above... which is the one i use all the time. search for: xx+ (where the x's are spaces... meaning 'find two or more spaces') replace with: x (a single space) i suppose you could just search for

Re: One-liner to replace multiple spaces between words (only words) with one space isn't working

2019-01-14 Thread @lbutlr
On 12 Jan 2019, at 18:32, Dj wrote: > I'm trying to replace spaces between words so a sentence like this: > > "this line has really messed upspacing” It doesn’t look to me like this was actually answered. All the replace multiple space will replace ALL multiple

[ANN] BBEdit 12.6 (412015) pre-release

2019-01-14 Thread Rich Siegel
Good morning folks, We're currently working on a feature update to BBEdit 12, which includes a number of new features, as well as fixes for previously reported issues. Testing is currently underway, and we have a stable pre-release version ready for use. Note that this is a _pre-release_