Skip to content

Commit

Permalink
Add & to author name regex, resolve #3485
Browse files Browse the repository at this point in the history
Useful for R&D departments :) 
python-poetry/poetry#3485
  • Loading branch information
ShayNehmad-RecoLabs authored Dec 27, 2020
1 parent abe9fe5 commit 45cc700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/core/packages/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from .utils.utils import create_nested_marker


AUTHOR_REGEX = re.compile(r"(?u)^(?P<name>[- .,\w\d'’\"()]+)(?: <(?P<email>.+?)>)?$")
AUTHOR_REGEX = re.compile(r"(?u)^(?P<name>[- .,\w\d'’\"()&]+)(?: <(?P<email>.+?)>)?$")


class Package(PackageSpecification):
Expand Down

0 comments on commit 45cc700

Please sign in to comment.