Git Product home page Git Product logo

poe-stash-regex-search's Introduction

Regex Patterns for PoE Stash Tab Searches

GGG has added regex search to stash tabs in patch 3.14.

This is a collection of patterns I find useful.

Tip: Use Awakened PoE Trade's feature to group and save your patterns. It also pastes one of the saved patterns with a click of a button. You can also use this to search a vendor's inventory.

Contents:

How does it work?

With regex search you can search each line of the item text (CTRL+C) case-insensitvely. This is equivalent to the m and i modifiers.

Hint: Play around with regexes on https://regex101.com.

Example

Let's say you have two items (only relevant information below):

Item 1

Quality: +9%
--------
Requirements:
Level: 70
Str: 62
Dex: 62
--------
+15 to Strength

Item 2

Quality: +12%
--------
Requirements:
Level: 70
Dex: 62
--------
+23 to Strength

Basic search

If you want to search for the item with the strength requirement you can use:

str:

or

^str

However, this won't work:

str

since it also matches the mod.

At least 10% Quality

To do this, you have to define that you want the number after the text Quality: + to be 2 digits long and the first digit should be 1 or higher.

"quality: \+([1-9][0-9])"

Patterns

Generic

  • 6-links
    "sockets: ([rgbw]-?){6}"
    
  • 6 number of sockets
    "sockets: ([rgbw].?){6}"
    
  • +10% and higher Quality
    "quality: \+([1-9][0-9])"
    
  • 70+ life
    "([1-9]\d{2,}|[7-9]\d).+life"
    
  • 75+ life
    "([1-9]\d{2,}|[8-9]\d|[7][5-9]).+life"
    
  • 80+ item level
    "item level: ([1-9]\d{2,}|[8-9]\d)"
    

Item classes

Requirements of class x

  • All of class x

    "class: x"
    
  • Strength

    "class: x" "^str" "!(^dex)"
    
  • Dexterity

    "class: x" "^dex" "!(^(str|int))"
    
  • Intelligence

    "class: x" "^int" "!(^(str|dex))"
    
  • Strength / Dexterity

    "class: x" str: dex:
    
  • Strength / Intelligence

    "class: x" dex: str:
    
  • Dexterity / Intelligence

    "class: x" dex: int:
    

Other

  • Chaos Recipe
    "rare"|"item level: ([6][0-9]|[7][0-4])"
    

Sources

I didn't come up with all of them. Some sources:

https://www.reddit.com/r/pathofexile/comments/n3pxxc/when_did_we_get_regex_search_in_tabs/ https://www.reddit.com/r/pathofexile/comments/nb8j00/rolling_maps_with_regex/ https://www.reddit.com/r/pathofexile/comments/og135v/i_learned_about_the_poe_stash_and_vendor_regex/

poe-stash-regex-search's People

Contributors

michaelschufi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

poe-stash-regex-search's Issues

Your 70+ Patterns are wrong!

Hi there, your 70+ Patterns are wrong.

example...

70+ life:

"(1?[7-9][0-9].+life)"

will NOT match values from 100 to 169, the correct pattern is:

"([1-9]\d{2,}|[7-9]\d).+life"

this will work from 70 to endless


for 75+ life it is more complicated like this:

"([1-9]\d{2,}|[8-9]\d|[7][5-9]).+life"

but with this you can set any range you like!


and the 80+ item level

"(item level: [8-9][0-9])"

this is actually 80-99 but in that case not important because there are no Item Level 99 is PoE :D

but the correct 80+ would be:

"item level: ([1-9]\d{2,}|[8-9]\d)"

maybe you can add correct this, especially the 70+ life!

greetings, fuba

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.