When was 'tokenize' dropped from regexprep?

조회 수: 2(최근 30일)
per isakson
per isakson 2017년 10월 26일
댓글: Cedric Wannaz 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 Wannaz
Cedric Wannaz 2017년 10월 27일
편집: Cedric Wannaz 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
Cedric Wannaz
Cedric Wannaz 2017년 10월 30일
My pleasure, and let me know the ISBN if you publish anything ;-)

댓글을 달려면 로그인하십시오.

추가 답변(0개)

범주

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by