Skip to content

Commit

Permalink
removed extra character
Browse files Browse the repository at this point in the history
  • Loading branch information
alswang18 committed Jan 31, 2022
1 parent 7f845d4 commit fbc3698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/contracts/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def _deserialize(cls, value: str) -> 'SemverString':
# but also allows for 2 group version numbers, (allows '1.0').
register_pattern(
SemverString,
r'/^(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)?$ ', # noqa
r'^(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)?$', # noqa
)


Expand Down

0 comments on commit fbc3698

Please sign in to comment.