I have written some perl-scripts to extract information from my ADSL modem, like how much been transfered. These have worked quite nice but recently I saw some strange behaviour. Apparently there was a small bug in the parsing, but since I never really have learnt RegExp it took some time to fix, but this page was really useful to quickly refresh how regexps works.