Difference between revisions of "Template:First sentence"

From Culture.si
Line 1: Line 1:
{{#arr:getitem|{{#arr:getitem|{{#arr:match|{{{1}}}|.*?[.?!](\s{{!}}$)}}|0}}|0}}
+
{{#arr:getitem|{{#arr:getitem|{{#arr:match|{{{1}}}|^(\[\[.*?\]\]{{!}}.*?(?=[.?!](\s{{!}}$){{!}}\[\[))+[.?!](\s{{!}}$)}}|0}}|0}}

Revision as of 12:32, 15 January 2013

{{#arr:getitem|{{#arr:getitem|{{#arr:match|{{{1}}}|^(\[\[.*?\]\]|.*?(?=[.?!](\s|$)|\[\[))+[.?!](\s|$)}}|0}}|0}}