version 1.1, 2015/06/29 15:42:13
|
version 1.3, 2023/03/13 22:31:22
|
Line 1
|
Line 1
|
# The LearningOnline Network with CAPA - LON-CAPA |
# The LearningOnline Network with CAPA - LON-CAPA |
# String tokenizer |
# String tokenizer |
# |
# |
|
# $Id$ |
|
# |
# Copyright (C) 2014 Michigan State University Board of Trustees |
# Copyright (C) 2014 Michigan State University Board of Trustees |
# |
# |
# This program is free software: you can redistribute it and/or modify |
# This program is free software: you can redistribute it and/or modify |
Line 182 main:
|
Line 184 main:
|
|
|
# names |
# names |
if (($c ge 'a' && $c le 'z') || ($c ge 'A' && $c le 'Z') || |
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; |
$value = $c; |
$i++; |
$i++; |
for (;;) { |
for (;;) { |