...
Expand | ||
---|---|---|
| ||
See Customizing components to see how done if you have not done this before. |
Expand | |||||
---|---|---|---|---|---|
| |||||
The file reader component is deliberately simple and uses /wiki/spaces/IXB/pages/3181903910 to make it more obvious how to modify the code to meet new needs. So this is what we are starting off with. We need this function to return true when the matching criteria are met. https://bitbucket.org/interfaceware/fromfile/src/main/MatchRules.lua
|
...
Expand | |||||
---|---|---|---|---|---|
| |||||
We write the new MatchFile function based on the functions we have written alreadyLet’s modify the code to go through the entire list of prefixes:
And this is what you should see: Concepts used:
|
...