8000 Fix convertion for 'PFX flag N num' · postgrespro/postgres_cluster@ca5bc1a · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ca5bc1a

Browse files
committed
Fix convertion for 'PFX flag N num'
1 parent 8c1de5f commit ca5bc1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/tsearch2/my2ispell/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $(LANGUAGE).aff: $(ZIPFILE).aff
3434
| perl -pi \
3535
-e 's/^COMPOUNDFLAG\s+(\S+)/compoundwords controlled $$1/;' \
3636
-e 's/^COMPOUNDMIN\s+(\d+)/compoundmin $$1/;' \
37-
-e 's/^PFX\s+(\S+)\s+Y\s+\d+.*$$/ if ( !$$wasprf ) { $$wasprf=1; "prefixes\n\nflag $$1:" } else { "flag $$1:" } /e;' \
37+
-e 's/^PFX\s+(\S+)\s+([YN])\s+\d+.*$$/ if ( !$$wasprf ) { $$wasprf=1; "prefixes\n\nflag $$1:" } else { "flag $$1:" } /e;' \
3838
-e 's/^PFX\s+\S+\s+(\S+)\ 447A s+(\S+)\s+(\S+)/ uc(" $$3 > $$2")/e;' \
3939
-e 's/^(.*)SFX\s+(\S+)\s+([YN])\s+\d+.*$$/ $$flg=($$3 eq "Y") ? "*" : ""; $$flg="~$$flg" if length $$1; $$q=$$2; $$q="\\$$q" if $$q!~m#[a-zA-Z]#; if ( !$$wassfx ) { $$wassfx=1; "suffixes\n\nflag $$flg$$q:" } else { "flag $$flg$$q:" } /e;' \
4040
-e 's/^.*SFX\s+\S+\s+(\S+)\s+(\S+)\s+(\S+)/ uc(" $$3 > ".( ($$1 eq "0") ? "" : "-$$1,").( ($$2 eq "0") ? "" : "$$2") )/e;' \

0 commit comments

Comments
 (0)
0