Module: LitaGithub::R
- Included in:
- Lita::Handlers::Github, Lita::Handlers::GithubPR
- Defined in:
- lib/lita-github/r.rb
Overview
Github handler common-use regex constants
Constant Summary collapse
- REPO_NAME_REGEX =
regex matcher for a repo name (not including the org).
'(?<repo_name>[a-zA-Z0-9_\-]+)'
- REPO_REGEX =
regex matcher for: Org/repo
'(?:(?<org>[a-zA-Z0-9_\-]+)(?:\s+?)?\/)?(?:\s+?)?(?<repo>[a-zA-Z0-9_\-]+)'