Skip to content

Commit e6b6c3e

Browse files
translate until line-77
1 parent 63a8107 commit e6b6c3e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • 9-regular-expressions/05-regexp-multiline-mode

9-regular-expressions/05-regexp-multiline-mode/article.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ console.log( str.match(/\d$/gm) ); // 1,2,3
6161
و در انتهای متن.
6262
```
6363

64-
## Searching for \n instead of ^ $
64+
## جستجو برای \n به جای ^ $
6565

66-
To find a newline, we can use not only anchors `pattern:^` and `pattern:$`, but also the newline character `\n`.
66+
برای یافتن یک خط جدید، می‌ توانیم نه تنها از لنگرهای `^:pattern` و `$:pattern`، بلکه از کاراکتر خط جدید `n\` استفاده کنیم.
6767

68-
What's the difference? Let's see an example.
68+
تفاوت در چیست؟ بیایید یک مثال را ببینیم.
6969

70-
Here we search for `pattern:\d\n` instead of `pattern:\d$`:
70+
در اینجا ما `pattern:\d\n` را به جای `$pattern:\d` جستجو می کنیم:
7171

7272
```js run
7373
let str = `Winnie: 1

0 commit comments

Comments
 (0)