2010-07-13から1日間の記事一覧
murky-satyrさんの解は、match() + 'g' フラグだった。String.match()の説明では、"If the regular expression includes the g flag, the method returns an Array containing all matches." とある。さすが。stats に空白が入っていなかったので、RE が違う…
murky-satyrさんの解は、match() + 'g' フラグだった。String.match()の説明では、"If the regular expression includes the g flag, the method returns an Array containing all matches." とある。さすが。stats に空白が入っていなかったので、RE が違う…