[Yum-devel] [PATCH 2/3] Treat square brackets same way in re_full_search_needed and refineSearchPattern as in re_glob.
James Antill
james at fedoraproject.org
Wed Oct 28 21:17:11 UTC 2009
On Wed, 2009-10-28 at 21:49 +0200, Ville Skyttä wrote:
> I _think_ the final "." before the "$" does have some value, so instead of
> replacing it with ".*" it could be replaced with ".". If a search string has
> only one of these matching chars/constructs and it is at end of the string
> (think "foo*", "foo-", "foo."), we know that it would match against name only
You're right.
More information about the Yum-devel
mailing list