homebrew_cask: add + to valid cask chars (#9128)
* fix(homebrew_cask): add + to valid cask chars * docs(homebrew_cask): add changelog fragment Signed-off-by: Ben Dronen <dronenb@users.noreply.github.com> * fix(homebrew_cask): add PR link to changelog fragment Signed-off-by: Ben Dronen <dronenb@users.noreply.github.com> * fix: add period to end of changelog fragment Signed-off-by: Ben Dronen <dronenb@users.noreply.github.com> * fix: remove blank line from changelog fragment Signed-off-by: Ben Dronen <dronenb@users.noreply.github.com> * fix: changelog fragment formatting Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> * Update changelogs/fragments/9128-homebrew_cask-name-regex-fix.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Signed-off-by: Ben Dronen <dronenb@users.noreply.github.com> Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>pull/9143/head
parent
bafb8aca29
commit
9596995ffc
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- homebrew_cask - allow ``+`` symbol in Homebrew cask name validation regex (https://github.com/ansible-collections/community.general/pull/9128).
|
|
@ -190,6 +190,7 @@ class HomebrewCask(object):
|
||||||
/ # slash (for taps)
|
/ # slash (for taps)
|
||||||
\- # dashes
|
\- # dashes
|
||||||
@ # at symbol
|
@ # at symbol
|
||||||
|
\+ # plus symbol
|
||||||
'''
|
'''
|
||||||
|
|
||||||
INVALID_CASK_REGEX = _create_regex_group_complement(VALID_CASK_CHARS)
|
INVALID_CASK_REGEX = _create_regex_group_complement(VALID_CASK_CHARS)
|
||||||
|
|
Loading…
Reference in New Issue