nextcloud / nextcloud/documentation

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

Open
#11,435 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: workflows good first issue manual: admin
Dominant language
JavaScript
Stars
628
Forks
2.5k
Avg merge
2d 11h
Merged PRs (30d)
135

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the notification documentation for the file name field and compare its current guidance with the regex examples in the issue. Document which regex forms are accepted, including the working example and the two failing path patterns, so users can tell what to enter.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.