summaryrefslogtreecommitdiffstats
path: root/regress/test.escape.02
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-02-24 11:43:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-02-24 11:43:13 +0000
commit9e0f9f2ee7f854665c6fbf442ea8339bbce17ecb (patch)
treec5b5201797d9e59ac3a378e66b6411e1b2610d7a /regress/test.escape.02
parent6229c59e2536a1921c81abefed1a37bfd01790b0 (diff)
downloadmandoc-9e0f9f2ee7f854665c6fbf442ea8339bbce17ecb.tar.gz
Escape-sequence validation in place (for nodes).
Diffstat (limited to 'regress/test.escape.02')
-rw-r--r--regress/test.escape.0220
1 files changed, 20 insertions, 0 deletions
diff --git a/regress/test.escape.02 b/regress/test.escape.02
new file mode 100644
index 00000000..1c727a8f
--- /dev/null
+++ b/regress/test.escape.02
@@ -0,0 +1,20 @@
+.\"
+.Dd $Mdocdate$
+.Dt mdoc 3
+.Os
+.\"
+.Sh NAME
+.Nm mdoc_free
+.Nd mdoc macro compiler library
+.\"
+.Sh SYNOPSIS
+Valid escape: \(ab
+Valid escape: \[d]
+Valid escape: \[dsdfajsdflaksjfhalksjdfh__----]
+Valid escape: \\
+Valid escape: \e
+Valid escape: \`
+Valid escape: \'
+Valid escape: \.
+Valid escape: \-
+Invalid escape: \(