1. I have corrected the e-mail settings so that outgoing e-mails from these forums should be sent now. If you tried to Register or Reset your Password, please try again!
    Dismiss Notice

Searching with a parenthesis

Discussion in 'Census: General Discussion' started by DanKinney, Feb 19, 2012.

  1. DanKinney

    DanKinney Guest

    If you are looking for an item that has a parenthesis in the name, for example...

    Hostage VI (Expert)

    ...you can't use name=Hostage+VI+(Expert) as the parentheses will get interpreted by the API as being a command (we use this for stuff like c:resolve). 

    You need to escape the parentheses with a backslash.  For example: name=Hostage+VI+(Expert)

    -dan

     
  2. Dethdlr

    Dethdlr Guest

    And a BIG thank you to Dan for that info.  I was going nuts trying to figure that out.  :)  I finally have it working for what I needed.

    However, I don't think that works quite like it was entered, at least it doesn't for me.

    If I try it like this, it doesn't work:

    display_name=Hostage+VI+(Expert)

    If I try it like this, it does:

    display_name=/Hostage+VI+(Expert)/

    Maybe I'm missing something but unless I put the / around it, it didn't work.

    Dethdlr

     

Share This Page