in reply to Writing regexes, think ahead just a bit.

I just got a chance to read this and it made my whole day!

Every now and then I experience that kind of situation; sometimes while programming and other times other things.

Regexes can be that way for me too. Can't remember any specifics since it's been a while; but they *do* happen and I always get a chuckle or two out of it...and get gently reminded to stop and think through what I'm doing when I get just a little too robotic in certain aspects of coding.

My most recent nemisis is that the "f" key on my keyboard is failing (I know I should get it fixed or replaced but I'm a notorious procrastinator...and poor speller) and is increasingly not generating the character when it should. Being a touch-typist I have been having to train myself to look more closely while and after I've been typing to be sure I catch it...but the results are sometimes ellusive since the results are actual words and my eye doesn't cath them as easily. Words like "fit" becomes "it", "for" become "or", "four" becomes "our", "flight" become "light" and "fear" becomes "ear". Occasionally (though I can't for the life of me remeber any off the top of my head) even become a bit obscene!

Thanks Lady_Aleena, I needed the lightness today!

ack Albuquerque, NM
  • Comment on Re: Writing regexes, think ahead just a bit.