Re: [GENERAL] Pattern Matching question - PG 9.6 - Mailing list pgsql-general

From David G. Johnston
Subject Re: [GENERAL] Pattern Matching question - PG 9.6
Date
Msg-id CAKFQuwbDQhkcPuSzgv3PdXbGd8a0NVp4DRtUiAp-Bv6+4NaOPA@mail.gmail.com
Whole thread Raw
In response to [GENERAL] Pattern Matching question - PG 9.6  (Patrick B <patrickbakerbr@gmail.com>)
Responses Re: [GENERAL] Pattern Matching question - PG 9.6  (Patrick B <patrickbakerbr@gmail.com>)
List pgsql-general
On Sunday, May 14, 2017, Patrick B <patrickbakerbr@gmail.com> wrote:

5   /testfile/client/10/attachment/1000/master/   10

7   /testfile/client/10/attachment/unassigned/file/1001/master   10

8   /testfile/client/10/attachment/unassigned/file/1002/master   10

What am I doing wrong?


Without you explaining why 6 and 9 are invalid it's impossible to say how you should modify your regex to exclude them.  You may find positive and negative look-ahead useful though.

David J.

pgsql-general by date:

Previous
From: Patrick B
Date:
Subject: Re: [GENERAL] Pattern Matching question - PG 9.6
Next
From: Patrick B
Date:
Subject: Re: [GENERAL] Pattern Matching question - PG 9.6