仓库议题

jonschlinkert/replace-nth

Replace only specific occurrences of a string. e.g. if the string exists 10 times, you can replace, say, the 3rd and 8th occurrences only, etc. Returns a new string with nth specific matches of a pattern replaced by a replacement. The pattern can be a string or a RegExp, and the replacement can be a string or a function to be called for each match.

在 GitHub 查看
星标
 (3 个星标)
派生
 (0 个派生)
已索引议题
 (0 个已索引议题)
个开放新手议题
 (0 个开放的新手议题)
最近索引
2026年8月17日
最近 GitHub push
2014年10月4日
许可证
MIT License
贡献指南
没有贡献指南
行为准则
没有行为准则
主要语言
JavaScript
PR 合并指标
 (30 天内没有已合并 PR)
新手标签
没有已索引的新手标签

议题

0 个已关闭索引议题

此仓库没有已关闭的已索引议题。