Re: Regex for properly formed names

From: Metin Ulusinan <metin(dot)ulusinan(at)ssicilian(dot)net>
To: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
Cc: pgsql-sql <pgsql-sql(at)lists(dot)postgresql(dot)org>
Subject: Re: Regex for properly formed names
Date: 2021-10-11 13:15:03
Message-ID: CAPi93JScaMPJFBfHS-mirDM7Bf=wp7pjx56wGvhsdAYDT1WaoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

If regex is not necessary;

INITCAP(bus_stop_name) != bus_stop_name

can be answer? 😎

On Mon, Oct 11, 2021 at 4:01 PM Shaozhong SHI <shishaozhong(at)gmail(dot)com>
wrote:

> Hello,
>
> What is the regex for properly formed names?
>
> Scenario,
>
> Bus Stop (St Peter's Church)
>
> Scenario - wrongly formed name
>
> Bus stop (st peter's church)
>
> How to write a regex to detect wrongly formed names?
>
> Regards,
>
> David
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message aditya desai 2021-10-11 14:11:27 LISTEN / NOTIFY
Previous Message Karsten Hilbert 2021-10-11 13:10:19 Aw: Regex for properly formed names