koishijs / koishi-plugin-dialogue

Dialogue System for Koishi
https://dialogue.koishi.chat
MIT License
6 stars 4 forks source link

docs: fix incorrect regexp example #15

Closed Nikaidou-Shinku closed 1 year ago

Nikaidou-Shinku commented 1 year ago

源码可以发现插件实际上使用 $1 作为正则捕获组的占位符而不是 %1

codecov[bot] commented 1 year ago

Codecov Report

Base: 90.45% // Head: 90.45% // No change to project coverage :thumbsup:

Coverage data is based on head (90ce226) compared to base (f498670). Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #15 +/- ## ======================================= Coverage 90.45% 90.45% ======================================= Files 14 14 Lines 2315 2315 Branches 479 479 ======================================= Hits 2094 2094 Misses 221 221 ``` | [Impacted Files](https://codecov.io/gh/koishijs/koishi-plugin-dialogue/pull/15?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=koishijs) | Coverage Δ | | |---|---|---| | [packages/core/src/update.ts](https://codecov.io/gh/koishijs/koishi-plugin-dialogue/pull/15?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=koishijs#diff-cGFja2FnZXMvY29yZS9zcmMvdXBkYXRlLnRz) | `97.23% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=koishijs). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=koishijs)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.