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 found useful - which maybe someday will be turned into a small overlay app

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:

This won't work:

str

since it also matches the mod.

This works:

str:
^str

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?[7-9][0-9].+life)"
    
  • 80+ item level
    "(level: [8-9][0-9])"
    

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

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.