SbloodyS commented on code in PR #13506:
URL: 
https://github.com/apache/dolphinscheduler/pull/13506#discussion_r1096888029


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/utils/RegexUtils.java:
##########
@@ -26,7 +26,7 @@
  */
 public class RegexUtils {
 
-    private static final Pattern LINUX_USERNAME_PATTERN = 
Pattern.compile("^[a-zA-Z0-9_].{0,30}");
+    private static final Pattern LINUX_USERNAME_PATTERN = 
Pattern.compile("[a-zA-Z_][a-zA-Z\\d_-]{0,30}");

Review Comment:
   > Could you add me wechat or call me, I want to ask you a question? 
15651806509
   
   It is better to keep it public so that others can participate in the review.



-- 
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]

Reply via email to