regexp help when comparing strings
Afficher commentaires plus anciens
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.
Réponse acceptée
Plus de réponses (1)
Chuguang Pan
le 9 Déc 2019
0 votes
The function regexpi needs the second argument expression must be a regular expression!
About what is regular expression, you can refer to documentation.
Catégories
En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!