corrected a warning prevention condition

This commit is contained in:
Alexey Verkhovsky 2005-01-28 01:00:10 +00:00
parent 60dfbd72b7
commit 9bc9a29789

View file

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