cdesktopenv/cde/doc/C/help/Help4Help/Appendix.sgm

111 lines
3.4 KiB
Plaintext

<!-- $XConsortium: Appendix.sgm /main/6 1996/09/08 22:14:02 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->
<Appendix Role="notoc" Id="HelpManagerWindow">
<Title>Help Manager Window with Help Families</Title>
<Para>A help family includes one or more help volumes. You can select and view
individual help volumes from Help Manager.
</Para>
<Graphic Entityref="Help4HelpHelpManager" Id="HH4H.MIT.fig.1"></Graphic>
<Para>The Help Manager window contains an additional navigation button
called Top Level. After browsing different help volumes,
you can use Top Level to return to the Help Manager's main screen.</Para>
<Procedure>
<Title>See Also</Title>
<Step>
<ItemizedList Mark="&bull;" Role="tight">
<ListItem Id="HH4H.MIT.item.1">
<Para><XRef Linkend="ToBrowseDesktopHelp"></Para>
</ListItem>
</ItemizedList>
<!-- COMMENT
The topic Using a Help Index in the tasks module contains a definition link to
the <otherfront> element that follows; it gives examples of using
regular expression characters.
END COMMENT
-->
</Step>
</Procedure>
</Appendix>
<Appendix Role="notoc" Id="regexpressions">
<Title>Regular Expression Pattern Search</Title>
<VariableList>
<VarListEntry>
<Term><Emphasis Role="heading">Character</Emphasis></Term>
<ListItem>
<Para><Emphasis Role="heading">Meaning</Emphasis></Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term>&sigspace;. (period)</Term>
<ListItem>
<Para>Matches any character</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term>&sigspace;* (asterisk)</Term>
<ListItem>
<Para>Matches 0 or more of the preceding character</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term>&sigspace;? (question mark)&sigspace;</Term>
<ListItem>
<Para>Matches 0 or 1 of the preceding character</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term>&sigspace;| (vertical bar)</Term>
<ListItem>
<Para>Specifies two search patterns and matches
either pattern (logical OR)</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term>&sigspace;() (parantheses)</Term>
<ListItem>
<Para>Encloses a pattern expression</Para>
</ListItem>
</VarListEntry>
</VariableList>
<Para>To search for a character that has special meaning in a regular
expression precede the character with a &newline; (backslash).</Para>
<Para>&sigspace;</Para>
<Procedure>
<Title>Examples</Title>
<Step>
<Para>This expression finds index entries that contain the word "mouse"
followed by any number of characters followed by "clicking".
</Para>
<ProgramListing>mouse.*clicking
</ProgramListing>
<Para>This expression finds index entries that contain the
word "mouse" or "click".</Para>
<ProgramListing>mouse | click
</ProgramListing>
<Para>This example finds index entries that contain "Session Manager" or "Style Manager".</Para>
<ProgramListing>(session | style).*manager
</ProgramListing>
</Step>
</Procedure>
<Procedure>
<Title>See Also</Title>
<Step>
<ItemizedList Mark="&bull;" Role="tight">
<ListItem Id="HH4H.MIT.item.2">
<Para><XRef Linkend="Index-Search"></Para>
</ListItem>
<ListItem Id="HH4H.MIT.item.3">
<Para>For more information about regular expressions, refer to the <ComputerOutput>regexp(5)</ComputerOutput> man page
</Para>
</ListItem>
</ItemizedList>
</Step>
</Procedure>
</Appendix>