Skip to content

Commit 86def24

Browse files
committed
update acronym file and prefix
1 parent 17818a0 commit 86def24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/qa/check-acronyms.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
echo " --help, -help, -h, -? - to get this help\n";
3838
echo " -v - verbose\n";
3939
echo "\n";
40-
echo "The acronyms file usually is doc-en/entities/acronyms.ent\n";
40+
echo "The acronyms file usually is doc-en/entities/entities.acronyms.ent\n";
4141

4242
exit(1);
4343

@@ -101,7 +101,7 @@
101101
// complete with information about definition
102102
$content = file_get_contents($acronyms_file);
103103

104-
if (preg_match_all('#<entity name="acronym\.([^"]+)">(.*?)</entity>#s', $content, $matches)) {
104+
if (preg_match_all('#<entity name="acronym\.expansion\.([^"]+)">(.*?)</entity>#s', $content, $matches)) {
105105

106106
foreach($matches[1] as $id => $acronym) {
107107

0 commit comments

Comments
 (0)