Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/luarocks-template.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ description = {
dependencies = {
"lua >= 5.1",
"lualogging >= 1.5.1",
"lrexlib-pcre >= 2.9.1",
"lrexlib-pcre2 >= 2.9.2",
"luaposix = 35.1-1"
}
build = {
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
do
sleep 1
done
until luarocks install lrexlib-pcre
until luarocks install lrexlib-pcre2
do
sleep 1
done
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Install dependencies
run: |
luarocks install lualogging
luarocks install lrexlib-pcre
luarocks install lrexlib-pcre2
luarocks install luaposix
luarocks install luasocket
luarocks install busted
Expand Down
2 changes: 1 addition & 1 deletion casbin-1.41.1-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ description = {
dependencies = {
"lua >= 5.1",
"lualogging >= 1.5.1",
"lrexlib-pcre >= 2.9.1",
"lrexlib-pcre2 >= 2.9.2",
"luaposix = 35.1-1"
}
build = {
Expand Down
2 changes: 1 addition & 1 deletion src/util/BuiltInFunctions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
--See the License for the specific language governing permissions and
--limitations under the License.

local rex = require ("rex_pcre")
local rex = require ("rex_pcre2")
local posix = require("posix.fnmatch")

local BuiltInFunctions = {}
Expand Down
Loading