🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[TOC] * * * * * ### 3-1 rbind ~~~ src\seed\config.js kernel.rbind = new RegExp(o + '[\\ss\\S]*' + c + '|\\bms-|\\bslot\\b') ~~~ ### 3-2 rstring ~~~ src\seed\regexp.js string: /(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/g ~~~ ### 3-3 rtext ~~~ src\strategy\lexer.js var rtext = /^[^<]+/ ~~~ ### 3-4 rfill ~~~ src\strategy\lexer.js var rfill = /\?\?\d+/g ~~~ ### 3-4 rcomment ~~~ src\strategy\lexer.js var rcomment = /^<!--([\w\W]*?)-->/ ~~~ ### 3-5 rspBeforeForEnd ~~~ src\strategy\lexer.js var rspBeforeForEnd = /^\s*ms-for-end\:/ ~~~ ### 3-6 rsp ~~~ src\strategy\lexer.js sp: /^\s+$/ ~~~ ### 3-7 rfullTag ~~~ src\strategy\lexer.js var rfullTag = /^<([^\s>\/=.$<]+)(?:\s+[^=\s]+(?:=[^>\s]+)?)*\s*>(?:[\s\S]*)<\/\1>/ ~~~ ### 3-8 rvoidTag ~~~ src\strategy\lexer.js var rvoidTag = /^<([^\s>\/=.$<]+)\s*([^>]*?)\/?>/ ~~~ ### 3-9 rspAfterForStart ~~~ src\strategy\lexer.js var rspAfterForStart = /^\s*ms-for\:/ ~~~