Index: trunk/extensions/LabeledSectionTransclusion/lst.php |
— | — | @@ -171,11 +171,11 @@ |
172 | 172 | if (isset($wgLstLocal)){ |
173 | 173 | $begin="(?i:begin|$wgLstLocal[begin])"; |
174 | 174 | $end="(?i:end|$wgLstLocal[end])"; |
175 | | - $section_re = "(?:section|$wgLstLocal[section])"; |
| 175 | + $section_re = "(?i:section|$wgLstLocal[section])"; |
176 | 176 | } else { |
177 | 177 | $begin="(?i:begin)"; |
178 | 178 | $end="(?i:end)"; |
179 | | - $section_re = "section"; |
| 179 | + $section_re = "(?i:section)"; |
180 | 180 | } |
181 | 181 | |
182 | 182 | return "/<$section_re$ws\s+$begin=". |