regexp help when comparing strings
Ältere Kommentare anzeigen
Hi, I am having trouble with regexp. Why the following expresseion returns empty array ?
regexpi ('a4126643_farfield_(f=2.4)','a4126643_farfield_(f=2.4)')
ans =
[]
Strings which are compared are identical.
Akzeptierte Antwort
Weitere Antworten (1)
Chuguang Pan
am 9 Dez. 2019
0 Stimmen
The function regexpi needs the second argument expression must be a regular expression!
About what is regular expression, you can refer to documentation.
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!