Wildcard Examples
326
Netscape Enterprise Server NSAPI Programmer’s Guide • April 2002 (Draft)
Wildcard Examples
[^az]
Match any character except a or z.
*~
Negates the expression that follows.
Table C-2
Wildcard example
s
Pattern
Result
*.example.com
Matches any string ending with the characters
.example.com
.
(quark|energy).example.com
Matches either
quark.example.com
or
energy.example.com
.
198.93.9[23].???
Matches a numeric string starting with either
198.93.92
or
198.93.93
and ending with any 3 characters.
*.*
Matches any string with a period in it.
*~example-*
Matches any string except those starting with
example-
.
*.example.com~quark.example.
com
Matches any host from domain
example.com
except for a single
host
quark.example.com
.
*.example.com~(quark|energy
|neutrino).example.com
Matches any host from domain .
example.com
except for hosts
quark.example.com
,
energy.example.com
, and
neutrino.example.com
.
*.com~*.example.com
Matches any host from domain
.com
except for hosts from
subdomain
example.com
.
type=*~magnus-internal/*
Matches any type that does not start with
magnus-internal/
.
This wildcard pattern is used in the file
obj.conf
in the catch-all
Service
directive.
Table C-1
Wildcard pattern
s
Pattern
Use
Summary of Contents for ENTERPRISE SERVER 6.1
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 1 April 2002 Draft...
Page 290: ...Miscellaneous 290 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 318: ...cinfo 318 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 336: ...Buffered Streams 336 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 344: ...344 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 350: ...350 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...
Page 356: ...356 Netscape Enterprise Server NSAPI Programmer s Guide April 2002 Draft...