aboutsummaryrefslogtreecommitdiff
path: root/parser.php
diff options
context:
space:
mode:
authorJohn Denker <jsd@av8n.com>2021-11-11 14:22:13 -0700
committerJohn Denker <jsd@av8n.com>2021-11-11 16:08:19 -0700
commited217ad07e0f914d44a23857a98c9daed0b04cdd (patch)
tree5e3c9a44f5ab4eefdaac5cdd0fffffd8f91eca6f /parser.php
parent540b67046c2e94e8198b2ade7b3d9fcae315c36b (diff)
allow capital Greek letters
Diffstat (limited to 'parser.php')
-rw-r--r--parser.php27
1 files changed, 26 insertions, 1 deletions
diff --git a/parser.php b/parser.php
index 4423c38..80e01c2 100644
--- a/parser.php
+++ b/parser.php
@@ -623,7 +623,32 @@ class qtype_algebra_parser_variable extends qtype_algebra_parser_term {
'phi',
'chi',
'psi',
- 'omega'
+ 'omega',
+
+ 'Alpha',
+ 'Beta',
+ 'Gamma',
+ 'Delta',
+ 'Epsilon',
+ 'Zeta',
+ 'Eta',
+ 'Theta',
+ 'Iota',
+ 'Kappa',
+ 'Lambda',
+ 'Mu',
+ 'Nu',
+ 'Xi',
+ 'Omicron',
+ 'Pi',
+ 'Rho',
+ 'Sigma',
+ 'Tau',
+ 'Upsilon',
+ 'Phi',
+ 'Chi',
+ 'Psi',
+ 'Omega',
);
/**