in reply to Re^2: Array: inserting what isn't there
in thread Array: inserting what isn't there

A simple test shows that "12345" =~ /^(\d+)/ matches the entire string, as predicted. I'm not sure why you find that mysterious. {grin} I have a book that spends three chapters talking about regular expressions, if you need that level of instruction.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^4: Array: inserting what isn't there
by Petras (Friar) on Jun 01, 2003 at 04:57 UTC
    Oh, I'm finding the whole world outside of the Java bubble to be mysterious, and pretty freaking simpler! Yet having only about 20 minutes a month to spend on playing with learning Perl makes me sort of a perpetual newbie, so I've always got something to learn.

    Thanks for the book recomendation. Can I borrow a copy? ;)

    Cheers!
    Petras

    Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.

    -Howard Aiken