corrected a warning prevention condition

instiki-madeleine
Alexey Verkhovsky 2005-01-28 01:00:10 +00:00
parent 60dfbd72b7
commit 9bc9a29789
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ module WikiChunk
# method will return the WikiWord instead of the usual +nil+.
# The +page_name+ method returns the matched WikiWord.
class Word < WikiLink
unless defined? WIKI_LINK
unless defined? WIKI_WORD
WIKI_WORD = Regexp.new('(":)?(\\\\)?(' + WikiWords::WIKI_WORD_PATTERN + ')\b', 0, "utf-8")
end