diff --git a/src/backend/parser/scan.l b/src/backend/parser/scan.l index 161a32861f624fbcc0b2f2a34163ee948a1955e6..8fa672f01822ee8442bad7f7ca1f91415f528098 100644 --- a/src/backend/parser/scan.l +++ b/src/backend/parser/scan.l @@ -24,7 +24,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.123 2005/06/02 01:23:08 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/parser/scan.l,v 1.124 2005/06/02 17:45:17 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -193,7 +193,7 @@ xnstart [nN]{quote} xqstart {quote} xqdouble {quote}{quote} xqinside [^\\']+ -xqescape [\\][^0-7x] +xqescape [\\][^0-7] xqoctesc [\\][0-7]{1,3} xqhexesc [\\]x[0-9A-Fa-f]{1,2} diff --git a/src/bin/psql/psqlscan.l b/src/bin/psql/psqlscan.l index d0e1dc80d202546566661c8d6ad9add8299ab8e4..a093b3703f5d6ad31f73088d24a995ecb0269904 100644 --- a/src/bin/psql/psqlscan.l +++ b/src/bin/psql/psqlscan.l @@ -33,7 +33,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.13 2005/06/02 01:23:48 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/psqlscan.l,v 1.14 2005/06/02 17:45:19 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -250,7 +250,7 @@ xnstart [nN]{quote} xqstart {quote} xqdouble {quote}{quote} xqinside [^\\']+ -xqescape [\\][^0-7x] +xqescape [\\][^0-7] xqoctesc [\\][0-7]{1,3} xqhexesc [\\]x[0-9A-Fa-f]{1,2}