<br><div id="WISESTAMP_SIG_2086"><div>I found the part of the doc.</div><div><a href="http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/syslog-ng-ose-v3.3-guide-admin-en.html/index.html-single.html#reference_regexp_glob">http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.3-guides/syslog-ng-ose-v3.3-guide-admin-en.html/index.html-single.html#reference_regexp_glob</a></div>

<div><br></div><div>I see this in docs 3.1 and up. Don&#39;t see it in 3.0 though. I am testing on 3.2.5.   Has anyone gotten glob character ranges to work ? :-) I may go regex in the end. But I do have a concern about performance. So I want to be sure glob ranges are broken/unsupported or something else before I move on.</div>

<div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="titlepage" style="font-family:Times;font-size:medium;background-color:rgb(255,255,255)">

<h4 class="title" style="font-family:Garamond,Arial,sans-serif;line-height:19px">glob</h4></div><a class="indexterm" name="id570517" style="color:rgb(40,68,106);font-family:Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)"></a><a class="indexterm" name="id570529" style="color:rgb(40,68,106);font-family:Arial,Helvetica,sans-serif;font-size:12px;background-color:rgb(255,255,255)"></a><p style="font-family:Arial,Helvetica,sans-serif;font-size:12px;text-align:justify;line-height:14px;background-color:rgb(255,255,255)">

<span class="guilabel" style="font-weight:bold">Description:</span> Use glob patterns (that is, wildcards and character ranges) without regular expression support. The advantage of glob patterns to regular expressions is that globs can be processed much faster. For details on glob patterns, see the <span class="emphasis"><em>glob manual page</em></span> (<span class="command" style="text-align:left;font-weight:bold">man glob</span>).</p>

</blockquote>
                <font face="Verdana, Arial, Helvetica, sans-serif"><img src="https://wisestamp.appspot.com/pixel.png?p=chrome&amp;v=3.11.16.100&amp;t=1342897500488&amp;u=b3aba1170c4ca423" width="1" height="1"></font></div></div><br><br>

<div class="gmail_quote">On Fri, Jul 20, 2012 at 11:20 PM, Gergely Nagy <span dir="ltr">&lt;<a href="mailto:algernon@balabit.hu" target="_blank">algernon@balabit.hu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">&quot;T. A. Smooth&quot; &lt;<a href="mailto:catdaaaady@gmail.com">catdaaaady@gmail.com</a>&gt; writes:<br>
<br>
&gt; Doing a &quot;man glob&quot; shows it can do ranges. And I thought i read some<br>
&gt; Syslog-ng doc that said it could do it too?<br>
<br>
</div>glob does support ranges, but glib&#39;s glob[1] sadly does not. If the<br>
syslog-ng docs say somewhere it does, that is unfortunately a<br>
documentation bug.<br>
<br>
 [1]: <a href="http://developer.gnome.org/glib/unstable/glib-Glob-style-pattern-matching.html#glib-Glob-style-pattern-matching.description" target="_blank">http://developer.gnome.org/glib/unstable/glib-Glob-style-pattern-matching.html#glib-Glob-style-pattern-matching.description</a><br>


<br>
As an alternative, you can use regexps - a bit costier, but for a simple<br>
regex, hopefully not by much.<br>
<br>
On another hand, not supporting ranges is suprising, and in other parts<br>
of the code, syslog-ng already uses plain old glob().. it might be worth<br>
considering switching the matching code over too, at some point.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
|8]<br>
<br>
______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
</font></span></blockquote></div><br>