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.
Solved! Go to Solution.
Views
Replies
Total Likes
Sorry, its a typo I meant Option B
Views
Replies
Total Likes
I am not sure from where this question was pulled. However, if this is the question and to answer the same, would assume the template available to create a page under /page1/page2 only and not anywhere else and would go with an option C
Regards,
Lokesh
Views
Replies
Total Likes
bsloki wrote...
I am not sure from where this question was pulled. However, if this is the question and to answer the same, would assume the template available to create a page under /page1/page2 only and not anywhere else and would go with an option C
Regards,
Lokesh
But the option C does not validate against any part of the path... or it does?
Views
Replies
Total Likes
Sorry, its a typo I meant Option B
Views
Replies
Total Likes