[kde-doc-english]Fwd: kate again (Proofreading needed)

Lauri Watts lauri at kde.org
Mon Mar 11 14:20:37 CET 2002


One of the translators asked for some help translating the passage below into 
English so he could translate it to something else :)

I've stared at this now for a few minutes, and I'm not sure how to fix it 
either.  Anders, Jon, Malcolm, help :)  (I barely understand regexp's at all, 
or perhaps this would be clearer for me.  In fact, anything I did learn about 
them was from reading this very document.)

"Because regular expression software supporting the concept of <emphasis>
back references</emphasis> saves the entire matching part of the string as
well as sub-patterns enclosed in parentheses, given some means of access to
those references, we could get our hands on either the whole match (when
searching a text document in an editor with a regular expression, that is
often marked as selected) or either the name found, or the last part of the
verb."

My best try (sans markup):

"Regular expression software supporting the concept of back references save 
the entire matching part of the string, not just the parts matched by 
sub-patterns enclosed in parentheses.  In the example given, this gives us a 
way to access either the whole match, often used for example in a search of a 
text document, where the editor will mark the matches as selected.  It also 
allows us access to matches on the name, or the last part of the verb says or 
said"

For context, if you have an english copy, this is on the first page of the 
regexp appendix, and the example being used is:

"^[ \t]{0,4}(Henrik|Pernille) sa(ys|id)"

-- 
Lauri Watts







More information about the kde-doc-english mailing list