Difference between revisions of "Extractsentence"

From Theonomy Wiki
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#switch:{{{2|1}}}
 
{{#switch:{{{2|1}}}
|1={{#rmatch:{{{1|This is a test. ANd another test.}}}|^([^\.\;\?\!]+|^[^\.\;\?\!])|$1|nomatch}}
+
|1={{#rmatch:{{{1|}}}|^([^\.\;\?\!]+[\.\;\?\!])|$1|{{{1}}}}}
|2={{#rmatch:{{{1|This is a test. ANd another test.}}}|^([^\.\;\?\!]+|^[^\.\;\?\!][^\.\;\?\!]+|^[^\.\;\?\!])|$1|}}
+
|2={{#rmatch:{{{1|}}}|^[^\.\;\?\!]+[\.\;\?\!]+([^\.\;\?\!]+[\.\;\?\!])|$1|{{{1}}}}}
 +
|3={{#rmatch:{{{1|}}}|^[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+([^\.\;\?\!]+[\.\;\?\!])|$1|{{{1}}}}}
 +
|4={{#rmatch:{{{1|}}}|^[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+([^\.\;\?\!]+[\.\;\?\!])|$1|{{{1}}}}}
 +
|5={{#rmatch:{{{1|}}}|^[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+[^\.\;\?\!]+[\.\;\?\!]+([^\.\;\?\!]+[\.\;\?\!])|$1|{{{1}}}}}
 
}}
 
}}

Latest revision as of 15:59, 22 July 2020

{{{1}}}