#Suggestion for better DTS:X regex matching in overlays.

1 messages · Page 1 of 1 (latest)

thin prism
#

This would be a better match for DTSX for the overlays
'(?i)\b(dts[-_. ]?x7?)\b(?![-_. ]?(26[456]))'
instead of the current
'(?i)\bdts[ ._-]?x\b'
https://regex101.com/r/VWCW8c/1

regex101

Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET, Rust.

thorn vectorBOT
#

Welcome @thin prism!

Someone from <@&938443185347244033> will assist when they're available.

Including the meta.log from the beginning is a huge help, type !logs for more information.

#

You can press the "Close Post" button above or type /close at any time to close this post.

vagrant heath
#

How does that fit with the standard TRaSH naming?

thin prism
#

Although this is modified a bit because the regex here searches file names, which ":" is an invalid character for, so that is removed.

vagrant heath
#

Probably a feature request or a PR is a better venue, since there isn't really a help topic here.

thin prism
#

Ok, Ill throw it there. Also an idea for DTS, as the current one does not match a lot of stuff, and the trash guides rely a lot on the "required/negated" that PMM cant use due to file name matching., not CF rules.