Skip to content

docs(admin): Flow file name regex (basename + delimiters) - #15723

Open
whoalin1 wants to merge 2 commits into
nextcloud:masterfrom
whoalin1:docs/flow-file-name-regex
Open

whoalin1 wants to merge 2 commits into
nextcloud:masterfrom
whoalin1:docs/flow-file-name-regex

Conversation

@whoalin1

@whoalin1 whoalin1 commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #11435

Document that Flow File name checks:

  • match the base name only (not a folder path),
  • use matches / does not match with a PHP regex including delimiters (e.g. /^dummy-.+$/i),
  • reject invalid patterns on save.

This explains why path-like patterns such as /my/folder/.+ never match.

Test plan

  • Docs build
  • Example regex matches FileName / AbstractStringCheck behavior

AI disclosure

This PR was drafted with the help of AI coding assistants (Cursor agents / LLM-based tools), including the description. I am responsible for it and happy to rework anything that doesn't fit.

All commits carry an Assisted-by: Cursor:grok-4.7 trailer.

Closes nextcloud#11435

Assisted-by: Cursor:grok-4.7
Signed-off-by: whoalin1 <whoalin414@gmail.com>
@whoalin1
whoalin1 force-pushed the docs/flow-file-name-regex branch from 6aaaa3f to 9b7c147 Compare October 9, 2026 14:11
@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

Comment thread access_control.rst Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution. It appears your PR is meant to update /admin_manual/file_workflows/access_control.rst but your commit actually creates an entirely new file at /access_control.rst and doesn't update the existing one. Please update the correct file. ;-)

@skjnldsv skjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As josh said, this creates a new access_control.rst at the repo root instead of editing admin_manual/file_workflows/access_control.rst. Could you move the change there? Also /my/folder/.+ doesn't just fail to match: folder/.+ becomes regex modifiers, so the rule is rejected when saving.

The previous commit created a copy at the repo root instead of editing
admin_manual/file_workflows/access_control.rst. Also explain that an
undelimited path pattern is rejected on save rather than not matching.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document regex syntax for Flow file-name matching

3 participants