- Code: Select all
name.indexOf('text') != -1
- Code: Select all
origName
Seemingly this is due to the fact that
- Code: Select all
name
- Code: Select all
origName
A workaround is to do something like the following instead:
- Code: Select all
(name + '.' + ext).indexOf('text') != -1
However, that is rather clumsy and not intuitive. Can BRU be modified so that
- Code: Select all
name
- Code: Select all
origName