Bye Bye Moore

PoCソルジャーな零細事業主が作業メモを残すブログ

2014-03-01から1日間の記事一覧

文字列クラスでUNIXストリームエディタの可視性を上げる

文字クラス(Character Class) Ruby等々では、正規表現で\dと書くと10進数の文字を拾ってくれます。 これらはShorthand Character Classesと呼ばれます。 この元ネタとなったらしいものが、今回紹介する文字列クラスです。 例 [:alnum:] 英数字 [a-z A-Z …

YAML公式「YAMLでTABを使う者は腹を切って爆発四散するべきである(意訳」

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…