docsets.lua-std: simplify the module matching logic
This commit is contained in:
@@ -8,62 +8,10 @@
|
||||
"regexp": " \\(.*\\)",
|
||||
"replacement": ""
|
||||
},
|
||||
"h2 a": [
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "Coroutine Manipulation",
|
||||
"regexp": ".*",
|
||||
"replacement": "coroutine"
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "Modules",
|
||||
"regexp": ".*",
|
||||
"replacement": "package"
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "String Manipulation",
|
||||
"regexp": ".*",
|
||||
"replacement": "string"
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "Table Manipulation",
|
||||
"regexp": ".*",
|
||||
"replacement": "table"
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "Mathematical Functions",
|
||||
"regexp": ".*",
|
||||
"replacement": "math"
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "Bitwise Operations",
|
||||
"regexp": ".*",
|
||||
"replacement": "bit32"
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "Input and Output Facilities",
|
||||
"regexp": ".*",
|
||||
"replacement": "io"
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "Operating System Facilities",
|
||||
"regexp": ".*",
|
||||
"replacement": "os"
|
||||
},
|
||||
{
|
||||
"type": "module",
|
||||
"requiretext": "The Debug Library",
|
||||
"regexp": ".*",
|
||||
"replacement": "debug"
|
||||
}
|
||||
]
|
||||
"p a[name^=\"pdf-\"] code": {
|
||||
"type": "module",
|
||||
"requiretext": "^(coroutine|package|string|table|math|bit32|io|os|debug)$"
|
||||
}
|
||||
},
|
||||
"ignore": [],
|
||||
"icon32x32": "",
|
||||
|
Reference in New Issue
Block a user