regexsearch Question

I have a grid of data and need to search for specific activities associated with the record. I'm using regexSearch looking for terms like: football, baseball, basketball, golf, tennis, etc. The issue i'm seeing is that search terms "foot" and "football" find the relevant records. However, searching for "ball" returns nothing. Is there another unlisted flag or wildcard option that works with the function? The code below is what is currently active.

regexsearch(
ri!searchBox_text,
fv!item,
"ig"
)

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to kirksain
    If it's not really regex, why learn regex pattern syntax?

    I was saying that about the search pattern "ball" -- it returns an exact match when there's an exact match found in the search string, but the string "ball" is not really regex as it's not actually using pattern matching.  I wasn't talking about the function in general.

    I'm a little unclear on how you're attempting to use this to search - are you trying to pair it with a query in some sense?  Could you share a bit more of your code?  I'm confused as to where the dataSubsets are coming from, as shown in your screenshot.

Children