typo
[lhc/web/wiklou.git] / includes / MagicWord.php
index 9089d51..bb7b7c1 100644 (file)
@@ -110,7 +110,7 @@ class MagicWord {
                $this->mRegexStart = "/^{$this->mBaseRegex}/{$case}";
                $this->mVariableRegex = str_replace( "\\$1", "([$variableClass]*?)", $this->mRegex );
                $this->mVariableStartToEndRegex = str_replace( "\\$1", "([$variableClass]*?)", 
-                       "/^{$this->mBaseRegex}$/{$case}" );
+                       "/^({$this->mBaseRegex})$/{$case}" );
        }
        
        # Gets a regex representing matching the word