Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation/help is missing for regex in the file name field #11435

Open
mikoladz opened this issue Dec 29, 2023 · 1 comment
Open

Documentation/help is missing for regex in the file name field #11435

mikoladz opened this issue Dec 29, 2023 · 1 comment

Comments

@mikoladz
Copy link

Hello,

When I was trying to setup a new notification for a new file uploaded using the file name match I found that in most cases entering a valid regex did not work, i.e. every time an error was returned. Currently it is unclear what can be entered in the file name field.
E.g.:

  • there is an example: "/^dummy-.+$/i" which works
  • none of these work: "/my/folder/.+", "/my/folder/.+"
    Please add some documentation or help with examples.
@blizzz
Copy link
Member

blizzz commented Jan 12, 2024

The regex has to be enclosed with /. You are missing those, and you have to escape the directory separators, e.g. /\/my\/folder\/.+/

Moving the issue to documentation repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants