Content deleted Content added
control for new lines in the section pattern match |
don't match higher-level headings |
||
Line 67:
local intro, s, o, n = mw.ustring.match(
pageText,
'^(.-)\n====[^=\n][^\n]-====.-'
.. '\n=====%s*[sS]upport%s*=====(.-)'
.. '\n=====%s*[oO]ppose%s*=====(.-)'
|