pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rdear <rdear@dev.internal>
To: pgsql-sql@postgresql.org
Subject: PL/PGSQL Regexe
Date: Mon, 17 Sep 2001 16:41:22 +0100
Message-ID: <3BA619A2.6090402@dev.internal> (raw)

I'm doing a check within a PL/PGSQL function using a regular expression 
and I get the error:

ERROR:  regcomp failed with error invalid character range

This appears to be because of the underscore "_" character. The regex I 
want to use is ''[A-Za-z0-9_]'' but this doesn't work. Any suggestions 
or is this a bug/feature?





view thread (3+ messages)  latest in thread

Message-ID: <3BA619A2.6090402@dev.internal>
Permalink:  ../3BA619A2.6090402@dev.internal/
Also on:    postgresql.org/message-id/3BA619A2.6090402@dev.internal

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rdear@dev.internal
  Subject: Re: PL/PGSQL Regexe
  In-Reply-To: <3BA619A2.6090402@dev.internal>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox