http://www.perlmonks.org?node_id=78430


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