multiline

プロパティ(R) Property Type (R)
正規表現オブジェクト.multiline Regular expression object format. Multiline
Commentary
改行を無視するかどうかの状態を示します。 Indicates whether to ignore the line breaks. AfterEffects 7.0では常にfalseとなるようです。 AfterEffects 7.0 always seems to be false. 改行コードが含まれていてもグローバルマッチの場合には無視してパターンマッチ処理が行われます。 In the case of a global match, even if the code contains a line break is performed by pattern matching process is ignored.
サンプルコード Sample code
CR = String.fromCharCode(13); CR = String.fromCharCode (13);
LF = String.fromCharCode(10); LF = String.fromCharCode (10);
str = "RegExp Sample Text."+CR+LF+"String Match Test."; str = "RegExp Sample Text." + CR + LF + "String Match Test.";
reObj = new RegExp("S+","g"); reObj = new RegExp ( "S +", "g");
reObj.multiline = true; reObj.multiline = true;
result = str.match(reObj); result = str.match (reObj);
outputs[0] = "一致した数は"+result.length+"。multilineフラグ:"+reObj.multiline; outputs [0] = "number of matches" + result.length + ". multiline flag:" + reObj.multiline;