Pull request for my original issue #29739 and the subsequent discussion on #29891

  • Quoted the profiles with double quotes, added a (s) for a simple plural support
  • Updated two test cases and added the one provided by @philwebb

Comment From: snicoll

@gcoppex thank you for making your first contribution to Spring Boot. I've polished things in 92cd51e.