createExecutableObservable(
from(
itemsByLine
.split('\n')
)
)
.pipe(
filter(Boolean),
filter(item => (
!(
whitelist
.includes(item)
)
)),
reduce(
(
combined,
item,
) => (
combined
.concat([
`*${item}*`,
`*.${item}.*`,
])
),
[],
)
)
.execute()