HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] Correct writing in hosts.hfaxd



"Dirk Salva" <dsalva@xxxxxx> wrote:

On Fri, Jun 09, 2006 at 05:43:58PM -0400, Patrice Fournier wrote:
Quoting Dirk Salva <dsalva@xxxxxx>:
>Ok. And ^foo@192\.168\.3 means (as I want) the whole IP-range from
>192.168.3.0 to 192.168.3.255, is this correct?
As well as 192.168.30.0 to 192.168.39.255 and from any hostname that starts
with 192.168.3 (e.g. 192.168.3563.example.com).
You probably want:
^foo@192\.168\.3\.[0-9]+$

Thank you! What does the "+$" at the end mean?

The [0-9] means any digit, the '+' means one or more times, and the $ matches the end of the string.


For more information, see:

http://en.wikipedia.org/wiki/Regular_expression

-Darren


____________________ HylaFAX(tm) Users Mailing List _______________________ To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions