leSearchHierarchy and [ ]

T

tnk11@yahoo.com

Guest
Hi all,
How can I use leSearchHierarchy in conjunction with square
bracket? I think if I can manage a '\' in front of '[, it may work. But
I have very hard time adding this stupid character into the string. Any
tips please?

tnk
 
Wild guess without trying it - you might need to use a double \ (i.e. \\[).
If I remember rightly, the layout search uses regular expressions - and so
you need to escape the [] which are regexp metacharacters. However, backslash
has special meaning in strings (like in C), and so you need to escape the
backslash too...

Not sure this is right - give it a try though.

Regards,

Andrew.

On 10 Dec 2004 08:48:24 -0800, "tnk11@yahoo.com" <tnk11@yahoo.com> wrote:

Hi all,
How can I use leSearchHierarchy in conjunction with square
bracket? I think if I can manage a '\' in front of '[, it may work. But
I have very hard time adding this stupid character into the string. Any
tips please?

tnk
 

Welcome to EDABoard.com

Sponsor

Back
Top