<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:sans-serif;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
tt
        {font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
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 link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Just a thought here…but the [a-z]
will only match against lowercase characters.  Is that the behaviour you
wanted?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
nagios-users-admin@lists.sourceforge.net
[mailto:nagios-users-admin@lists.sourceforge.net] <b><span style='font-weight:
bold'>On Behalf Of </span></b>Ingo Lantschner<br>
<b><span style='font-weight:bold'>Sent:</span></b> May 5, 2006 7:39 AM<br>
<b><span style='font-weight:bold'>Cc:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> Antwort: [Nagios-users]
Regular Expression Expansion</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
</span></font><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>nagios-users-admin@lists.sourceforge.net
schrieb am 03.05.2006 05:13:58:</span></font></tt><font size=2
face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<br>
<tt><font face="Courier New">> #dependent_service_description  
^Tun.*-(?:Chattanooga|Midlothian)$</font></tt><br>
<tt><font face="Courier New">> ...</font></tt><br>
<tt><font face="Courier New">> </font></tt><br>
<tt><font face="Courier New">> The commented line generates errors on
pre-flight check.  It's almost as</font></tt><br>
<tt><font face="Courier New">> if it cannot handle the alternation (|).
 Have I mangled the regular</font></tt><br>
<tt><font face="Courier New">> expression or is this a peculiarity of
Nagios? Thanks - John</font></tt><br>
<tt><font face="Courier New">Seems as if it is not clear, which flavor of Regex
is suported in Nagios, I had a similar problem, and could not find a clear
documentation about the regex-suport in Nagios yet.</font></tt></span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>F.e.
</span></font><br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>[sw][0-9]{3}[a-z]{2,124}\.company\.net</span></font>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'><br>
This should match any string starting with either s or w, followed by exactly 3
digits and a resonable number of characters plus the domain suffix.</span></font>
<br>
But it did not work. May be I am missing some backslashes? <br>
<br>
Please, can anyone point us to the right place? <br>
<br>
TIA, Ingo.<o:p></o:p></p>

</div>

</body>

</html>