[EMAIL PROTECTED] (David Fetter) writes: > While PL/Perl is great, it's not available everywhere, and I'd like to > be able to grab atoms from a regex match in, say, a SELECT. Is there > some way to get access to them?
There's a three-parameter variant of substring() that allows extraction of a portion of a regex match --- unfortunately it uses SQL99's brain-dead notion of regex, which will not satisfy any Perl weenie :-( I think it'd be worth our while to define some comparable functionality that depends only on the POSIX regex engine ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly