Skip to content

Commit bf4a876

Browse files
authored
docs: “3.1. 基本元字符”中关于“$”的描述错误
1 parent c569ea9 commit bf4a876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/advanced/java-regex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ Assert.assertFalse(checkMatches("^app[a-z]{0,}", "aplause"));
534534
// aplause not matches: ^app[a-z]{0,}
535535
```
536536

537-
如果希望匹配的字符串必须以特定字符串开头,可以使用 `$`
537+
如果希望匹配的字符串必须以特定字符串结尾,可以使用 `$`
538538

539539
【示例】限制字符串尾部
540540

0 commit comments

Comments
 (0)