On 01/13/2019, at 03:06, Marek Stepanek <[email protected] 
<mailto:[email protected]>> wrote:
> I did not know \h = horizontal white space. And it is even working with 
> BBEdit. Is it mentioned in the User Manual BBEdit? Suggesting a little 
> correction:


Hey Marek,

Then you'll want to contact support, because Rich and Patrick are not 
guaranteed to read the user list.

In any case – keep in mind that BBEdit uses PCRE (Perl Compatible Regular 
Expressions) and generally (but not perfectly) follows the PCRE specification:

https://www.pcre.org/original/doc/html/pcrepattern.html 
<https://www.pcre.org/original/doc/html/pcrepattern.html>

Curated change Log:

http://www.rexegg.com/pcre-documentation.html 
<http://www.rexegg.com/pcre-documentation.html>

You'll see that \h, \H, \v, \V, and \R have been around for quite a while.

> Your search and replace is not doing what Dj was asking for ...

So?

My pattern is quite intentionally more flexible and handles spaces, 
non-breaking-spaces, and tabs.

Dj is smart enough to decide if he prefers his method or mine for this purpose.

> I am wondering, why you want to put it into a perl-script and not directly in 
> search and replace of BBEdit. 

Is that a question for Dj or me?

I save a lot of time and effort by having a variety of pre-made BBEdit text 
filters.

I even built a Keyboard Maestro macro to make them easier to use.



--
Best Regards,
Chris

-- 
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 to the group.
Follow @bbedit on Twitter: <https://www.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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to