Ǿ¤¶¤é¤·µª¹Ô


2006-02-27

_ »°·åËè¤Ë¥¹¥Ú¡¼¥¹¤òÁÞÆþ¤¹¤ëÀµµ¬É½¸½

Ruby ¤À¤È

re = /(\d{1,3}\.\d+\z|\d{1,3}(?=\d{3}*\z|\d{3}+\.\d+\z))/

'1234567890'.gsub(re, '\\1 ') 
#=> "1 234 567 890 "

'1234567890.1234'.gsub(re, '\\1 ')
#=> "1 234 567 890.1234 "

'0.1234'.gsub(re, '\\1 ')
#=> "0.1234 "
¤ªÌ¾Á°:
E-mail:
¥³¥á¥ó¥È:
ËÜÆü¤Î¥ê¥ó¥¯¸µ

ºÇ¶á¤Î¥³¥á¥ó¥È

2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|04|05|
2011|04|
2012|03|07|
2013|01|02|07|
¥È¥Ã¥× «Á°¤ÎÆüµ­(2006-02-26) ºÇ¿· ¼¡¤ÎÆüµ­(2006-03-01)» ÊÔ½¸