You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 9-regular-expressions/11-regexp-groups/04-parse-expression/solution.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
A regexp for a number is: `pattern:-?\d+(\.\d+)?`. We created it in previous tasks.
1
+
সংখ্যা খুঁজার রেগুলার এক্সপ্রেশন: `pattern:-?\d+(\.\d+)?`। যা আমরা পূর্বের টাস্কে করেছিলাম।
2
2
3
-
An operator is `pattern:[-+*/]`. The hyphen `pattern:-`goes first in the square brackets, because in the middle it would mean a character range, while we just want a character `-`.
3
+
অপারেটর হল `pattern:[-+*/]`. হাইফেন `pattern:-`অবশ্যই ব্রাকেটের শুরুতে হতে হবে, কেননা মাঝে হলে এটি দ্বারা ক্যারাক্টারের রেঞ্জ বুঝায়, যেখানে আমরা `-` কে ক্যারাক্টার হিসেবে দেখতে চায়।
4
4
5
5
The slash `/` should be escaped inside a JavaScript regexp `pattern:/.../`, we'll do that later.
0 commit comments