Skip to content

fix: removed dot allowance#804

Open
dennisvankekem wants to merge 1 commit into
mainfrom
APL-1723-2
Open

fix: removed dot allowance#804
dennisvankekem wants to merge 1 commit into
mainfrom
APL-1723-2

Conversation

@dennisvankekem

Copy link
Copy Markdown
Collaborator

Considerations

  • I have tested the changes in both light and dark mode.
  • I have considered the need for new unit tests.
  • I have tested the changes on a cluster.
  • I have included relevant documentation updates.
  • I have an approved Figma design or have reflected my changes in Figma
  • I have verified that the UI/UX is consistent in major browsers (e.g., Chrome, Firefox, Safari, Edge).
  • I have tested the changes for responsiveness in different screen resolutions.
  • I have tested expected error states and verified that the user is presented with informative error messages.
  • I have tested the feature with unusual or extreme inputs (e.g., very long strings, empty states, clicking a button multiple times quickly).

.matches(
/^[a-z0-9](?:[a-z0-9.-]*[a-z0-9])?$/,
'Invalid format, must contain only lowercase letters, numbers, hyphens, or dots, and start and end with a letter or number.',
/^[a-z](?:[-a-z0-9]*[a-z0-9])?$/,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we have some unit tests to see if those regex are valid?

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.

2 participants