Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!ameris!smazu From: smazu@ameris.UUCP (Steven P. Mazurek) Newsgroups: comp.unix.questions Subject: Re: nroff -mm macro question Summary: You need to use the printable version of the escape character Message-ID: <981@ameris.UUCP> Date: 9 Apr 91 01:09:33 GMT References: <2570002@hpcc01.HP.COM> Organization: Ameritech Services, Schaumburg, IL Lines: 30 In article <2570002@hpcc01.HP.COM>, burch@hpcc01.HP.COM (Jeff Burch) writes: > My nroff source looks like: > .VL 20 > .LI "/test\.[Ch]" > This regular expression will search for the string "test.C" or > "test.h". Note: the "\" is used to escape the ".", otherwise ... > .LE > > I want this to be formatted like: > /test\.[Ch] This regulare expression will search for the "test.C" or > "test.h". Note: ... You need to use the "on-the-fly" printable version of the escape character which in this case happens to be the back-slash. Try replacing your .LI line with: .LI "/test\e.[Ch]" the "\e" should print the back-slash. If you have Documentor's Workbench manuals you should be able to locate this and similar information in the section on Nroff/Troff Escape sequences - good luck. -- Steven P. Mazurek | Email: {...,uunet,bcr,ohumc}!ameris!smazu Ameritech Services | Schaumburg, IL USA 60010 | Phone : (708) 605-2858