XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
modifier.count_sentences.php
Go to the documentation of this file.
1 <?php
22 {
23  // find periods with a word before but not after.
24  return preg_match_all('/[^\s]\.(?!\w)/', $string, $match);
25 }
26 
27 /* vim: set expandtab: */
28 
29 ?>