[controller] Fix bad regular expression for email

This commit is contained in:
Hylke Bons 2010-11-20 12:08:01 +00:00
parent 3a2c82ff27
commit c5263e771b

View file

@ -139,8 +139,8 @@ namespace SparkleShare {
public List <string> Folders
{
get
{
get {
List <string> folders = new List <string> ();
foreach (SparkleRepo repo in Repositories)
@ -568,7 +568,7 @@ namespace SparkleShare {
if (file_name.StartsWith ("sparkleshare.") && file_name.EndsWith (".key")) {
Regex regex = new Regex (@"^sparkleshare\.(*)\.key$");
Regex regex = new Regex (@"sparkleshare\.(.+)\.key");
Match match = regex.Match (file_name);
if (match.Success)