NOT a good week...

By Mark on Tuesday 14 October 2003 at 16:09

Ok, so only two days of it have gone so far, but already it's not shaping up too well.

First, I have no money left from my pay cheque. Already. All gone, in just 14 days.

Second, something (we're thinking a rat) has died under our office floor, so I've spent the last two days inhaling rotting animal flesh. Whoopee.

Third (and this is one for the geeks), I've spent today battling with the seemingly nonsensical, difficult and illogical Regular Expression.

For those of you who aren't programmers or mathematicians, regular expressions are a powerful way of matching patterns in a bit of text. For example, you could use a regular expression to grab all the web addresses out of an email someone had sent you.

This sounds good; however, there is one drawback, which is that they look like this:

^http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?$

Not too user-friendly, eh? So I spent today trying to figure out some of these for a mailing application we're writing. It's horrendous. HORRENDOUS I TELL YOU.

Well, that's it. Bye for now; I'll post again when I can get near my computer without gagging on dead rat vapours.

2 comments:

On Wednesday 15 October 2003 at 16:59, pAlmer said:

ahh the joys of programming...

hows the smell?

On Wednesday 15 October 2003 at 18:29, Mark Bell said:

Fading a bit now, thank fuck...

Comments are now closed for this entry.