Friends of FramMaker, please judge.

I want to find incorrectly ended paragraphs (missing punctuation).
For example the following 4 lines are paragraphs, the first 2 correct,
the next two incorrect:

This is the first paragraph!
And this is the second one.
And here a third
And a fourth one:

RegEx Find/Replace with these settings:
Find:  ([^\.!?])\n
Repl:  $1.\n
Result: find is correct, replacement is n instead of paragraph end
With repl = $1.\r        replacement is a forced newline; correct, but not 
wanted.

Find:  ([^\.!?])(\n)
Repl:  $1.$2
This creates a correct replacement!

IMHO the behaviour of not honoring \n as an 'end of paragraph' for the 
replacement is 
a bug. Do You agree?

Klaus Daube
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Docu + Design Daube; Schäracher 11; CH-8053 Zürich
Technical documentation & consultancy; On-line and paper
F: +41-44-422 86 25  E: [email protected]  W: www.daube.ch

_______________________________________________


You are currently subscribed to framers as [email protected].

Send list messages to [email protected].

To unsubscribe send a blank email to
[email protected]
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to [email protected]. Visit
http://www.frameusers.com/ for more resources and info.

Reply via email to