Original Post — Direct link

I remember we asked for this around beta on the forums and never thought we are going to see it. I guess I'm just happy that I can finally search for

"\+[34][0-9]%[a-z ]+fire" "\+[7][0-9][a-z ]+life"

in my ring tab and not have to hover over 20 rings, sadly there is a character limit but still better what we had before.

Also using it in my gems tab to find the big ones to start with on my way to the 40 total

"\+[0-9]2"

is so nice.

ilvl:[8][4-9]

anywhere where I want to get to the bases I want.

Someone at GGG needs a raise for this :)

External link →
almost 4 years ago - /u/RhysGGG - Direct link

Originally posted by Linosaurus

I would like to see a source on this. I would prefer to think that GGG stealth-added cool stuff, over the community being this bad at preserving information.

The only thing I can find is 3 year old posts of people wondering why we can get regex errors in stash search but cannot use regex.

It was updated in 3.14.0. There was some hidden regex code going on behind the scenes before this, but not generally available until now, afaik.

There is currently an issue where it doesn't handle malformed regexes, which means you cannot use search for some basic things, eg "+16% Quality" unless you know to escape the special regex characters. This will be fixed to make it try a basic string match first, then attempt a regex match if the basic match fails.

almost 4 years ago - /u/RhysGGG - Direct link

Originally posted by hammypants

will there be a way to force a regex then?

I'm not sure how often you'd have a regex that also happened to match as a basic substring, but you can effectively do this by adding parentheses (regex capture groups), e.g.

(Crypt+Map)
almost 4 years ago - /u/RhysGGG - Direct link

Originally posted by flapanther33781

Rhys, how do we do "and" in PoE's Regex? For example, I have this item:

Item Class: Utility Flasks
Rarity: Magic
Experimenter's Ruby Flask of Iron Skin
--------
+50% to Fire Resistance
20% less Fire Damage taken
--------
69% increased Armour during Flask effect
36% increased Duration
--------

If I search for (.*experi)(.*iron) it finds it, and if I do either (.*armour) or (.*duration) it finds it, but if I do (.*armour)(.*duration) it does not.

I ask because for some items I want to craft I may know the name of the item (like flasks), but for other items I won't know the name but I would know the mods I'm looking for. But as shown above, the 'and' method I'm using doesn't seem to be working consistently. I also tried taking off the first letter of Armour and Duration in case it was a capitalization thing but be behaves the same way. So I suspect PoE's implementation of Regex is automatically case insensitive.

It is case insensitive, yes.

You can specify multiple required search terms by putting a space between them. Your particular example doesn't even need regex. The following should all work for this example:

armour duration

(.*armour) (.*duration)

"increased armour during Flask" "increased duration"

almost 4 years ago - /u/RhysGGG - Direct link

Originally posted by Thebestmtgaplayerevr

sorry for piggy back

Can you explain how come when you search for things like delerium or things like map enchantments it "works" but only once you have selected that sub tab for the map? it seems to not search the entire tab and only whats explicitly displayed on screen.

This was actually improved in 3.14.0, but it still can only search items that it knows about. The game doesn't know what items you have in your stash tabs (or subtabs) until you load them, so it cant' search them until you load them.

At least now (from 3.14.0) if you accidentally ctrl-click a Blighted Map or Elder Guardian Map into your map stash somewhere and don't know where it is, you can simply search for it and it will highlight the subtab for you... as long as you don't change areas.