Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Learning Perl's Regular Expressions

by chromatic (Archbishop)
on May 07, 2001 at 09:00 UTC ( #78430=note: print w/replies, xml ) Need Help??


in reply to Learning Perl's Regular Expressions
in thread japhy and mystery

I'd add "When A Regex Is Too Much", covering tr(), and "Other Places For a Regex" which would discuss split and grep.

I use those more than substitutions and matches in plenty of programs.

  • Comment on Re: Learning Perl's Regular Expressions

Replies are listed 'Best First'.
Re: Re: Learning Perl's Regular Expressions
by japhy (Canon) on May 07, 2001 at 17:45 UTC
    I'm definitely going to cover tr/// in the "optimization" section, showing how to change something as silly-looking as s/[aeiou]//gi to the far more competant tr/aeiouAEIOU//d.

    Don't fear; I'll be discussing functions that are oft or best employed with regexes, especially split() and its magical first argument.

    japhy -- Perl and Regex Hacker

    Edit: chipmunk 2001-05-07

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2022-09-24 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (115 votes). Check out past polls.

    Notices?