Skip to content

Commit e1233ad

Browse files
add space in line-9
1 parent 790709f commit e1233ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
`pattern:^` در ابتدای متن و `pattern:$` در پایان متن مطابقت دارد.
66

77
به عنوان مثال، بیایید آزمایش کنیم که آیا متن با `Mary` شروع می شود یا خیر:
8+
89
```js run
910
let str1 = "Mary had a little lamb";
1011
alert( /^Mary/.test(str1) ); // true

0 commit comments

Comments
 (0)