regexp help when comparing strings
古いコメントを表示
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.
採用された回答
その他の回答 (1 件)
Chuguang Pan
2019 年 12 月 9 日
0 投票
The function regexpi needs the second argument expression must be a regular expression!
About what is regular expression, you can refer to documentation.
カテゴリ
ヘルプ センター および File Exchange で Characters and Strings についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!