Skip to content

Commit db02443

Browse files
finish translate
1 parent 1c27504 commit db02443

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

9-regular-expressions/03-regexp-unicode/article.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,15 @@ let str = `Prices: $2, €1, ¥9`;
146146
alert( str.match(regexp) ); // $2,€1,¥9
147147
```
148148

149-
Later, in the article <info:regexp-quantifiers> we'll see how to look for numbers that contain many digits.
149+
بعداً، در مقاله <info:regexp-quantifiers> خواهیم دید که چگونه به دنبال اعدادی بگردیم که دارای ارقام زیادی هستند.
150150

151-
## Summary
151+
## خلاصه
152152

153-
Flag `pattern:u` enables the support of Unicode in regular expressions.
153+
پرچم `pattern:u` پشتیبانی از یونیکد را در عبارات منظم فعال می کند.
154154

155-
That means two things:
155+
یعنی دو چیز:
156156

157-
1. Characters of 4 bytes are handled correctly: as a single character, not two 2-byte characters.
158-
2. Unicode properties can be used in the search: `\p{…}`.
157+
1. کاراکترهای 4 بایتی به درستی مدیریت می شوند: به عنوان یک کاراکتر، نه دو کاراکتر 2 بایتی.
158+
2. از ویژگی های یونیکد می توان در جستجو استفاده کرد: `{…}p\`.
159159

160-
With Unicode properties we can look for words in given languages, special characters (quotes, currencies) and so on.
160+
با ویژگی‌های یونیکد می‌توانیم به دنبال کلمات در زبان‌های معین، کاراکترهای خاص (نقل‌ ها، ارزها) و غیره بگردیم.

0 commit comments

Comments
 (0)