2014-03-01から1日間の記事一覧
文字クラス(Character Class) Ruby等々では、正規表現で\dと書くと10進数の文字を拾ってくれます。 これらはShorthand Character Classesと呼ばれます。 この元ネタとなったらしいものが、今回紹介する文字列クラスです。 例 [:alnum:] 英数字 [a-z A-Z …
YAML形式でのTABの取り扱い 公式によると Why does YAML forbid tabs?Tabs have been outlawed since they are treated differently by different editors and tools. And since indentation is so critical to proper interpretation of YAML, this issue i…