File Search (CTRL-H) with excluding string - Forum - OpenEdge General - Progress Community

File Search (CTRL-H) with excluding string

 Forum

File Search (CTRL-H) with excluding string

This question is not answered

Is it possible to use the search function and exclude a string which i dont want to find ?

Maybe to find every FOR EACH whithout NO-LOCK statement.

All Replies
  • You might be able to use regular expressions for that. Personally, I have an intolerance for regexes so I try to stay away from them :)

  • that would be very complex and error prone,

    have a look at https://riverside-software.atlassian.net/wiki/spaces/OESONAR/overview

    This will check your code for all kinds of bad coding

  • If you check the regular expression at your right you can use something like this.
    I use it for searching combinations on one line.

    ^(?!.*no-lock)(.*for each)(.*$)