diff --git a/changelog.md b/changelog.md index 385b0707..4b81a41c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,10 @@ # 12.0 -## 120.0.47 +## 12.0.48 - La chèvre d'Astrobazzarh +- la consistance chèvre est maintenant possible dans les recettes + alchimiques (et toutes les consistances avec accents) +## 12.0.47 - Correction sur les mise à jour en cascade - - Correction sur le force rendering après un changement de competence diff --git a/module/apps/textroll/text-roll-alchimie.js b/module/apps/textroll/text-roll-alchimie.js index 6733754d..e7c2f176 100644 --- a/module/apps/textroll/text-roll-alchimie.js +++ b/module/apps/textroll/text-roll-alchimie.js @@ -5,7 +5,7 @@ import { RdDUtility } from "../../rdd-utility.js"; import { RdDAlchimie } from "../../rdd-alchimie.js"; import { TextRollManager } from "./text-roll-formatter.js"; -const REGEX_ALCHIMIE_TERMES = "(?(\\w|-)+)" +const REGEX_ALCHIMIE_TERMES = "(?([-A-Za-zÀ-ÖØ-öø-ÿ ])+)" const REGEX_ALCHIMIE_MANIP = "(?(couleur|consistance))" const XREGEXP_ROLL_ALCHIMIE = XRegExp("@roll\\[" + REGEX_ALCHIMIE_MANIP + "\\s+" + REGEX_ALCHIMIE_TERMES + "\\]", 'giu') const XREGEXP_ROLL_ALCHIMIE_MANIP = XRegExp("@" + REGEX_ALCHIMIE_MANIP + "\\{" + REGEX_ALCHIMIE_TERMES + "\\}", 'giu')