Simon Willison’s Weblog

Subscribe

Entries in Jan, 2006

Filters: Type: entry × Year: 2006 × Month: Jan × Sorted by date


Can social bookmarking services prevent a bookmark from becoming dead links?

Yahoo!’s MyWeb 2.0 can do that. (Disclaimer: I work for Yahoo!, but not directly on that product).

[... 36 words]

Escaping regular expression characters in JavaScript

JavaScript’s support for regular expressions is generally pretty good, but there is one notable omission: an escaping mechanism for literal strings. Say for example you need to create a regular expression that removes a specific string from the end of a string. If you know the string you want to remove when you write the script this is easy:

[... 362 words]

Happy New Year!

It’s just gone midnight here in England (I’m in Exeter for the new year), so Happy New Year to all. Top weblog-related priority for 2006: upgrade this aging heap of badly written object-oriented PHP to something better. I’ll try and get some good content flowing more regularly as well.

[... 58 words]