Not able to search a string if it is commented - Forum - OpenEdge General - Progress Community

Not able to search a string if it is commented


Not able to search a string if it is commented

This question is not answered

I am trying to search a commented text (/* somthing */) but unable to find it in the program. If i remove the slash astrik ( /* */ ) then i am able to find it. I would like to know if it is a bug or?

All Replies
  • Hi.

    Do you mean searching through the text in de PDS?

    There is a checkbox '' Regular expressions' in de Find/Replace dialog.

    If checked, i can not search on /* test */

    If not checked, I can search on /* text */

    Hope this will help you,

    Kind regards,

    Richard Zwart

  • I mean searching through the text on procedure editor. There is no option to check for regular expression while find.

  • I tried it in the 32-bit and 64-bit Procedure Editor and it seems to work. Can you attach the file and show exactly what you're searching for which can't be found?

  • for example if i have a file (attached) and i am searching below text 

    /*this is for test*/

    It says not found. but if i search like below

    this is for test

    I found it

    I hope it is clear.

    The file is having only text is /*this is for test*/

  • I can find /*this is for test*/ in that file.

    What version of OpenEdge are you using?

    What platform are you using?

    32-bit or 64-bit?

    What are -cpinternal and -cpstream set to?

  • OE version 11.5

    64-bit platform

    -cpinternal set to utf-8

    -cpstream set to iso8859-1

  • I still can't reproduce it. There must be some other factor involved. I'll poke around to see if I can figure out what it could be.