LauraXia123 commented on code in PR #6400:
URL: https://github.com/apache/gravitino/pull/6400#discussion_r1967036154
##########
web/web/src/lib/utils/regex.js:
##########
@@ -17,9 +17,9 @@
* under the License.
*/
-export const nameRegex = /^\w[\w]{0,63}$/
+export const nameRegex = /^\w[\w/=-]{0,63}$/
export const nameRegexDesc =
- 'This field must begin with a letter or underscore, contain only
alphanumeric characters or underscores, and be between 1 and 64 characters in
length'
+ 'This field must start with a letter or underscore, can include alphanumeric
characters, underscores, slashes (/), equal signs (=), or hyphens (-), and must
be between 1 and 64 characters long.'
Review Comment:
```suggestion
'This field must start with a letter, digit, or underscore, can include
alphanumeric characters, underscores, slashes (/), equal signs (=), or hyphens
(-), and must be between 1 and 64 characters long.'
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]