Skip to content

Latest commit

 

History

History
56 lines (32 loc) · 3.04 KB

CONTRIBUTING.md

File metadata and controls

56 lines (32 loc) · 3.04 KB

Contributing

  • If you need help, mail me or ping me on Twitter or Telegram.
  • If you have suggestions that need to be discussed, open an issue.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Pull Requests

We gladly accept any PR's assuming they are well written, documented ( if necessary ) and have test code.

If you're unsure if we'll accept a new feature please open an issue requesting it and we can have a discussion before you code and submit a PR.

If you update the regular expression, you must update its link and the corresponding regular expression in POSIX.md.

If you change the list of test numbers for a regular expression, you must update the test numbers for all regular expressions to make sure they are consistent. This means you have to regenerate a new link for each regular expression and update it.

Issues

Please use the issue tracker strictly for bugs you think are caused by a regular expression issue in ChinaMobilePhoneNumberRegex. We’re very busy and as a free open source library do not have the time to adequately help with questions that are more tutorial/training in nature and recommend using Stack Overflow and Google as alternatives.

Please do not be offended if we close your issue and reference this document. If you believe the issue is truly a fault in ChinaMobilePhoneNumberRegex’s regular expressions, re-open it.


参与

  • 如果你需要帮助,请给我发送邮件,也可以在 TwitterTelegram 上联系我。
  • 如果你有建议需要讨论,请打开一个 issue。
  • 如果你发现一个 bug,请打开一个 issue。
  • 如果你有一个功能请求,请打开一个 issue。
  • 如果你想要贡献代码,请提交一个 PR。

合并请求

我们很乐意接受任何高质量、文档完整(如果需要)并且有完整测试的 PR。

如果您不确定我们是否接受新功能,请打开一个 issue 询问,我们可以在您编码和提交 PR 之前进行讨论。

如果您更新了正则表达式,您必须更新它的链接和 POSIX-CN.md 中对应的正则表达式。

如果您改变了某一个正则表达式的测试号码列表,您必须更新所有正则表达式的测试号码,确保它们一致。这也就意味着您必须重新为每一个正则表达式生成一个新的链接并更新。

Issues

严格使用 issue 来追踪您认为是由 ChinaMobilePhoneNumberRegex 中正则表达式的 bug 引起的问题。我们非常忙碌,作为一个免费的开源库,没有足够的时间来充分帮助解决更多教程 / 培训的问题,建议使用 Stack Overflow 和 Google 作为替代方案。

如果我们关闭您的问题,请不要生气。 如果您认为 ChinaMobilePhoneNumberRegex 的正则表达式确实有错误,请重新打开它。