Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: mrblack12 on January 23, 2017, 11:44:30 pm

Title: Searching for special characters in element name
Post by: mrblack12 on January 23, 2017, 11:44:30 pm
Hi,

I'm trying to construct a search query that searches for elements with a special character - like &,*,+,), etc. - in the name. I'm doing this using a wildcard search but the only character for which it doesn't work is the wilcard character itself: '*'. Using just an asterisk as search term results in the entire repository, duh!

I'm thinking there might be a way by using an escape character like a forward or backward slash but that doesn't seem to do the trick either. Any suggestions on this?

Thanx,
Rick
Title: Re: Searching for special characters in element name
Post by: qwerty on January 24, 2017, 12:50:57 am
Mickeysoft https://access-programmers.co.uk/forums/showthread.php?t=43693 (https://access-programmers.co.uk/forums/showthread.php?t=43693)

Use
Code: [Select]
[*]
q.
Title: Re: Searching for special characters in element name
Post by: mrblack12 on February 01, 2017, 01:44:26 am
Found it! Turns out you have to use the square brackets: so using
Title: Re: Searching for special characters in element name
Post by: qwerty on February 01, 2017, 01:47:51 am
Ooops. Just saw that YABB swallowed it. I updated the post :-[

q.