Hi DongInn,


>         if ( ($e =~ /(.*)\-(\d+)\-($arches)(|\.url)$/) ||
>              ($e =~ /(.*)\-(\d+.\d+)\-($arches)(|\.url)$/) ) {
> 

This matches both

centos-5-i386
and
centos-5-i386.url

> Does any one know why "|" is needed in (|\.url)?

Looks like we match the empty string first, so maybe we should reverse the check
to be (\.url|) ? Can you check if this solves your problem?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to