in reply to regex question

Also if you're just trying to remove the characters blindly tr/()//d might be a bit quicker (of course having said that someone will immediately post a benchmark showing that some strange new optimization's gone in 5 months ago and now s///g wipes the floor with it . . .).