Skip to main content
Contributor ⭐️⭐️⭐️
July 16, 2019

GPX support for regular expressions?

  • July 16, 2019
  • 19 replies
  • 368 views
Hi,

Does GPX support regular expressions beyond a single * at the end of a URL?

Thanks,

Chad

    19 replies

    mikewohlwend
    Contributor ⭐️⭐️⭐️
    July 23, 2019
    @harshibanka , you mentioned this "Hey @alb , for product mapper, this is an upcoming feature which is on the roadmap, eta in few weeks"

    Is the feature something like using the URL in combination with CSS elements?

    @caudet second those thanks for piping your learning back in here : )

    harshibanka
    Gainsight Employee ⭐️⭐️
    July 25, 2019
    @alb you may use wild card to address your use case. For eg:

    /subpage/]https://domain.com/*/mainpage/*/subpage/

    Let me know how it goes

    Harshi (pronounced like the Hershey's chocolate); PLG and Digital CS Evangelist
    harshibanka
    Gainsight Employee ⭐️⭐️
    July 25, 2019
    @mikewohlwend : Yes, that's the correct understanding.

    Harshi (pronounced like the Hershey's chocolate); PLG and Digital CS Evangelist
    caudetAuthor
    Contributor ⭐️⭐️⭐️
    July 29, 2019
    @harshibanka Keeping this thread going for a bit longer...

    I'm trying to use slightly more complex Java regex in a URL Rule in the product mapper, but I keep getting a "Failed to update event" error message.

    As before, I'm trying to capture this URL:

    https://domain.com/meetings/GJF69DK70GJE28F9210J

    and not:

    https://domain.com/meetings/GJF69DK70GJE28F9210J/edit

    I've tried these regex options (with and without escaping), but get the same failed error:

    https://domain.com/meetings/[A-Z0-9]+

    https://domain.com/meetings/[A-Z0-9]{20}

    Do you think these should be supported in a URL rule?

    Thanks!

    harshibanka
    Gainsight Employee ⭐️⭐️
    July 30, 2019
    @caudet appreciate keeping the htread going :p

    Did you try using wild card for that?

    Currently, we do not support such advanced use cases with regex.

    Harshi (pronounced like the Hershey's chocolate); PLG and Digital CS Evangelist
    caudetAuthor
    Contributor ⭐️⭐️⭐️
    July 30, 2019
    @harshibanka The wildcard works to exclude a URL in an engagement audience. Is there a way to exclude a URL in a product mapper URL rule?

    You previously mentioned having support for java regex - do you have a summary of what is supported and where in the PX product this or that regex will work?

    Thanks!

    alb
    Contributor ⭐️⭐️⭐️⭐️
    September 6, 2019
    Hi folks, have to say I'm still a little confused here. Does PX support Regex or not? If so, to what level? And where in the product is it usable?

    Thanks!

    harshibanka
    Gainsight Employee ⭐️⭐️
    November 20, 2019

    Hi @caudet , @alb , @mikewohlwend please see this month’s Release Notes: https://support.gainsight.com/PX/Release_Notes/PX_Release_Notes_November_2019 > Product Mapper Enhancements, the Regex Support from your ask is supported from the UI now

    Harshi (pronounced like the Hershey's chocolate); PLG and Digital CS Evangelist
    mikewohlwend
    Contributor ⭐️⭐️⭐️
    November 21, 2019

    Great move---icons can help a user know why they might want to click the thing. Makes those hotspot starting points much more useful :clap: