Skip to content

Commit

Permalink
fix bug with primehunts and zone names
Browse files Browse the repository at this point in the history
  • Loading branch information
wexxlee committed May 13, 2024
1 parent a0a0e31 commit 7f1a60c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function generateMacro() {
if (mark.length < 3) // probably a newline
continue;
if (scoutSrc === 'prime') { // needs special handling
const zoneTestRegex = /^(?<zone>[\w ]+)$/;
const zoneTestRegex = /^(?<zone>[\w\'\- ]+)$/;
const zoneTestMatch = mark.match(zoneTestRegex);
if (zoneTestMatch) {
zoneName = zoneTestMatch.groups.zone;
Expand Down

0 comments on commit 7f1a60c

Please sign in to comment.