Difference between revisions of "Extractsentence"

From Theonomy Wiki
Line 1: Line 1:
 
{{#switch:{{{2|1}}}
 
{{#switch:{{{2|1}}}
 
|1={{#rmatch:{{{1|}}}|^([^\.\;\?\!]+[\.\;\?\!])|$1}}
 
|1={{#rmatch:{{{1|}}}|^([^\.\;\?\!]+[\.\;\?\!])|$1}}
|2={{#rmatch:{{{1|}}}|^([^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!])|$1|}}
+
|2={{#rmatch:{{{1|}}|^[^\.\;\?\!]+[\.\;\?\!]+([^\.\;\?\!]+[\.\;\?\!])|$1|}}
|3={{#rmatch:{{{1|}}}|^([^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!])|$1|}}
+
|3={{#rmatch:{{{1|}}}|^[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+([^\.\;\?\!]+[\.\;\?\!])|$1|}}
|4={{#rmatch:{{{1|}}}|^([^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!])|$1|}}
+
|4={{#rmatch:{{{1|}}}|^[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+([^\.\;\?\!]+[\.\;\?\!])|$1|}}
|5={{#rmatch:{{{1|}}}|^([^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!][^\.\;\?\!]+[\.\;\?\!])|$1|}}
+
|5={{#rmatch:{{{1|}}}|^[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+([^\.\;\?\!]+[\.\;\?\!])|$1|}}
 
}}
 
}}

Revision as of 15:52, 22 July 2020