Changeset 113 for trunk/Phergie/Plugin/Spellcheck.php
- Timestamp:
- 03/03/08 23:59:42 (5 years ago)
- Files:
-
- 1 modified
-
trunk/Phergie/Plugin/Spellcheck.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Phergie/Plugin/Spellcheck.php
r107 r113 71 71 $message = $this->event->getArgument(1); 72 72 73 if (preg_match('#(\S+)\s +\(sp\??\)#i', $message, $m)) {73 if (preg_match('#(\S+)\s*\(sp\??\)#i', $message, $m)) { 74 74 $word = $m[1]; 75 75 if (!pspell_check($this->pspell, $word)) {