Skip to content

Commit cc0544e

Browse files
committed
fix a typo
1 parent 0b66d1e commit cc0544e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_zh-cn/tour/regular-expression-patterns.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ val input: String =
4949
for (patternMatch <- keyValPattern.findAllMatchIn(input))
5050
println(s"key: ${patternMatch.group(1)} value: ${patternMatch.group(2)}")
5151
```
52-
此例中我们从字符串中解析出多组键值对. 每一个匹配值都包含一组子匹配值. 一下是输出:
52+
此例中我们从字符串中解析出多组键值对. 每一个匹配值都包含一组子匹配值. 结果如下:
5353
```
5454
key: background-color value: #A03300
5555
key: background-image value: url(img

0 commit comments

Comments
 (0)