Ad
  • Custom User Avatar

    I think the details of the exercise should be more clear about what a URL may or may not contain for this exercise.
    As said in other comments, the exercise doesn't make it clear that www is the only possible sublevel domain of the test cases.