Re: [Corpora-List] Grep for Windows

From: Rob Malouf (rmalouf@mail.sdsu.edu)
Date: Fri Dec 15 2006 - 19:06:07 MET

  • Next message: D.W.Hardcastle: "RE: [Corpora-List] Grep for Windows"

    Hi,

    On Dec 15, 2006, at 8:36 AM, maxwell@ldc.upenn.edu wrote:
    > Since there doesn't seem to be any standard regex syntax (grep,
    > sed, etc. all seem to have slightly different views on the issue),
    > maybe learning Perl syntax for regex's isn't that bad. I believe
    > Python uses the same syntax.

    Python does. Also, recent gnu versions of grep support perl-style
    regexps using the -P option. For better or worse, perl regexps seem
    to have become the standard.

    > Besides, none of the standard grep implementations that I know of
    > handle Unicode (at least not in any useful way).

    Gnu grep 2.5.1 supports Unicode, though I guess it's debatable just
    how useful it is. The next version is supposed to be much better on
    that front.

    ---
    Rob Malouf <rmalouf@mail.sdsu.edu>
    Department of Linguistics and Asian/Middle Eastern Languages
    San Diego State University
    



    This archive was generated by hypermail 2b29 : Fri Dec 15 2006 - 19:07:25 MET