The regular expressions make the longest prefix match difficult. We sort all prefixes by their length and then select the longest matching. With arbitrary regexps this is a problem to decide, what "the longest" match means. But maybe we can have something simple, like: 0-9 - match exact digit . - match any digit, # or * # - match # * - match *
With this, there is no problem with the longest match.
----- Original Message ----- From: "Teodor Georgiev" <t.georgiev@xxxxxxxxx>
Sent: Wednesday, December 15, 2004 4:03 PM
Would it be a good idea to implement sed-like (or "cisco-like") regular
expressions in the [RasSrv::GWPrefixes and PermanentEndpoints] menu section ?
Something like:
[RasSrv::GWPrefixes] gw1=^003[4-7]..$
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________________
List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/