Skip to content

Commit 7217f13

Browse files
committed
docs: fix index
1 parent be6b864 commit 7217f13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ npm install -S @jswork/next-regex-index-of
1616
import '@jswork/next-regex-index-of';
1717

1818
const str = `What's this? 这是什么?`;
19-
const res = nx.regexIndexOf(str, /[\u4e00-\u9fa5]/); // -1
19+
const res = nx.regexIndexOf(str, /[\u4e00-\u9fa5]/); // 13
2020
```
2121

2222
## license

0 commit comments

Comments
 (0)