Merge pull request #888 from overken/patch-3

Update article.md
This commit is contained in:
Ilya Kantor 2019-04-03 09:20:20 +03:00 committed by GitHub
commit 2c0c69ed51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,7 +162,7 @@ alert(groups.day); // 30
As you can see, the groups reside in the `.groups` property of the match. As you can see, the groups reside in the `.groups` property of the match.
Wee can also use them in replacements, as `pattern:$<name>` (like `$1..9`, but name instead of a digit). We can also use them in replacements, as `pattern:$<name>` (like `$1..9`, but name instead of a digit).
For instance, let's rearrange the date into `day.month.year`: For instance, let's rearrange the date into `day.month.year`: