Posted: 19.10.2012 10:55 Post subject: parsiranje pomoću regex
Pozdrav
želim parsirati sve js filove preko php-a i odrediti imena klasa koji se koriste
npr. ovak nešto trebam u konačnici
"var items = new Cms.News.Application({app:, this});"
treba mi vratiti u polje $new[] = 'Cms.News.Application'
ili
"Cms.News.Application = Ext.extend(Cms.Core.Application, { "
$extend[] = array('original' => 'Cms.News.Application',
'extend' => Cms.Core.Application'
trenutno se mučim s regularnim izrazima, moram priznati da ih nisam prije nisam koristio
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum