From 798a3407a9138d1887584148cdd793585a5b156f Mon Sep 17 00:00:00 2001 From: Zeeshan Ahmed Date: Fri, 28 Jul 2017 04:24:38 +0100 Subject: [PATCH] fixes #22 and #5 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cc95838..1319a9c 100644 --- a/README.md +++ b/README.md @@ -14,9 +14,9 @@ a string, validating form, extract a substring from a string based upon a patter Imagine you are writing an application and you want to set the rules when user choosing their username. We want the username can 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 accept the strings `john_doe`, `jo-hn_doe` and `john12_as`. It does not match `Jo` because that string