From 953bc72761872478a7c60daf79a33a4dc2fd73df Mon Sep 17 00:00:00 2001 From: Tim Retout Date: Wed, 30 Dec 2009 17:53:14 +0000 Subject: [PATCH] states.man: Escape backslashes in namerules and startrules examples. --- docs/ChangeLog | 3 +++ docs/states.man | 8 ++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/ChangeLog b/docs/ChangeLog index 10286d8..7bfc3de 100644 --- a/docs/ChangeLog +++ b/docs/ChangeLog @@ -1,5 +1,8 @@ 2009-12-30 Tim Retout + * states.man (STATES PROGRAM FILES): Escape backslashes in + namerules and startrules examples. + Small corrections probably originally by Michael Fedrowitz. * enscript.man (SYNOPSIS): Correct '-W' to '-w'. diff --git a/docs/states.man b/docs/states.man index 60add58..9b66975 100644 --- a/docs/states.man +++ b/docs/states.man @@ -141,14 +141,14 @@ following start and name rules can distinguish C and Fortran files: .nf namerules { - /\.(c|h)$/ c; - /\.[fF]$/ fortran; + /\\.(c|h)$/ c; + /\\.[fF]$/ fortran; } startrules { - /-\*- [cC] -\*-/ c; - /-\*- fortran -\*-/ fortran; + /-\\*- [cC] -\\*-/ c; + /-\\*- fortran -\\*-/ fortran; } .fi .RE -- 2.17.1