re: clip to delete a sentence
- Jeffery and others,
I haven't seen that happen but I realized that my clip failed if the sentence was at the top of the file. Also it didn't deal with sentences ending in a ? or ! mark.
I switched to a Find with regular expressions to search for all three ending marks and it doesn't work in the backwards direction. Can someone help me understand why?
Here is the forward search which works:
^!Find (\.)|(\?)|(\!) IRS
Here is the backward search which seems to find in the forward direction:
^!Find (\.)|(\?)|(\!) BIRS
Here is the whole clip (with temporary comments and commented test code)
It works properly until it gets to the backward find. It finds forward for some reason. I tried using a multiple standard find but that didn't work.
Is there some restriction on finding regular expressions in the backwards mode?
>I ran it, and you have to have the cursor set at the beginning of the[Non-text portions of this message have been removed]
>sentence or it selects everything to the NEXT (.) period.
>How can it determine (other than manually setting the caret) where the
>"sentence" begins? There are many ways a sentence could start, a captal
>letter preceeded by a space and another Period? not always true.
>Jeffery G. Scism, IBSSG