タグ

正規表現とマニュアルに関するiwwのブックマーク (3)

  • Man page of EXPECT

    Section: User Commands (1) Updated: 29 December 1994 Index JM Home Page roff page 名前 expect - 対話的なプログラムとのやりとりを自動化するプログラム, バージョン 5 書式 expect [ -dDinN ] [ -c cmds ] [ -[f|b] ] cmdfile ] [ args ] イントロダクション Expect は、スクリプトの指示に従って、対話的なプログラムと"会話"するプログラムである。 以下のスクリプトに示すように、 Expect には、対話プログラムからの期待されうる入力とそれに対する正しい応答を 教えておく。インタプリタは分岐処理と高度な制御構造を提供し、 対話プログラムへの指示を行なう。 さらに、必要な時にスクリプトから制御を奪って直接人間が指示を行ない、 その後、制御をス

    iww
    iww 2019/09/18
    『expect は行指向ではないので、(行ではなく)データの始まりと終りに マッチする。』 超大事。 行頭が欲しいなら "\nhoge" でなんとかする
  • PHP: split - Manual

    Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Errors Exceptions Generators References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Context options and parameters Supported Protocols and Wrappers Security Introduction

    iww
    iww 2014/11/18
    『警告 この関数は PHP 5.3.0 で 非推奨となりました。 この機能を使用しないことを強く推奨します。』
  • RegExp - JavaScript | MDN

    標準組み込みオブジェクトRegExpコンストラクターRegExp() constructorプロパティRegExp[@@species]RegExp.prototype.dotAllRegExp.prototype.flagsRegExp.prototype.globalRegExp.prototype.hasIndicesRegExp.prototype.ignoreCaseRegExp.input ($_) 非推奨 RegExp: lastIndexRegExp.lastMatch ($&) 非推奨 RegExp.lastParen ($+) 非推奨 RegExp.leftContext ($`) 非推奨 RegExp.prototype.multilineRegExp.$1, …, RegExp.$9 非推奨 RegExp.rightContext ($') 非推奨 RegExp.p

    RegExp - JavaScript | MDN
  • 1