Skip to content

Commit

Permalink
Fix lookup enricher regex accidental removal.
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyorl committed May 21, 2024
1 parent 24a0bf2 commit 11a0eeb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions module/enrichers.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ export function registerCustomEnrichers() {
/\[\[\/(?<type>award|check|damage|healing|item|save|skill|tool) (?<config>[^\]]+)]](?:{(?<label>[^}]+)})?/gi,
enricher: enrichString
},
{
pattern: /\[\[(?<type>lookup) (?<config>[^\]]+)]](?:{(?<label>[^}]+)})?/gi,
enricher: enrichString
},
{
pattern: /&(?<type>Reference)\[(?<config>[^\]]+)](?:{(?<label>[^}]+)})?/gi,
enricher: enrichString
Expand Down

0 comments on commit 11a0eeb

Please sign in to comment.