Tom Lane <tgl@sss.pgh.pa.us> wrote:
> regexp substitution
I found a way to at least keep the cite in one piece. Perhaps I can
do the rest in custom dictionaries, which are more pluggable.
select ts_debug
('State Statute <cite value="SS9.125.07(4A)(3)"> pertaining to');
ts_debug
--------------------------------------------------------------------------------
(asciiword,"Word, all
ASCII",State,{english_stem},english_stem,{state})
(blank,"Space symbols"," ",{},,)
(asciiword,"Word, all
ASCII",Statute,{english_stem},english_stem,{statut})
(blank,"Space symbols"," ",{},,)
(tag,"XML tag","<cite value=""SS9.125.07(4A)(3)"">",{},,)
(blank,"Space symbols"," ",{},,)
(asciiword,"Word, all
ASCII",pertaining,{english_stem},english_stem,{pertain})
(blank,"Space symbols"," ",{},,)
(asciiword,"Word, all ASCII",to,{english_stem},english_stem,{})
(9 rows)
-Kevin