RegExp syntax in "highlight items" stash syntax specification?

I want to highlight all items that do not has "unidentified" in their description

According to e.g. https://www.regextester.com/15 the sctring should look like

(^((?!unidentified).)*)

However it simply does not work at all.

however the expression !(unidentified) works

Where can I find full specification of REGEX syntax supported by game engine?

Or have I missed something in syntax?
There once was an exile who found a map of infinite doctors.
Last edited by Programysh#7356 on Sep 3, 2022, 12:01:50 PM
Last bumped on Sep 3, 2022, 7:54:46 PM
The regex engine always performs a single line match
it's not possible to switch the poe regex engine to multiple row mode, typical (?m) \m doesn't do anything, (*CRLF) and so on doesn't match anything.

So you can't do multiline match, so it's not possible to exclude an item that has a line of specific text because in order to do that you have to capture the whole item text block.
Last edited by ThisIsAJoke#3467 on Sep 3, 2022, 12:34:53 PM
This sound logical. Thanks.
There once was an exile who found a map of infinite doctors.
Obviously if the question isn't about regex but rather about usability — you can always use "!" as literal NOT keyword.

!unidentified

works the same way as if that multiline regex would work.

Report Forum Post

Report Account:

Report Type

Additional Info