From 1f0489787161d5751fbc5442d442473eeeb7a775 Mon Sep 17 00:00:00 2001 From: HendraSetiaji Date: Sun, 24 Oct 2021 21:18:30 +0700 Subject: [PATCH] Translate 1. Basic Matcher / Pencocokan Dasar 1. Basic Matcher ~ Pencocokan Dasar --- translations/README-id.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/translations/README-id.md b/translations/README-id.md index 8b058b5..15dbc7b 100644 --- a/translations/README-id.md +++ b/translations/README-id.md @@ -86,29 +86,28 @@ surat dan juga terlalu pendek. - [Multiline](#53-multiline) - [Greedy vs Lazy Matching](#6-greedy-vs-lazy-matching) -## 1. Basic Matchers - -A regular expression is just a pattern of characters that we use to perform a -search in a text. For example, the regular expression `the` means: the letter -`t`, followed by the letter `h`, followed by the letter `e`. +## 1. Pencocokan Dasar +Ekspresi reguler hanyalah pola karakter yang kita gunakan untuk melakukan +pencarian dalam teks. Misalnya, ekspresi reguler `the` berarti: huruf +`t`, diikuti huruf `h`, diikuti huruf `e`.
 "the" => The fat cat sat on the mat.
 
-[Test the regular expression](https://regex101.com/r/dmRygT/1) +[Uji Ekspresi reguler](https://regex101.com/r/dmRygT/1) -The regular expression `123` matches the string `123`. The regular expression is -matched against an input string by comparing each character in the regular -expression to each character in the input string, one after another. Regular -expressions are normally case-sensitive so the regular expression `The` would -not match the string `the`. +Ekspresi reguler `123` cocok dengan string `123`. Ekspresi reguler adalah +dicocokkan dengan string input dengan membandingkan setiap karakter di reguler +ekspresi ke setiap karakter dalam string input, satu demi satu. Reguler +ekspresi biasanya peka huruf besar/kecil sehingga ekspresi reguler `The` akan +tidak cocok dengan string `the`.
 "The" => The fat cat sat on the mat.
 
-[Test the regular expression](https://regex101.com/r/1paXsy/1) +[Uji Ekspresi reguler](https://regex101.com/r/1paXsy/1) ## 2. Meta Characters