11-08-2007 03:36 AM
11-08-2007 03:52 AM
11-08-2007 05:19 AM
11-08-2007 05:51 AM
\ is also a special character, so you need to escape it as well. The expression should be \\\[
OnlyOne wrote:
But what happens if i want to search for pattern "\[" in the input string?
11-08-2007 05:53 AM
The basic idea is to put an antislash "\" before any character used as a syntax symbol.
OnlyOne a écrit:
But what happens if i want to search for pattern "\[" in the input string?
Input: Start \[Info] End
regular expression: \[
11-08-2007 11:10 AM
11-08-2007 01:11 PM - edited 11-08-2007 01:11 PM
When I had this problem I used Ascii hex codes. But it is good to find other ways, especially when they are easier.
\5C = \
\5B = [
\5D = ]
11-08-2007 10:46 PM
I know. This is because the ] char is a closing symbol, and LabVIEW is smart enough not to properly interpret the search string. But it shouldn't harm you be rigorous 😉
OnlyOne a écrit: ... But the ] character is working in my example (first posting) without the \.