From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <5764c029b688c1c0d24a2e97cd764f@gmail.com> Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id E20557ED26 for ; Fri, 15 Jun 2012 19:34:12 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al4IAAhx209KfVM2k2dsb2JhbABFgiODNK91CCIBAQEBCQkLCRQEI4IxAg8dARscAgMSEA8CBRYLAgsDAgECARERAQUBFgwNCAIeh1oBAwsEmDSCYQkDi1JPgnCFLQoZJw1XiHEBBQyBFI8VgRIDlSSFVIhMPoQA X-IronPort-AV: E=Sophos;i="4.75,779,1330902000"; d="scan'208";a="147832555" Received: from mail-ee0-f54.google.com ([74.125.83.54]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 15 Jun 2012 19:34:12 +0200 Received: by eeke49 with SMTP id e49so1406941eek.27 for ; Fri, 15 Jun 2012 10:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=gnLjuctjpJ/6ykceICCAfLJtXXoXXYVWOq9M9J7ri3s=; b=y0aNdGsK9RYf+DVs0stplBcvDpKNfFEp5iiS9u6wBnMjcwPyIdFVsDDShV3/P8ctXb +gxtyR28Ptsx0cyQHGl9j75ZJWI0azj8N868XFu8P+axbd5TqfbJDGeOjZWm/9sQYeM/ rQP3JLr+L1rvAFY59ytwy0H8mnlI7GeRFRTxjyvs+M3odCa/Pfv4obzBV8kcLvfPbM/X NWSFic+ed37dBbxBWT8IIwPFMJC6p2XzuEm/2aahjhTr3eQDoZ8cDZhoeBwqQJfEpXSD 2HwxCQ9bTAq4HeZ3Oy6llgINCYERf98IGGGoInyHnbjiypJFkJ5ybh8lCVNTo6CauHAH C2cw== Received: by 10.14.187.141 with SMTP id y13mr1509409eem.79.1339781651973; Fri, 15 Jun 2012 10:34:11 -0700 (PDT) Received: from [172.27.6.158] ([213.106.240.92]) by mx.google.com with ESMTPS id z5sm33230591eem.3.2012.06.15.10.34.09 (version=SSLv3 cipher=OTHER); Fri, 15 Jun 2012 10:34:10 -0700 (PDT) Message-ID: <4FDB720A.1090303@gmail.com> Date: Fri, 15 Jun 2012 18:34:02 +0100 From: Matej Kosik <5764c029b688c1c0d24a2e97cd764f@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 MIME-Version: 1.0 To: caml-list X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Caml-list] mikmatch question Hello, Today I decided that I will try "mikmatch". I have stumbled upon one thing which I do not understand. When I try this: RE foo = ['a'-'f'];; there is no problem. But when I try this: RE bar = [^'a'-'f'];; I get an error message: Parse error: [regexp] expected after "=" (in [str_item]) I have even tried the alternative syntax: RE bar = #['a'-'f'];; but neither that works. This happens with "*mikmatch*" package which is part of: - Debian testing - as well as GODI How can I express above regular expression? (a pattern matching all but a given set of characters) Thanks in advance for the help.