Re: message string fixes

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: message string fixes
Date: 2008-01-20 21:33:30
Message-ID: 4793BE2A.7050004@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Maybe the right phrase to use is "ispell regular expression". In any
> case we need to document what the limitations are compared to "regular"
> regular expressions (ahem). Do you know offhand what the rules are?

There is a fallback to regex if expression isn't supported by regis (see call
of RS_isRegis() in spell.c).

Regis supports only matches as is, range of characters ( [abc] ), negotiation of
characters range ( [^abc] ) and can match begin or end of string. AFAIK, ispell
allows full regex but in practice I never seen something unsupported by regis.

--
Teodor Sigaev E-mail: teodor(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-01-20 21:34:44 Re: setof record "out" syntax and returning records
Previous Message Tom Lane 2008-01-20 21:31:19 Re: Friendly help for psql