Lua 用[[…]]括起来的字符不会被转义,在写正则表达式的时候很实用;例:[[^\d+.\d+$]]
lua 中”~=”表示不等于
可以用 type(aa)查看变量 aa 的类型
lua 中 0 是真(true)
字符串连接符:..
lua 中的逻辑运算符比较特殊例:local y = a and b or c 相当于 a?b:c参考:https://moonbingbing....
阅读全文…
问题:Angular4在schema.json中配置host后执行ng serve报
Provided host aaa.com could NOT be bound. Please provide a different host address or hostname
解决:修改系统host,加入127.0.0.1 aaa.com
阅读全文…
一、openresty问题复现:centos安装openresty-1.11.2.5,./configure后make时报错:
12345678910111213141516171819objs/addon/src/ngx_http_lua_regex.o: In function `ngx_http_lua_regex_free_study_data':/home/openres...
阅读全文…