Using regex with event listener path
Can you use regex for the path which custom event listener listens to?
I'm trying to listen to a folder named 'video' which is a subfolder of a folder which has other siblings (siblings have subfolder called 'video' as well).
I don't want my onEvent function to occur on other folders but just that video folder.
Essentially like this: /content/dam/parentfolder/subfolder/video
I want to do this : /content/dam/parentfolder/.*/video
Is this possible?