39 lines
1.2 KiB
JavaScript
39 lines
1.2 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 939e07c76f4b30f0.294c1bf0d6.js
|
|
* Module id: 332661
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, i) => {
|
|
"use strict";
|
|
function r(e) {
|
|
(e.languages.bbcode = {
|
|
tag: {
|
|
pattern:
|
|
/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,
|
|
inside: {
|
|
tag: {
|
|
pattern: /^\[\/?[^\s=\]]+/,
|
|
inside: { punctuation: /^\[\/?/ },
|
|
},
|
|
"attr-value": {
|
|
pattern: /=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,
|
|
inside: {
|
|
punctuation: [
|
|
/^=/,
|
|
{ pattern: /^(\s*)["']|["']$/, lookbehind: !0 },
|
|
],
|
|
},
|
|
},
|
|
punctuation: /\]/,
|
|
"attr-name": /[^\s=\]]+/,
|
|
},
|
|
},
|
|
}),
|
|
(e.languages.shortcode = e.languages.bbcode);
|
|
}
|
|
(t.exports = r), (r.displayName = "bbcode"), (r.aliases = ["shortcode"]);
|
|
};
|
|
|
|
export default moduleFactory;
|