Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitae793ff

Browse files
committed
Fix incorrect backslashing in regexp example, per Robert Treat.
1 parent768eaf1 commitae793ff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/ref/create_domain.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.20 2005/01/04 00:39:53 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.21 2005/05/01 15:57:59 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -167,8 +167,8 @@ where <replaceable class="PARAMETER">constraint</replaceable> is:
167167
<programlisting>
168168
CREATE DOMAIN us_postal_code AS TEXT
169169
CHECK(
170-
VALUE ~ '^\d{5}$'
171-
OR VALUE ~ '^\d{5}-\d{4}$'
170+
VALUE ~ '^\\d{5}$'
171+
OR VALUE ~ '^\\d{5}-\\d{4}$'
172172
);
173173

174174
CREATE TABLE us_snail_addy (

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp