Loading ...
Sorry, an error occurred while loading the content.

22178Re: [Clip] Re: Is GetDocListAll case sensitive?

Expand Messages
  • Jean-François Colas
    Oct 21, 2011
    • 0 Attachment
      Hi Flo & all,

      It works fine! Seems I missed the part of doc that mentions stuff like
      (?-i).

      J.-F.

      Le 21/10/2011 16:34, flo.gehrke a écrit :
      > --- In ntb-clips@yahoogroups.com, Jean-François Colas<jfcolas@...> wrote:
      >>
      >> For today, I have a problem with GetDocListAll, which seems not
      >> to take account of case sensitivity...
      >
      > The problem is in the Posix Character Class. Quite often I experience that '[:upper:]' or '[:lower:]' is not processed correctly unless you add a '(?-i)' modifier that prevents case from being ignored.
      >
      > So try...
      >
      > ^$GetDocListAll("(?-i)^\x20+\d+\x20+[[:lower:]].+$";"$0\r\n")$
      >
      > I wrote the spaces with hex '\x20' in order to make them more visible.
      >
      > Regards,
      > Flo
      >
      >
      >
      >
      > ------------------------------------
      >
      > Fookes Software: http://www.fookes.com/
      > NoteTab website: http://www.notetab.com/
      > NoteTab Discussion Lists: http://www.notetab.com/groups.php
      >
      > ***
      > Yahoo! Groups Links
      >
      >
      >
    • Show all 4 messages in this topic