From: <sk...@us...> - 2008-10-23 07:11:58
|
Revision: 1409 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=1409&view=rev Author: sknappe Date: 2008-10-23 07:11:53 +0000 (Thu, 23 Oct 2008) Log Message: ----------- Bugfix Modified Paths: -------------- trunk/src/dbpedia-navigator/helper_functions.php Modified: trunk/src/dbpedia-navigator/helper_functions.php =================================================================== --- trunk/src/dbpedia-navigator/helper_functions.php 2008-10-23 07:11:01 UTC (rev 1408) +++ trunk/src/dbpedia-navigator/helper_functions.php 2008-10-23 07:11:53 UTC (rev 1409) @@ -9,7 +9,7 @@ $final=''; $offset=0; - preg_match_all("/[^-0\040A-Z]([A-Z])/",$res,$treffer,PREG_OFFSET_CAPTURE); + preg_match_all("/[^-0\040]([A-Z])[^A-Z]/",$res,$treffer,PREG_OFFSET_CAPTURE); foreach ($treffer[1] as $treff){ if ($res[$treff[1]-1]!=' '&&$res[$treff[1]-1]!='-'&&$treff[1]!=0){ $final.=substr($res,$offset,$treff[1]-$offset).' '; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |