in reply to Re: Interesting regular Expression
in thread Interesting regular Expression

Thanks for your prompt reply. Mistakingly, I was searching in perlre

Replies are listed 'Best First'.
Re^3: Interesting regular Expression
by betterworld (Curate) on May 03, 2007 at 10:58 UTC
    perlre won't help here because y/// is no regular expression. It only deals with characters, and it doesn't support "*", ".", or any of the other regex things.
Re^3: Interesting regular Expression
by robot_tourist (Hermit) on May 04, 2007 at 09:31 UTC

    easy mistake to make. Perl's documentation is mostly good, but I keep finding I have to look up perlop, perlrequick, perlre and perlretut to get the whole picture for regular expressions and transliterations. Sometimes I think might be nice to have a more distinct syntax for s/// and y/// (or tr///). Although having regex substitutions and transliterations in the same section in the docs kind of makes sense because they do similar things.

    How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
    Robot Tourist, by Ten Benson