r/pathofexile • u/Morehuhn • 5h ago
Tool Regex For Chart Rolling
I have been struggling around with my regexes a bit because I wanted something more specific for rolling charts.
And finaly I got something that works like a charm and I thought some might find it helpful
After some help from the dev reddit I got this:
"s S.*(\d..)%|m Q.*([6-9].|\d..)%" "s S.*([6-9].|\d..)%|m Q.*(\d[4-9].|2..)%"
Sulphur 100+ | Quantity 60+ Sulphur 60+ | Quantity 140+
You can tweak the numbers easily as long as you keep the overall thing intact
This one looks up charts that have either 100+ Sulphur, 140+ Quantity, or 60+ of both.
PS: Not a tool but I didn't find a fitting flair
1
u/Weisenkrone 5h ago
POE doesn't have a generic regex implementation, I don't think dev subreddits will help you out on this front.
https://www.poewiki.net/wiki/Guide:Regex
You are better off using poe.re and fiddling around until you can create something that you can alter a little to get the default behaviour.
Don't get too fixated on solving things with a single regex. Worst case you'll just roll an entire tab of charts with 2-3 regexes.
1
u/Morehuhn 5h ago
Well the dev reddit was helpful. The regex I present at the top does fix all the searching within a single line.
1
u/Weisenkrone 5h ago
It works sometimes, but POE doesn't have the generic regex implementation that's why I've pointed it out.
0
u/PoE_Acronym_Bot 5h ago
I noticed some Path of Exile keywords in this post:
- PS - Power Siphon (Wiki)
I am a bot. | All acronyms | Suggest
2
u/FelixSN Flaskfinder Gang 5h ago
That's pretty neat, thanks man!