Stephen Turner wrote:

> On Sun, 1 Jun 2003, Per Jessen wrote:
> 
>> It looks like config lines longer than 255 are not accepted ? I've just
>> hit this limit with a BROWALIAS regexp and it took a while, plus looking
>> through the source to determine the cause of it.
>>
> 
> You have a single regexp of 255 characters??? I've never known anyone hit
> this limit before.

Hehe, yeah, this is the regexp (added newlines for readability here):

BROWALIAS
REGEXP:^(Mozilla/[\.0-9]+)\x20?\(compatible\x20?;\x20?MSIE\x20([\.0-9]+)b?;
(\x20MSN\x20[\.0-9]+.*;|\x20CS\x202000.*;|\x20AOL.*;|\x20MSNIA;)?\x20?
Win(dows)?\x20(2000|XP|ME|98|95|NT|NT\040[\.0-9]+).*\)(::.*)?$ 
"-$1 (compatible; MSIE $2; Windows $4)"

Of course, it's easy enough to circumvent the 255 limit, but anyway ...


/Per



-- 
Per Jessen, Zurich
http://timian.jessen.ch - an analog report formatter using XSLT.
http://www.dansk.org - for alle danskere i udlandet!

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to