Skip to content

Conversation

@armintaenzertng
Copy link
Collaborator

@armintaenzertng armintaenzertng commented Jul 5, 2023

The new logic follows this rule:
First, split off the ActorType part.
Then, if the last character in the string is a closing bracket and there exists a corresponding opening bracket, match everything between these two brackets as email and the rest of the string as name.
If the the last character is not a closing bracket, match the whole string as name.

I also added some more tests for this.

fixes #721

@armintaenzertng armintaenzertng merged commit 17602fc into spdx:main Jul 11, 2023
@armintaenzertng armintaenzertng deleted the updateActorRegex branch July 11, 2023 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Is this organization name really invalid?

2 participants