From e24dbe554165b56fa591b3d06f06cf01f1e4095b Mon Sep 17 00:00:00 2001 From: Zeeshan Ahmed Date: Sun, 23 Jul 2017 13:05:56 +0500 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c831585..d520684 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,9 @@ Imagine you are writing an application and you want to set the rules when user c contains letter, number, underscore and hyphen. We also want to limit the number of characters in username so it does not look ugly. We use the following regular expression to validate a username: -Regular expression +

+Regular expression +

Above regular expression can accepts the strings "john_doe", "jo-hn\_doe" and "john12\_as". It does not match "Jo" because that string contains uppercase letter and also it is too short. @@ -103,4 +105,4 @@ lowercase letters in a row.
 "[a-z]+" => The car parked in the garage.
-
\ No newline at end of file +