Ok, so I have a list and a string. The list contains wild cards and I need to determine if the string is in the list, allowing for the use of wild cards.
Here is where I set my list:
(setq TstList (List "*demo notes*" "*general notes*" "*installation notes*" "*reference notes*"))
So, I will give an example string that should return true when checked with the list:
(setq TstString "These are some general notes, this text should be found in the list.")
I am at a loss as to where to even begin on this one. I know that I could just do wcmatches manually, but the list may change over time, so I want to make it where I will need to make as few modifications as possible to the routine when that happens.
Edit: Modified test list, I had left in an extra wild card.....oops.