« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/Language.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/Language.js')
-rw-r--r--src/data/things/Language.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data/things/Language.js b/src/data/things/Language.js
index 7f3f43de..48ba0659 100644
--- a/src/data/things/Language.js
+++ b/src/data/things/Language.js
@@ -7,7 +7,6 @@ import * as html from '#html';
 import {accumulateSum, empty, withEntries} from '#sugar';
 import {isLanguageCode, isObject} from '#validators';
 import Thing from '#thing';
-import {languageOptionRegex} from '#wiki-data';
 
 import {
   externalLinkSpec,
@@ -21,6 +20,8 @@ import {exitWithoutDependency, exposeConstant}
   from '#composite/control-flow';
 import {flag, name} from '#composite/wiki-properties';
 
+const languageOptionRegex = /{(?<name>[A-Z0-9_]+)}/g;
+
 export class Language extends Thing {
   static [Thing.getPropertyDescriptors] = () => ({
     // Update & expose