"module 'foo' not found" after first pattern match: does Lua stop searching package.path?
I am trying to pin down the exact termination behavior of Lua's module search in package.path (assuming Lua 5.4). The manual documents that package.path holds semicolon-separated patterns with a ? placeholder replaced by the module name, and that require raises module 'foo' not found listing every attempted pattern. What it does not clearly state is whether