in reply to Re^3: Regex problem i think?
in thread Regex problem i think?

I want to say sorry to make you guys look at this, i learned alot, It wasent working because my teacher wanted to play a sick prank and give me a file that had no matches in it. Thank you for the advise, the code worked fine!

Replies are listed 'Best First'.
Re^5: Regex problem i think?
by GrandFather (Saint) on Sep 10, 2014 at 21:04 UTC

    So make up your own test set and check the code that way!

    Your teacher is probably kinder than the world in general. Learning to check your assumptions and your work are a vital component of programming.

    Perl is the programming world's equivalent of English