Difference between revisions of "Erasesentencefromend"
From Theonomy Wiki
Line 1: | Line 1: | ||
− | {{#vardefine:sentdelim|[^\.\;\?\!]}}{{#switch:{{{2| | + | {{#vardefine:sentdelim|[^\.\;\?\!]}}{{#switch:{{{2|3}}} |
|1={{#rmatch:{{{1|}}}|/^ (.*?) {{#var:sentdelim}}+ [\.\;\?\!]* ({{#var:sentdelim}}+?) $ /sx|$1{{{3|}}}$2|}} | |1={{#rmatch:{{{1|}}}|/^ (.*?) {{#var:sentdelim}}+ [\.\;\?\!]* ({{#var:sentdelim}}+?) $ /sx|$1{{{3|}}}$2|}} | ||
− | |2={{#rmatch:{{{1| | + | |2={{#rmatch:{{{1|}}}|/^(.*?) {{#var:sentdelim}}+ [\.\;\?\!]+ {{#var:sentdelim}}+ [\.\;\?\!]* ({{#var:sentdelim}}+?) $ /sx|$1{{{3|}}}$2|}} |
− | |3={{#rmatch:{{{1|}}}| | + | |3={{#rmatch:{{{1|{{#scripture:Deuteronomy 14:21|scriptrefstyle=show}}}}}|^(.*?) {{#var:sentdelim}}+ [\.\;\?\!]+ {{#var:sentdelim}}+ [\.\;\?\!]* {{#var:sentdelim}}+ [\.\;\?\!]* ({{#var:sentdelim}}+?) $ /sx|$1{{{3|}}}$2|}} |
|4={{#rmatch:{{{1|}}}|/^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}} | |4={{#rmatch:{{{1|}}}|/^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}} | ||
|5={{#rmatch:{{{1|}}}|//^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}} | |5={{#rmatch:{{{1|}}}|//^(.*?)[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]*[^\.\;\?\!]*?$/s|$1|}} | ||
}} | }} |