Talk:Text between: Difference between revisions
Content added Content deleted
(Created page with "I think the specification for this problem needs some more information, specifically: How should implementations behave if the end delimiter is found in the search string bef...") |
(Perhaps a leading space is missing in the new Example 3 ?) |
||
Line 8: | Line 8: | ||
Are empty-string delimiters allowed? If so, how should they work? Are empty-string start delimiters equivalent to "start" special delims, and empty-string end delimiters equivalent to "end"? |
Are empty-string delimiters allowed? If so, how should they work? Are empty-string start delimiters equivalent to "start" special delims, and empty-string end delimiters equivalent to "end"? |
||
# Thanks for the very welcome expansion of examples and spec. Perhaps there's a minor glitch in the current draft of Example 3 ? The output appears to have dropped a leading space. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 13:23, 6 January 2018 (UTC) |
Revision as of 13:23, 6 January 2018
I think the specification for this problem needs some more information, specifically:
How should implementations behave if the end delimiter is found in the search string before the start delimiter?
Must an error be raised when a delimiter is not present in the search string? Some implementations do this, and some do not.
Are null/missing (or equivalent) delimiters allowed?
Are empty-string delimiters allowed? If so, how should they work? Are empty-string start delimiters equivalent to "start" special delims, and empty-string end delimiters equivalent to "end"?