Thanks for the reply.
It seems what you suggested works, but this regular expression is used at tons of places. I am reluctant to make those many changes. Could there be any possible alternatives?
Comment on Re^6: Regex problem building perl on IBM AIX