Update README.md

Ignored the non-capturing group from the result.
This commit is contained in:
Tharindu Sathischandra 2021-02-22 11:20:05 +05:30 committed by GitHub
parent d6c5519e19
commit dbfe6e16b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -305,7 +305,7 @@ within parentheses `(...)`. For example, the regular expression `(?:c|g|p)ar` is
`(c|g|p)ar` in that it matches the same characters but will not create a capture group. `(c|g|p)ar` in that it matches the same characters but will not create a capture group.
<pre> <pre>
"(?:c|g|p)ar" => The <a href="#learn-regex"><strong>car</strong></a> is <a href="#learn-regex"><strong>par</strong></a>ked in the <a href="#learn-regex"><strong>gar</strong></a>age. "(?:c|g|p)ar" => The c<a href="#learn-regex"><strong>ar</strong></a> is p<a href="#learn-regex"><strong>ar</strong></a>ked in the g<a href="#learn-regex"><strong>ar</strong></a>age.
</pre> </pre>
[Test the regular expression](https://regex101.com/r/Rm7Me8/1) [Test the regular expression](https://regex101.com/r/Rm7Me8/1)