Slightly improved regex for series