Skip to content

Conversation

@krystian-panek-vmltech
Copy link
Collaborator

fixes #283

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a validation issue that prevented users from saving scripts with names that start with numbers. The issue was caused by overly restrictive regular expressions in the file name and file path validation functions.

Changes:

  • Updated FILENAME_REGEX to allow filenames starting with digits (0-9) in addition to letters
  • Updated FILEPATH_REGEX to allow path segments starting with digits (0-9) in addition to letters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@krystian-panek-vmltech krystian-panek-vmltech merged commit 2c94a75 into main Jan 29, 2026
7 checks passed
@krystian-panek-vmltech krystian-panek-vmltech deleted the file-regexps-fix branch January 29, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Save Script dialog doesn't allow saving scripts with numbers in them

2 participants