//mailto:が使用されているメールアドレス
preg_match_all("/mailto:(.+?)"/s", $html2, $matches);
//mailto:は使用されておらず、@を基準に判別
preg_match_all('/[-.w/]+@[-._[:lower:]d]+.[[:lower:]]{2,4}/s', $html2, $matches);
…
NSAssert
指定した条件が間違っていればlogに文字列を書き込む
NSAssert2
指定した条件が間違っていればlogに引数2つの文字列を書き込む
http://www.oomori.com/cocoafw/Foundation/NSAssert2/NSAssert2.html
graffiti on the web
この投稿へのコメント
コメントはまだありません。