Hello,

For some reason the following line is not behaving

$os = eregi_replace( "Win[^dows]", "Windows ", $os );

this should take any form of Win9x (or WinNT, or Win2k, etc) & convert it so
it shows Windows 9x (or Windows NT, or...  you get the picture).  After
running "Win98" through the above eregi_replace I end up with "Windows 8".
Same problem with any of the other strings.

What's my problem??

Patrick Teague



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

Reply via email to