After I saw the speed comparsion between the ereg and preg functions (preg is MUCh faster), in addition to the functionality that the preg functions have... I'm hooked on 'em; I've never used ereg()/eregi() again.
Soo... here's what your code might look like:
if (preg_match('/articles|news/',$_SERVER['REQUEST_URI'],$matches)) {
Note that this is a case-sensitive match, so "News" won't return a positive match. If you want it to be case-insensitive (as when using eregi() vs. ereg()), add an 'i' after the final '/' in the pattern.