Gnu grep is wicked fast. I don't know what you're using, but I routinely 
download and buid grep with PCRE support. (I also build PCRE. They're both 
very easy to build & install. I don't use MacPorts or Homebrew because I 
like to choose my own options.)

Incidentally, you can make grep slow if you don't know what you're doing. 
Some patterns that are easy to write cause lots of backtracking. You can 
even write a relatively simple search pattern that, given the right input 
text, will never finish. That's why you actually want grep to call it quits 
when it realizes it's not getting anywhere. 

On Monday, September 3, 2018 at 3:09:35 PM UTC-4, Christopher Stone wrote:
>
>
> Grep is slow.
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com.
To post to this group, send email to bbedit@googlegroups.com.
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to