When was 'tokenize' dropped from regexprep?

2 ビュー (過去 30 日間)
per isakson
per isakson 2017 年 10 月 26 日
コメント済み: Cedric 2017 年 10 月 30 日
With R2016a I get this warning
>> regexprep( 'abc123def', '(\d{3})', '.$1.', 'tokenize' )
Warning: The 'tokenize' option for regexprep is now the default behavior.
ans =
abc.123.def
Which was the first release in which 'tokenize' was the default? I don't find 'tokenize' in the current documentation. Will it be dropped altogether?

採用された回答

Cedric
Cedric 2017 年 10 月 27 日
編集済み: Cedric 2017 年 10 月 27 日
R14
You'll have to write a book about regexp after all these threads ;-)
EDIT: found it mentioned in the PDF release note "The MATLAB 7.0.4 Release Notes describe the changes introduced in the latest version of MATLAB for R14SP2" to be precise.
  2 件のコメント
per isakson
per isakson 2017 年 10 月 29 日
編集済み: per isakson 2017 年 10 月 29 日
Cedric, thanks for the reference.
MATLAB 7.0.4 Release Note: Default Tokenizing — The regexprep function
now tokenizes by default. There is no longer a 'tokenize' option
Cedric
Cedric 2017 年 10 月 30 日
My pleasure, and let me know the ISBN if you publish anything ;-)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeText Data Preparation についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by