1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FFIND syntax -- is /E"regex" /X supported?

Discussion in 'Support' started by dcantor, Aug 14, 2009.

  1. dcantor

    Joined:
    May 29, 2008
    Messages:
    507
    Likes Received:
    3
    In FFIND.HTM, the description of /X without a hexadecimal string says that it will work with /T, but it does not say that it will work with /E. In fact, is says that it MUST be used in conjunction with /T.

    I've found that FFIND /E"regex" /X "works" for me.

    Can I depend on it?

    Is it supported? If so, may I suggest that the /T paragraph be amended to say that /X must be used with either /T or /E, and the /E paragraph also mention /X. If not, then I guess the current text is correct, but it would be useful (IMAO) to say that /X is not supported with /E and using them together may produce unpredictable results.

    I was looking for strings with an apostrophe character between a greater than sign and a less than sign. (That is, apostrophes in an XML file that are not part of a tag.) The command
    Code:
    FFIND /E">.*'.*<" /V /X file.xml    
    
    gives me the addresses of the > characters beginning all the matching strings.
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    9,859
    Likes Received:
    83
    dcantor wrote:

    Yes.

    Rex Conn
    JP Software
     
  3. dcantor

    Joined:
    May 29, 2008
    Messages:
    507
    Likes Received:
    3
    Thank you, Rex.
     

Share This Page