in reply to regexp problem

($year, $julian, $time)=/^(\d{4})-?(\d{3})?\s*(\d{2}:\d{2}:\d{2})?/