corrected a warning prevention condition
This commit is contained in:
parent
60dfbd72b7
commit
9bc9a29789
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue