summaryrefslogtreecommitdiff
path: root/includes/normal/UtfNormalGenerate.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/normal/UtfNormalGenerate.php')
-rw-r--r--includes/normal/UtfNormalGenerate.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/normal/UtfNormalGenerate.php b/includes/normal/UtfNormalGenerate.php
index 688a80f1..f0eb5330 100644
--- a/includes/normal/UtfNormalGenerate.php
+++ b/includes/normal/UtfNormalGenerate.php
@@ -43,6 +43,7 @@ if( !$in ) {
print "Initializing normalization quick check tables...\n";
$checkNFC = array();
while( false !== ($line = fgets( $in ) ) ) {
+ $matches = array();
if( preg_match( '/^([0-9A-F]+)(?:..([0-9A-F]+))?\s*;\s*(NFC_QC)\s*;\s*([MN])/', $line, $matches ) ) {
list( $junk, $first, $last, $prop, $value ) = $matches;
#print "$first $last $prop $value\n";