Fix 2.3.1 The Star "\s*cat\s*" expression

2.3.1 The Star 

"\s*cat\s*" should match 
The fat "cat" sat on the con"cat"enation.

not 
The fat "cat" sat on the "concatenation".
This commit is contained in:
Nitis Monburinon 2018-01-13 16:01:00 +07:00 committed by GitHub
parent f489ee2cc0
commit d8ddf1080a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ followed by lowercase character `a`, followed by lowercase character `t`,
followed by zero or more spaces.
<pre>
"\s*cat\s*" => The fat<a href="#learn-regex"><strong> cat </strong></a>sat on the <a href="#learn-regex">con<strong>cat</strong>enation</a>.
"\s*cat\s*" => The fat<a href="#learn-regex"><strong> cat </strong></a>sat on the con<a href="#learn-regex"><strong>cat</strong></a>enation.
</pre>
[Test the regular expression](https://regex101.com/r/gGrwuz/1)