twitpic.lua: update for x, xx, xxx and xxxx ranges