Re: message string fixes - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: message string fixes
Date
Msg-id 4793BE2A.7050004@sigaev.ru
Whole thread Raw
In response to Re: message string fixes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: message string fixes
List 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@sigaev.ru
  WWW: http://www.sigaev.ru/
 


pgsql-hackers by date:

Previous
From: Mark Cave-Ayland
Date:
Subject: Minor bug in src/port/rint.c
Next
From: Tom Lane
Date:
Subject: Re: Minor bug in src/port/rint.c