Difference between revisions of "Erasesentencefromend"

From Theonomy Wiki
Line 1: Line 1:
 
{{#vardefine:sentdelim|[^\.\;\?\!]}}
 
{{#vardefine:sentdelim|[^\.\;\?\!]}}
 
{{#switch:{{{2|1}}}
 
{{#switch:{{{2|1}}}
|1={{#rmatch:{{{1|{{#scripture:Deuteronomy 14:21}}}}}|/^ (.*?) {{#var:sentdelim}}+ [\.\;\?\!]* {{#var:sentdelim}}+? $ /sx|$1|}}
+
|1={{#rmatch:{{{1|}}}|/^ (.*?) {{#var:sentdelim}}+ [\.\;\?\!]* ({{#var:sentdelim}}+?) $ /sx|$1$2|}}
 
|2={{#rmatch:{{{1|}}}|/^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}}
 
|2={{#rmatch:{{{1|}}}|/^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}}
 
|3={{#rmatch:{{{1|}}}|/^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}}
 
|3={{#rmatch:{{{1|}}}|/^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}}

Revision as of 19:15, 22 July 2020