[Slashdotjp-dev 1477] [1008] fix regex

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2009年 2月 13日 (金) 16:44:36 JST


Revision: 1008
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=1008
Author:   tach
Date:     2009-02-13 16:44:36 +0900 (Fri, 13 Feb 2009)

Log Message:
-----------
fix regex

Modified Paths:
--------------
    slashjp/trunk/Slash/DB/MySQL/MySQL.pm


-------------- next part --------------
Modified: slashjp/trunk/Slash/DB/MySQL/MySQL.pm
===================================================================
--- slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2009-02-13 07:33:35 UTC (rev 1007)
+++ slashjp/trunk/Slash/DB/MySQL/MySQL.pm	2009-02-13 07:44:36 UTC (rev 1008)
@@ -10537,7 +10537,7 @@
 	}
 	if (exists $hashref->{slashboxes}) {
 		my @slashboxes = grep /^[\w-]+$/, split /,/, $hashref->{slashboxes};
-		map { s/olderstuff/mainpage_more/; } @slashboxes;
+		map { s/^olderstuff$/mainpage_more/; } @slashboxes;
 		$hashref->{slashboxes} = join ",", @slashboxes;
 	}
 



Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る