Question in AEM Developer exam with regular expressions is well performed?
I'm studying for the AEM developer exam and i have a question about one of the questions: Which template allowed Paths expression would allow a page to be created with the path/ content / main / page1/ page2?
And the options are:
A. /content/main/?
B. /content/main/[^/]+(/,*)?
C. /content/main/[A/]+[A/]
D. /content/main/*
I don't understand if the question is wrong or the options are because if i choose which option validates the path (ONE OPTION) i cannot because the A, B and D are valid answers. But if i add a NOT on the question like "... would NOT allow a page to be created..." then in that case i can answer a single option like the question demands that would be the C option.
What is wrong with this?
Regards.