Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update pg_search_dmetaphone function to fix backslash-escaping issue

  • Loading branch information...
commit ec48650c9ba34e05bc38aa053f216cee230a8494 1 parent 4ffb485
@nertzy nertzy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sql/dmetaphone.sql
View
2  sql/dmetaphone.sql
@@ -1,3 +1,3 @@
CREATE OR REPLACE FUNCTION pg_search_dmetaphone(text) RETURNS text LANGUAGE SQL IMMUTABLE STRICT AS $function$
- SELECT array_to_string(ARRAY(SELECT dmetaphone(unnest(regexp_split_to_array($1, E'\\\\s+')))), ' ')
+ SELECT array_to_string(ARRAY(SELECT dmetaphone(unnest(regexp_split_to_array($1, E'\\s+')))), ' ')
$function$;
Please sign in to comment.
Something went wrong with that request. Please try again.