Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: japhy blabs about regexes (again)

by srawls (Friar)
on Jul 16, 2001 at 22:06 UTC ( #97114=note: print w/ replies, xml ) Need Help??


in reply to japhy blabs about regexes (again)

Hmm... I find the 1 while s/\s$//; very interesting, but shocking as well. I guess I just blindly asumed that s/\s*$// was optimized.

Anyway, I, too, am working on a regex engine; mine is coded in C. It's a slow process for me, but I'm learning a lot--I haven't tried any optimizations yet, though, I'll have to finish before I start that : )

The 15 year old, freshman programmer,
Stephen Rawls


Comment on Re: japhy blabs about regexes (again)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2014-09-16 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (47 votes), past polls