Skip to content

Commit ef7ba95

Browse files
translate until line-12
1 parent 5ab9a81 commit ef7ba95

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Multiline mode of anchors ^ $, flag "m"
1+
# حالت چند خطی anchors ^ $، پرچم "m"
22

3-
The multiline mode is enabled by the flag `pattern:m`.
3+
حالت چند خطی با پرچم `pattern:m` فعال می شود.
44

5-
It only affects the behavior of `pattern:^` and `pattern:$`.
5+
فقط بر رفتار `^:pattern` و `$:pattern` تأثیر می گذارد.
66

7-
In the multiline mode they match not only at the beginning and the end of the string, but also at start/end of line.
7+
در حالت چند خطی، نه تنها در ابتدا و انتهای رشته، بلکه در شروع/پایان خط نیز مطابقت دارند.
88

9-
## Searching at line start ^
9+
## جستجو در شروع خط ^
1010

11-
In the example below the text has multiple lines. The pattern `pattern:/^\d/gm` takes a digit from the beginning of each line:
11+
در مثال زیر متن دارای چندین خط است. الگوی `pattern:/^\d/gm` از ابتدای هر خط یک رقم می گیرد:
1212

1313
```js run
1414
let str = `1st place: Winnie

0 commit comments

Comments
 (0)