Skip to main content
Contributor ⭐️⭐️⭐️
Jul 16, 2019 9:24 PM UTC

GPX support for regular expressions?

Hi,

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

Thanks,

Chad

    19 replies

    mikewohlwend
    Contributor ⭐️⭐️⭐️
    Jul 23, 2019 2:57 PM UTC
    @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 : )

    Translate
    harshibanka
    Gainsight Employee ⭐️⭐️
    Jul 25, 2019 9:41 PM UTC
    @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

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

    Translate
    Harshi (pronounced like the Hershey's chocolate); PLG and Digital CS Evangelist
    caudetAuthor
    Contributor ⭐️⭐️⭐️
    Jul 29, 2019 10:57 PM UTC
    @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!

    Translate
    harshibanka
    Gainsight Employee ⭐️⭐️
    Jul 30, 2019 11:17 PM UTC
    @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.

    Translate
    Harshi (pronounced like the Hershey's chocolate); PLG and Digital CS Evangelist
    caudetAuthor
    Contributor ⭐️⭐️⭐️
    Jul 30, 2019 11:22 PM UTC
    @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!

    Translate
    alb
    Contributor ⭐️⭐️⭐️⭐️
    Sep 6, 2019 5:53 PM UTC
    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!

    Translate
    harshibanka
    Gainsight Employee ⭐️⭐️
    Nov 20, 2019 10:10 PM UTC

    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

    Translate
    Harshi (pronounced like the Hershey's chocolate); PLG and Digital CS Evangelist
    mikewohlwend
    Contributor ⭐️⭐️⭐️
    Nov 21, 2019 5:56 PM UTC

    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:

    Translate