Skip to content

Commit

Permalink
fix: Missing optional period on vs. when parsing artist
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxxMD committed Jan 27, 2025
1 parent 142defd commit c1e1c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/utils/StringUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const SECONDARY_REGEX_STRATS: RegExp[] = [SECONDARY_CAPTURED_REGEX, SECONDARY_FR
* ^^^^^^^^^^^^^^**********************************************
*
* */
export const PRIMARY_SECONDARY_SECTIONS_REGEX = new RegExp(/^(?<primary>.+?)(?<secondary>(?:[([]?(?:\Wft\.?|\Wfeat\.?|featuring|\Wvs\.)).*)/i);
export const PRIMARY_SECONDARY_SECTIONS_REGEX = new RegExp(/^(?<primary>.+?)(?<secondary>(?:[([]?(?:\Wft\.?|\Wfeat\.?|featuring|\Wvs\.?)).*)/i);

/**
* For matching the most common track/artist pattern that has a joiner
Expand Down

0 comments on commit c1e1c69

Please sign in to comment.