#4995 esapi regexp fix
Merge pull request #4998 from dotCMS/issue-4995-cant-add-folders

#4995 esapi regexp fix