Regex filter for beasts

I was manually creating a regex to filter the 4 beasts used to create bestiary bosses' portals. The result was the following regex: "c ti|e rhe|l h|c sp".

While testing the regex, I had a problem where the quotation was affecting the results, where quote use was filtering out some results

The following screenshots were taken within seconds of each other, without removing any beasts. When using quotes, it only returns my "fenumal hybrid arachnid" beasts.



When I remove the quotes, it also returns "farric tiger alpha" and "craicic spider crab" (not presented in the screenshot but also returned at the end of the list).



Could you help me understand what's the difference between the two cases?
Last bumped on Aug 22, 2024, 9:26:27 AM
"
Chesco wrote:
I was manually creating a regex to filter the 4 beasts used to create bestiary bosses' portals. The result was the following regex: "c ti|e rhe|l h|c sp".

While testing the regex, I had a problem where the quotation was affecting the results, where quote use was filtering out some results

Could you help me understand what's the difference between the two cases?

While the search also allows some regex syntax, it also has some custom stuff that isn't strictly regex. That includes some things like searching for "ilvl:##", but using also using quotation marks, and probably spaces as well. Mixing the two doesn't always give the intended results.

It may be rejecting the Farric Tigers due to there not being a " before the c?

If you face issues narrowing the search without quotation marks, try using \s instead of spaces.

For example: c\sti|e\srhe|l\sh|c\ssp
Last edited by Jadian#0111 on Aug 22, 2024, 8:51:33 AM
"
Jadian wrote:

It may be rejecting the Farric Tigers due to there not being a " before the c?

Yeah, that's the case. It also rejects the Craicic Spider Crab because of the " in the end, after "c sp"

Fun thing: if I place some extra vertical bars in the beginning and in the end ("|c ti|e rhe|l h|c sp|"), it works just fine.

So yeah, probably a quote issue. I was using them cause I thought the vertical bars would only work while using them, but that isn't the case. Probably should just use it without any quotation, i guess.

Report Forum Post

Report Account:

Report Type

Additional Info