RE: preg_match

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Alex Chamberlain [mailto:php@xxxxxxxxxxxxxxxxxxxxx]
> Sent: Monday, October 27, 2008 10:09 AM
> To: PHP General list
> Subject:  preg_match
> 
> Hi,
> 
> I don't understand regular expressions at all - I will make an effort
> to
> learn about them one day, but I need a solution today. I want to use
> the
> __autoload function, but not for all my class only those that finish
in
> 'Controller'. So for instance,
> 
> 'ErrorController' should load 'errorcontroller.inc.php'
> 'IndexController' should load 'indexcontroller.inc.php'
> 'FooBar' should NOT load anything whatsoever.
> 
> Can you help me write an __autoload function please??

http://www.regular-expressions.info

Awesome website. You should be a veritable RegEx guru after reading that
site for one day. (It'll also tell you what the ^ and $ means, as well
as that (?:) group).


Todd Boyd
Web Programmer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux