<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR>
<STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; COLOR: black; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
PRE {
FONT-SIZE: 10pt; MARGIN: 0in 0in 0pt; COLOR: black; FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle18 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle19 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle20 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle21 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle22 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal
}
SPAN.EmailStyle23 {
FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Arial; TEXT-DECORATION: none; mso-style-type: personal-reply
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=white>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>The trailing slash? The % indicates a PCRE regular
expression. So you are matching things that start with a forward slash,
then have a letter, then anything, then a trailing slash. Perhaps you
don't want that? To match /g05 you might say something
like:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>DISK %(^/g[0-9]+$) IGNORE</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>The ^ means "start of string"</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>The /g should match "/g" I don't think a forward
slash has to be escaped (can't remember). If so, then you have to put a
backslash in front.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>The [0-9]+ should match one or more
digits</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>The $ should match the end of the
string</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>Creating regular expressions is an art, and a source of
good-natured geek banter. The goal is to create something that will match
what you want, but won't match what you don't want. And getting too fancy
can bite you.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>If you just want to get a big hammer, try
this:</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>DISK %/g0.* IGNORE </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=050491121-20122006><FONT face=Arial
color=#0000ff size=2>GLH</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Richard Leon [mailto:rleon@racenter.com]
<BR><B>Sent:</B> Wednesday, December 20, 2006 2:06 PM<BR><B>To:</B>
hobbit@hswn.dk<BR><B>Subject:</B> RE: [hobbit] Question about Disk
RULE<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial">Ok<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial">I think it is
something with my wildcard. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial">When I added
the “DISK /g05 IGNORE” line it did ignore /g05.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial">But I don’t
want to have to add every single filesystem. So what is wrong with
my wildcard?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial">
DISK %^/i.*/ 100 100<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial">
DISK %^/j.*/ 100 100<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=black size=2><SPAN
style="FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial">
DISK %^/g.*/ IGNORE<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><B><FONT face=Arial color=black size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 11pt; COLOR: windowtext; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></B></P></DIV></BLOCKQUOTE></BODY></HTML>