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!