Re: Problem with the $ sign by Match String
- From: S G <x@xxxxxxxx>
- Date: Tue, 11 Dec 2007 16:10:05 -0600 (CST)
Take a look at this attachment.
In a regular expression, $ means end of string.
If your input string is dogcatdogcat and your regular expression is cat, then the matched string is the first cat in the input string. If your regular expression is cat$, then the matched string is the second cat.
So, when you tried to match the regular expression $, you were trying to match to an empty string at the end, which is why your function failed. When you enter \$, the regular expression treats the $ as a character.
Modified.vi:
http://forums.ni.com/attachments/ni/170/289802/1/Modified.vi
.
- References:
- Problem with the $ sign by Match String
- From: Dimkakarch
- Problem with the $ sign by Match String
- Prev by Date: Plottin9 spatial data z = f(y) over time (x) in Labview
- Next by Date: Re: Modbus
- Previous by thread: Problem with the $ sign by Match String
- Next by thread: Plottin9 spatial data z = f(y) over time (x) in Labview
- Index(es):
Relevant Pages
|
Loading