regexp help when comparing strings
Show older comments
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.
Accepted Answer
More Answers (1)
Chuguang Pan
on 9 Dec 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.
Categories
Find more on Characters and Strings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!