--- loncom/homework/math_parser/Tokenizer.pm 2015/06/29 15:42:13 1.1 +++ loncom/homework/math_parser/Tokenizer.pm 2023/03/13 22:31:22 1.3 @@ -1,6 +1,8 @@ # The LearningOnline Network with CAPA - LON-CAPA # String tokenizer # +# $Id: Tokenizer.pm,v 1.3 2023/03/13 22:31:22 raeburn Exp $ +# # Copyright (C) 2014 Michigan State University Board of Trustees # # This program is free software: you can redistribute it and/or modify @@ -182,7 +184,7 @@ main: # names if (($c ge 'a' && $c le 'z') || ($c ge 'A' && $c le 'Z') || - ($c ge 'α' && $c le 'ω') || ($c ge 'Α' && $c le 'Ω') || $c eq 'µ') { + ($c ge 'α' && $c le 'ω') || ($c ge 'Α' && $c le 'Ω') || $c eq 'µ' || $c eq '°') { $value = $c; $i++; for (;;) {