05-06-2009 01:32 PM - edited 05-06-2009 01:37 PM
I apologize in advance if this seems trivial but I was searching the discussion boards for around an hour now and couldn't find a finality to my question. Is there a way to use Match Pattern.vi and put whole strings as alternates in the regular expression enclosed in the square brackets? I realize that there are other ways to go around this such as putting each word in its own Match Pattern.vi and just using "OR" in the offsets to find a match. Is there a more efficient alternative to doing this such as putting [word1, word2] in the regex? I've tried several experiments but could not get the desired results in LabView. I've seen several posts concerning Match Pattern.vi so if this question has been anwered already, I'd appreciate the link in case I didnt use the correct key words in my search. Thanks in advance. -M
hmmm.... somehow this went into the teststand forums instead of labview. not sure how i can change this...
05-07-2009 04:21 PM
There is a knowledgebase article that addresses your question: http://digital.ni.com/public.nsf/allkb/D7C9F9B50DE01FFD86256B19007AECAA?OpenDocument .
If this is not what you are looking for, please describe what you are trying to accomplish. I hope this helps!