On Thu, Sep 29, 2011 at 10:59:19AM -0500, Peng Yu wrote: > We all have discovered that regex(3) is not consistent across all the > platform. Why you say it is portable?
The three systems I mentioned earlier today all have regex(3). Which system have you found, which doesn't have it? > As I mentioned previously, the best is to add a few examples in man > bash. I would not object to that, but I can't speak for Chet. Another option would be to refer to the POSIX definition of Extended Regular Expressions as a web site. I wish they had better URLs, though. The URL I have for it at the moment is http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html#tag_09_04