Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Re: Regexes are slow (or, why I advocate String::Index)

by jordanh (Chaplain)
on May 15, 2004 at 19:46 UTC ( #353673=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Regexes are slow (or, why I advocate String::Index)
in thread Regexes are slow (or, why I advocate String::Index)

    It takes a string (char*) and returns a pointer (char *) to the position to break out the portion of the first string at a position with a character from the charset string.
I think that this nomenclature goes back to SNOBOL pattern matching, which dates back to 1962.

There are these two complementary pattern matching operators in SNOBOL:

SPAN matches a string containing any characters in its argument list, BREAK matches a string containing any characters not in its argument list. I think the implied mnemonic is to SPAN a substring containing a character set or BREAK (stop matching) on a substring containing anything not in the character set.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2019-07-19 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?