Author Topic: Does slickedit support regular expression in symbol search?  (Read 2406 times)

livingintown

  • Community Member
  • Posts: 51
  • Hero Points: 2
Does slickedit support regular expression in symbol search?
« on: December 18, 2006, 03:38:24 am »
When I deal with a very big project, I got a very hard time to remember each function (symbol)'s name. But I may get a partial memory of that function. But when I try to search it in symbol windows, it's only able to give your answer if you know the function name from beginning.

Does this symbol search support * or .* (regular expression) to provide a search with possible result?


Kohei

  • Senior Community Member
  • Posts: 192
  • Hero Points: 25
Re: Does slickedit support regular expression in symbol search?
« Reply #1 on: December 19, 2006, 01:17:42 am »
Hi livingintown,

You can probably try the grep_tag command, or gt for short.  They are synonymous with each other.

For UNIX style regular expression, try the following in SlickEdit's command line:

Code: [Select]
gt/.*foofoo.*/iu
which will search for symbols that contain the substring foofoo.  You can specify options after the second slash.  The i option specifies case-insensitive search, and the u option specifies UNIX style regular expression.

Hope this helps,
Kohei

livingintown

  • Community Member
  • Posts: 51
  • Hero Points: 2
Re: Does slickedit support regular expression in symbol search?
« Reply #2 on: December 19, 2006, 11:23:31 am »
That's very good! slickedit is a perfect product!