Well, anything will work, as any of these lines are not
"The Big Bang Theory"
Code: Select all
# The Big Bang Theory
#Include-->The Big Bang Theory
+++ The Big Bang Theory
xThe Big Bang Theory
INCLUDE The Big Bang Theory
...
So changing '#' to '#Include-->' notably does
not make a difference, and if it appears to make a difference, then something else is going on.
EDIT:
Correction. FileBot does indeed do some magic when it comes to
"x in lines()" type code. Notably, FileBot does not do a linear list search there, but instead caches an internal case-insensitive and punctuation-insensitive and space-insensitive lookup table.
e.g. if
excludes.txt looks like this:
then the following code will still yield
true:
Code: Select all
{ ' test !!!' in lines('excludes.txt') }
as all non-Letter / non-Digit character are effectively ignored for List::contains lookup purposes. So
'#Include--> will indeed work for your purpose, because although
# and
--> is ignored, the extra letters in
Ignore make the lookup yield
false.

A traditional linear list search with exact character-by-character comparison can still be performed like so:
Code: Select all
{ lines('excludes.txt').find{ n == it } }