&apt-email;
&apt-product;
<!-- The last update date -->
- <date>16 February 2010</date>
+ <date>2010-02-16T00:00:00Z</date>
</refentryinfo>
<refmeta>
<para>Note that the files in the <filename>/etc/apt/preferences.d</filename>
directory are parsed in alphanumeric ascending order and need to obey the
-following naming convention: The files have no or "<literal>pref</literal>"
-as filename extension and which only contain alphanumeric, hyphen (-),
+following naming convention: The files have either no or "<literal>pref</literal>"
+as filename extension and only contain alphanumeric, hyphen (-),
underscore (_) and period (.) characters.
Otherwise APT will print a notice that it has ignored a file if the file
doesn't match a pattern in the <literal>Dir::Ignore-Files-Silently</literal>
expressions surrounded by /. For example, the following
example assigns the priority 500 to all packages from
experimental where the name starts with gnome (as a glob()-like
-expression or contains the word kde (as a POSIX extended regular
+expression) or contains the word kde (as a POSIX extended regular
expression surrounded by slashes).
</para>
<para>
The rule for those expressions is that they can occur anywhere
-where a string can occur. Those, the following pin assigns the
+where a string can occur. Thus, the following pin assigns the
priority 990 to all packages from a release starting with karmic.
</para>
Pin-Priority: 990
</programlisting>
+<para>
If a regular expression occurs in a <literal>Package</literal> field,
the behavior is the same as if this regular expression were replaced
with a list of all package names it matches. It is undecided whether
The pattern "<literal>*</literal>" in a Package field is not considered
a glob() expression in itself.
-
+</para>
</refsect2>