Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: grepp -- Perl version of grep

by Anonymous Monk
on Apr 15, 2004 at 19:52 UTC ( #345520=note: print w/ replies, xml ) Need Help??


in reply to Re: grepp -- Perl version of grep
in thread grepp -- Perl version of grep

agreed. grep does not use regex when matching against simple patterns. most grep implementations use a skip-search aglo ala Boyer-Moore for simple patterns.


Comment on Re: Re: grepp -- Perl version of grep
Re: grepp -- Perl version of grep
by Abigail-II (Bishop) on Apr 15, 2004 at 23:30 UTC
    grep does not use regex when matching against simple patterns.
    And neither does Perl. Unless you want to call '(a|b)(c|d)(e|f)' "simple" - this is a pattern where grep wins big time over Perl.

    Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://345520]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (15)
As of 2014-07-30 11:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (230 votes), past polls