[dev] Re: [cvs] commit: ingo/lib/Script sieve.php
ingo/lib Script.php ingo/config tests.php.dist
Jan Schneider
jan at horde.org
Fri Jun 27 12:54:49 PDT 2003
Zitat von Todd Merritt <tmerritt at email.arizona.edu>:
> Contains does not allow wildcards. Matches allows * and ?, and regex
> allows full regular expressions.
Hm, sounds like this might not only be difficult for translators but also
for users.
> Todd
>
> On Fri, 2003-06-27 at 09:22, Michael M Slusarz wrote:
> > Quoting Jan Schneider <jan at horde.org>:
> >
> > | Zitat von Michael M Slusarz <slusarz at bigworm.colorado.edu>:
> > |
> > | > slusarz 2003/06/27 00:04:19 PDT
> > | >
> > | > Modified files:
> > | > lib/Script sieve.php
> > | > lib Script.php
> > | > config tests.php.dist
> > | > Log:
> > | > Submitted by: Todd Merritt <tmerritt at email.arizona.edu>
> > | > Add regex, matches, and not matches tests to Sieve class.
> > |
> > | Can someone explain what exactly the difference is between
> "contains",
> > | "matches" and "regex"? Would be hard to translate otherwise. ;-)
> >
> > If I understand correctly, 'contains' means that the search string must
> > appear somewhere in the header, 'matches' means the search string must
> be
> > *exactly* the same as the header, and 'regex' means the search string
> is
> > used as a regular expression to search the header.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list