mchades commented on code in PR #6400:
URL: https://github.com/apache/gravitino/pull/6400#discussion_r1954220535
##########
web/web/src/lib/utils/regex.js:
##########
@@ -17,9 +17,9 @@
* under the License.
*/
-export const nameRegex = /^\w[\w]{0,63}$/
+export const nameRegex = /^[a-zA-Z_][a-zA-Z0-9_/=-]{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 begin with a letter or underscore, can contain alphanumeric
characters, underscores, slashes, equal signs, or hyphens, and must be between
1 and 64 characters in length.'
Review Comment:
@Pranaykarvi plz resolve the comment
--
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]