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



On Wed, Jun 07, 2006 at 08:26:08PM -0400, Darren Nickerson wrote:
> "Dirk Salva" <dsalva@xxxxxx> wrote:
> >Only the user foo may send faxes, and only from the internal network
> >and localhost. So, is the following string semantically correct?
> >^foo@xxxxxxxxx
> >and for the whole 192.168.3.xxx range:
> >^foo@xxxxxxxxx
> >_or_
> >^foo@127\.0\.0\.1
> >^foo@192\.168\.3
> >?!?
> >What is correct?
> If you escape the period with a backslash as in "\." then it matches only a 
> period. If you don't escape it, it's a regular expression operator that 
> basically means "any character". Both will work for you in this case, but 
> the escaped form is formally more of an exact match, and could be 
> considered a better way to write it.

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?

ciao, Dirk
-- 
|      Akkuschrauber Kaufberatung and AEG GSM stuff       |
|   Visit my homepage:   http://www.nutrimatic.ping.de/   |
| FIDO: Dirk Salva 2:244/6305.10 Internet: dsalvaATgmx.de |
|    The "Ruhrgebiet", best place to live in Germany!     |

____________________ 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