Skip to main content
Completed

Support wildcards in code search

Related products:Software Factory

Hello,

we would like to query all control procedures where there is still ‘hard’ queried on a integer id, like: where production_plant_id = 1

I want to search not only for the production_plant_id fields, but all ‘_id’-fields where %‘_id’ = [0-9]%.

Could we make it possible to use regexes when searching in code search?

Did this topic help you find an answer to your question?

5 replies

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
NewOpen

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
OpenWorking on it!

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

It the 2024.2 platform version version it will be possible to use wildcards in a code search. This allows for more complex searches with specified conditions while maintaining flexibility. The possible wildcard options are:

  • %: Matches any string of zero or more characters.
  • _: Matches any single character.
  • [...-...]: Matches any single character within the specified range ([a-f][0-4]) or set ([abcdef][01234])
  • [^...]: Matches any single character not within the specified range ([^a-f][^0-4]) or set ([^abcdef][^01234])

 


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
Working on it!Next release

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
Next releaseCompleted

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings