Use a non-capturing group for the optional www