Use Debug Form > Tab 2 > Escaper / UnescaperIs there a list of all the chr() codes that this supports? Also anyone get a discord or something up for config making yet?
Ah I'm having some trouble having replace() work with whitespaces, any chance in the future there can be a one-step regex replace? Would be helpful for configs with more complicated captures that needs a lot of formatting. Thanks!Use Debug Form > Tab 2 > Escaper / Unescaper
Discord? not yet.
RegexReplace?Ah I'm having some trouble having replace() work with whitespaces, any chance in the future there can be a one-step regex replace? Would be helpful for configs with more complicated captures that needs a lot of formatting. Thanks!
Yes I ended up making a lot of variables and then in the end join them back together, just figure a regex replace would make things way more simple. Good work though, I'm converting a lot of my snipr/sentry configs over already.RegexReplace?
will implement, but i'm sure you can use another way! there are several ways to do different things!
Dunno what you want to do, but to capture, you can use RegexMatches() function, take a look at 'Functions documentation', it's last parameter is an optional expression to do on each match!Yes I ended up making a lot of variables and then in the end join them back together, just figure a regex replace would make things way more simple. Good work though, I'm converting a lot of my snipr/sentry configs over already.
What I needed to cap was, from jsonDunno what you want to do, but to capture, you can use RegexMatches() function, take a look at 'Functions documentation', it's last parameter is an optional expression to do on each match!
Like this:
regexmatches($stage3responsesource#, "(?<=chr(double quotes)keychr(double quotes): chr(double quotes).*[\s]+chr(double quotes)expire_timechr(double quotes): )(\d+)", "\nExpires on #_Counter_: ", unixtimetodate(this))
It captures all Expire dates (may had more than one because of it's different products), but the expire dates are unix timestamps! so it convert each match to date time using 'UnixTimeToDate' function, 'this' represents the value of each match!