Skip to content

Commit 151988a

Browse files
finish article
1 parent f85ec87 commit 151988a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

9-regular-expressions/04-regexp-anchors/article.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ alert( regexp.test(badInput) ); // نادرست
4242

4343
کل رشته باید دقیقاً در این قالب باشد. اگر انحراف یا یک کاراکتر اضافی وجود داشته باشد، نتیجه `نادرست` است.
4444

45-
Anchors behave differently if flag `pattern:m` is present. We'll see that in the next article.
45+
اگر پرچم `pattern:m` وجود داشته باشد، لنگرها رفتار متفاوتی دارند. آن را در مقاله بعدی خواهیم دید.
4646

4747
```smart header="Anchors have \"zero width\""
48-
Anchors `pattern:^` and `pattern:$` are tests. They have zero width.
48+
لنگرهای `^:pattern` و `$:pattern` تست هستند. عرض آنها صفر است.
4949
50-
In other words, they do not match a character, but rather force the regexp engine to check the condition (text start/end).
50+
به عبارت دیگر، آنها با یک کاراکتر مطابقت ندارند، بلکه موتور regexp را مجبور می‌کنند تا شرایط را بررسی کند (شروع/پایان متن).
5151
```

0 commit comments

Comments
 (0)