diff options
| author | Jack Nagel | 2014-07-19 20:25:16 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-07-19 20:25:32 -0500 |
| commit | 26b8c5a27d4ee04c67353a8115cb296337b9ec4f (patch) | |
| tree | f4760c84f3b5f083e8ca5229641bec5061eed512 /Library/Homebrew/utils/inreplace.rb | |
| parent | efcfbcc98bdc24187a2b590fd54d1c51816dffa2 (diff) | |
| download | brew-26b8c5a27d4ee04c67353a8115cb296337b9ec4f.tar.bz2 | |
Improve pull request URL regexp
- use a regexp literal and avoid escaping forward slashes
- escape the period in "github.com"
- match only hex characters in the commit part
- allow hyphen in usernames and repo names, matching what we allow for
tap names
- avoid unnecessary capture
Diffstat (limited to 'Library/Homebrew/utils/inreplace.rb')
0 files changed, 0 insertions, 0 deletions
