maybe this: http://www.pcre.org/pcre.txt and ctypes might work for you? (I was suprised to find out that PCRE supported POSIX but don't know what version it supports or how well). - Pad