View Single Post
Old 04-13-2015, 02:05 PM   #19
chaot
Head of lunatic asylum
chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.chaot will give the Devil his due.
 
chaot's Avatar
 
Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
I show a kind of summary and add a final consideration.

To comment on the images other experts are called possibly more.

Click image for larger version

Name:	Testruns (as practiced in the thread).png
Views:	244
Size:	170.8 KB
ID:	137210
Test runs (as practiced in the thread)

Click image for larger version

Name:	Regexes (add something to titles).png
Views:	247
Size:	36.5 KB
ID:	137211
Atf→Append to field
Rf→Replace field
Sr→Split result (c→crossed / unc→uncrossed)

Summary table (Test text & Test result entries in Your test: and Book 1: etc. rows with different regex values)

Test result entries of Book 1: etc. rows are the final (new) titles (tested, without being shown here). Makes sense!

Not making sense and IMO illogical is that in Your test: row depending of the regex values the corresponding final results once is Test result entry alone - in other cases these are the Test text & Test result entries together.


Quote:
Originally Posted by theducks View Post
IMHO the test line is optional

It is useful for testing for unwanted side effects ( that might appear on longer inputs)

Acurate Test results is what you want. No unintended side effects showing
Not to let us die completely stupid please show by a contrived example what you mean with these ominous ''unwanted side effects''. That would be very interesting and helpful for a better understanding of the whole.

Last edited by chaot; 04-13-2015 at 02:33 PM. Reason: Test runs
chaot is offline   Reply With Quote