Pattern matching....

From: "Steve Wolfe" <steve(at)iboats(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Pattern matching....
Date: 2002-02-08 22:48:59
Message-ID: 001c01c1b0f2$dbb17960$d281f6cc@iboats.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Here's a question... in Perl, I could do a pattern match like this:

=~ /$var[A-Z]/

In PG, I can do something similar, matching a field name:

~* my_field

But how do I add the "[A-Z]" to it?

steve

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edwin Grubbs 2002-02-08 22:53:36 Re: foreign keys and transactions
Previous Message Beth Gatewood 2002-02-08 22:20:31 sql to find all the foreign keys