• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • Examples
  • File List

E:/E/GEAMP/www/openbiz/openbiz/others/Smarty/libs/plugins/modifier.count_sentences.php

00001 <?php
00020 function smarty_modifier_count_sentences($string)
00021 {
00022     // find periods with a word before but not after.
00023     return preg_match_all('/[^\s]\.(?!\w)/', $string, $match);
00024 }
00025 
00026 /* vim: set expandtab: */
00027 
00028 ?>

Generated on Thu Apr 19 2012 17:01:16 for openbiz by  doxygen 1.7.2