568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
|
let m = /NF[ -]?(C|E|P|Q|S|X|Z|EN(?:[ -]ISO|))[ -]?([0-9]+(?:[\/‑-][0-9]+|))/i.exec(s);
if (!m) {
return "";
}
return "NF " + m[1].toUpperCase().replace(/ /g, " ").replace(/-/g, " ") + " " + m[2].replace(/\//g, "‑").replace(/-/g, "‑");
}
catch (e) {
helpers.logerror(e);
return "# erreur #";
}
}
function undoLigature (c) {
if (c == "fi") {
return "fi";
|
|
|
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
|
let m = /NF[ -]?(C|E|P|Q|S|X|Z|EN(?:[ -]ISO|))[ -]?([0-9]+(?:[\/‑-][0-9]+|))/i.exec(s);
if (!m) {
return "";
}
return "NF " + m[1].toUpperCase().replace(/ /g, " ").replace(/-/g, " ") + " " + m[2].replace(/\//g, "‑").replace(/-/g, "‑");
}
catch (e) {
console.error(e);
return "# erreur #";
}
}
function undoLigature (c) {
if (c == "fi") {
return "fi";
|