From 78e39bc36f48d12b90489ce925916a789de3965d Mon Sep 17 00:00:00 2001 From: Zeeshan Ahmed Date: Sun, 23 Jul 2017 08:58:53 +0100 Subject: [PATCH] Update --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 994183c..db4b287 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: -
![Example](http://i.imgur.com/UrDb9qc.png)
+
+![Example](https://i.imgur.com/UrDb9qc.png) +
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.