On Sat, 23 Jun 2001, Michal Politowski wrote: > On Sat, 23 Jun 2001 11:28:34 +0200, Piotr Krukowiecki wrote: > > Szukanie np. > > experimental;postgresql > > w debian-user zwraca 3 rezultaty. > > > > Szukanie > > experimental;postgres.* > > zwraca 0, co w.g mnie nie jest poprawne. > > Czy to ja robię coś nie tak, czy to wina systemu ? > > Wygląda to na "feature" glimpse'a. > http://lists.debian.org/glimpse.html: > Since the index is word based, a regular expression must match words that > appear in the index for glimpse to find it. > Glimpse first strips the regular expression from all non-alphabetic > characters, and searches the index for all remaining > words. It then applies the regular expression matching algorithm to the > files found in the index. For example, glimpse > `abc.*xyz' will search the index for all files that contain both `abc' > and `xyz', and then search directly for `abc.*xyz' > in those files. (If you use glimpse -w `abc.*xyz', then `abcxyz' will > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > not be found, because glimpse will think that abc > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > and xyz need to be matches to whole words.)
Zauważ '-w' czyli 'match on complete words'. Nie wiem jak to jest robione przy przeszukiwaniu archiwów. Jeśli nie dają '-w', to powinien znaleźć wyrażenie... A jeśli dają to to jest imo błąd. -- Piotrek irc: #Debian.pl

