Skip to content

Commit 5f906f5

Browse files
authored
Update unicode_unescape.sql
1 parent 861f617 commit 5f906f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/unicode_unescape.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ create or replace function public.unicode_unescape(text)
88
as
99
$func$
1010
-- input string - only as \uXXXX sequence
11-
-- TODO validate format and return NULL for invalid strings (see string_to_jsonb.sql)?
11+
-- TODO validate format by regexp and return NULL for invalid strings?
1212
select concat('"', $1, '"')::jsonb->>0;
1313
$func$;
1414

0 commit comments

Comments
 (0)