Hello,
I had this old filter for displaying a certain part of path
addcolumn:a a-label:="First $param: path parts" a:=regexextract($path:,"(?:(?:^|\\)[^\\]*){$param:}")
I did not use it for some time but now I found out that it is not working by giving for example fpp:3 it will result a blank column but if put the parameter as a fixed value fpp: works fine (but fixed levels of course)
addcolumn:a a-label:="First $param: path parts" a:=regexextract($path:,"(?:(?:^|\\)[^\\]*){3}")
thank you
filter parameter issue
-
void
- Developer
- Posts: 19903
- Joined: Fri Oct 16, 2009 11:31 pm
Re: filter parameter issue
Please try unquoting $param:
I will review this change..
addcolumn:a a-label:="First "$param:" path parts" a:=regexextract($path:,"(?:(?:^|\\)[^\\]*){"$param:"}")I will review this change..
-
sk2107
- Posts: 385
- Joined: Sun Aug 07, 2022 8:48 pm
Re: filter parameter issue
It worked
Thanks a lot and best regards
Thanks a lot and best regards