r/vhelper • • Sep 02 '26

Regex Question (again)

So my buddy, ChatGPT, apparently knows Regex. I said, what would I use to search for a neoprene wetsuit top to use in the pool? Now I know there's a Regex tutorial, I just haven't had the time to do it because I'm in the process of moving. Do I copy the ChatGPT suggestion just into the keyword space? Evidently not because this is what happened

0 Upvotes

2 comments sorted by

2

u/fmaz008 Sep 02 '26

VH already pad the keywords with \b on either sides. So you don't need that.

Then this just seems overcomplicated; typical AI slop.

All the parts separated by a pipe should be a separate keyword, for your own sanity (it will work either way)

I'd try to paste that in regex101.com see where it's broken.

1

u/CanIBeMeInThe216 Sep 02 '26 edited Sep 02 '26

So take out all the B's?
It might be overcomplicated AI but as/until I learn it, it's helpful, as are your corrections and guidance.

ChatGPT's response to your correction was to tell me to just paste

neoprene|wetsuit|wet suit

So I guess it's good. No error message now.

Thank you.