When was 'tokenize' dropped from regexprep?

2 visualizaciones (últimos 30 días)
per isakson
per isakson el 26 de Oct. de 2017
Comentada: Cedric el 30 de Oct. de 2017
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?

Respuesta aceptada

Cedric
Cedric el 27 de Oct. de 2017
Editada: Cedric el 27 de Oct. de 2017
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 comentarios
per isakson
per isakson el 29 de Oct. de 2017
Editada: per isakson el 29 de Oct. de 2017
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 el 30 de Oct. de 2017
My pleasure, and let me know the ISBN if you publish anything ;-)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by