Ivor O’Connor

January 16, 2009


Filed under: Uncategorized — ioconnor @ 7:01 pm

I just fixed a bug in one of my scripts. Apparently the eol character really is not just the ‘$’ sign. Instead you have to do something like

if (preg_match("/customer_[0-9]+\.[php|html|shtml]+$/iD", $item)) {

That uppercase ‘D’ is important. It’s documented here


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at WordPress.com.

%d bloggers like this: