Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mr9eR-0007vF-I5 for pgsql-general@arkaria.postgresql.org; Sun, 28 Nov 2021 02:10:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mr9eP-0003Hj-IO for pgsql-general@arkaria.postgresql.org; Sun, 28 Nov 2021 02:10:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mr9eP-0003HZ-5P for pgsql-general@lists.postgresql.org; Sun, 28 Nov 2021 02:10:45 +0000 Received: from mail-ot1-x334.google.com ([2607:f8b0:4864:20::334]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mr9eI-0004UF-4f for pgsql-general@lists.postgresql.org; Sun, 28 Nov 2021 02:10:43 +0000 Received: by mail-ot1-x334.google.com with SMTP id a23-20020a9d4717000000b0056c15d6d0caso20027945otf.12 for ; Sat, 27 Nov 2021 18:10:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=eUEHryZW6vxVHWc484JxodujIdn4MfYSCDAq/sY/RcI=; b=VGhpZOkUyUyc8OEOte0IVNDTvywj+sN5yjTXsY2ZV8PwATsbkcgfB3TXGOuiuzDNAl ynt4NZTTJSssICUYUfNKW/seobq0MBX88J0d+gatNJ7AHFG8O6Ty96AmdhFfXDlGJ7Uj sagNfmD64CESeORMHKLWR4SdPmPvU64dZs55UHXRtjB/C846oGTdLADiaUgcua7Wz+C3 4OZ19/dRBmAbPQ14AdT7kLbOkFMcNn5znhIK63S8tTP2KPYEljyunKbclB37NvcACVeu OOpVHLh8URcg4ISRxKHdoo75iZjBZ4NF/eOCUDYqw1z2YwNIwAaknHYBfahO1wJAFZCl mnkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=eUEHryZW6vxVHWc484JxodujIdn4MfYSCDAq/sY/RcI=; b=K7yY5iEIoQcSntyIzQIkxZE6Nw9H9nKHBN/XcV0w849CnbHiGcKw1N90cmVSc7X96g fIBFY4AEys/OQpugBmR28kJP0Lg4GskZdignDeKRv8LwT/h69bD/Q9FT+ojIR1r/0j3k zsTBAoQhnhcppJUy6pco/57pZUNC8lOyoFkevhkVKtWQK1WR423AeH3S/kmOnB9hWZ1u a5sVtJdiEhB5qFoR7aGSv6zkQBMTU0wVo2SfelsR9P992Lsm1Rm2+19uiHkSSSeJ0m48 NNOlS9co3UWyKZvHtcLIJ7vq/ANG9AJJ8TW8Y1IakK/zX7Go2HctosQ39YllmjNm1Z9d MBcQ== X-Gm-Message-State: AOAM5327zIPfLauwbINkSkAcaIpzhnqfdkQLgqvkOLA0vahybPK+nNMZ DSRH7K9YpmB4Jpey+JJgxho7My+1gAk= X-Google-Smtp-Source: ABdhPJy5YDKvya0CkrmDUm+qYQ0lwqHfNJeFs0CHzgoePaSiVfd7KvdBQD4LMvQz6u4n83LQWMPVCA== X-Received: by 2002:a9d:63d6:: with SMTP id e22mr36980800otl.49.1638065437155; Sat, 27 Nov 2021 18:10:37 -0800 (PST) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id w4sm2253141oiv.37.2021.11.27.18.10.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 27 Nov 2021 18:10:36 -0800 (PST) Subject: Re: Match 2 words and more To: pgsql-general@lists.postgresql.org References: <202111280049.bmeoep6puysk@alvherre.pgsql> From: Ron Message-ID: <389eb77b-6728-784c-7754-05484a06be11@gmail.com> Date: Sat, 27 Nov 2021 20:10:35 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <202111280049.bmeoep6puysk@alvherre.pgsql> Content-Type: multipart/alternative; boundary="------------A655E672B23F0DC03A520C95" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------A655E672B23F0DC03A520C95 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 11/27/21 6:49 PM, Alvaro Herrera wrote: > On 2021-Nov-28, Shaozhong SHI wrote: [snip] >> It appears that regex is not robust. This was my attitude when I first started to learn computer programming. /My code is perfect, i//t can't be my fault!! There must be a compiler bug!!!/ >> Nah. Just incomprehensible line noise!! -- Angular momentum makes the world go 'round. --------------A655E672B23F0DC03A520C95 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit On 11/27/21 6:49 PM, Alvaro Herrera wrote:
On 2021-Nov-28, Shaozhong SHI wrote:
[snip]
It appears that regex is not robust.

This was my attitude when I first started to learn computer programming.  My code is perfect, it can't be my fault!!  There must be a compiler bug!!!

Nah.

    

Just incomprehensible line noise!!

--
Angular momentum makes the world go 'round.
--------------A655E672B23F0DC03A520C95--