We did a bible verses thing much like this not too long ago (as in the last five years ...)...
23092
Axel Berger
absalom_nemini
Aug 4, 2012 9:52 pm
... Absolutely not, just an opinion. I tend to write more lines than necessary to make the code as simple, legigble and maintainable as possible. Since I've...
23093
Don
dpasseng
Aug 4, 2012 9:55 pm
Or maybe it was footnotes? http://tech.groups.yahoo.com/group/ntb-clips/message/19913...
23094
Axel Berger
absalom_nemini
Aug 4, 2012 9:56 pm
... Three lines! Well done, this is really short compared to my clumsy effort. Axel...
23095
Axel Berger
absalom_nemini
Aug 4, 2012 10:07 pm
... Yes, I remember. I never used that solution becaus as far as I could see it could only run once and was not amenable to later additions or deletions. What...
23096
Don
dpasseng
Aug 4, 2012 10:11 pm
It has been a while since I've done it ... I use this: ^!Replace "^<tr><td>(<a target="_blank" href="(?P<url>.*?)">){0,1}(?P<club>.*?)(</a>)*</td><td ...
23097
anachromat
Aug 5, 2012 12:57 am
[struggling with named groups in regexp replacement] ... Note that back reference syntax has nothing to do with replacement syntax, so none of this is helping...
23098
Art Kocsis
artkns
Aug 5, 2012 12:01 pm
I am trying to do what (I think), should have been a simple RegEx find and replace but can't figure out the way to do it. I want to change variable length...
23099
Dave
david_99_au
Aug 5, 2012 1:13 pm
Hi ever thought of trying the otl format with you markers down the left side [whatever] with an equivalent marker in text [whatever] ,double or single click...
23100
flo.gehrke
Aug 5, 2012 2:45 pm
... Art, Since the amount of 'A' varies in each line, you are describing a kind of If-then-replacement ("If it's three 'A' then replace it with three 'C', if...
23101
Art Kocsis
artkns
Aug 5, 2012 3:19 pm
... I suppose one could look at it that way but doesn't feel like the style of RegEx. I was looking for an iterative replacement: find a 1 char match, replace,...
23102
joy8388608
Aug 5, 2012 5:30 pm
What??? No interest here??? (tap, tap, tap. Is this thing on?) I verified there is a problem with StrPos when using old syntax and looking for "." I'm seeing...
23103
Axel Berger
absalom_nemini
Aug 5, 2012 5:48 pm
... What do you mean? ... I have. See my post from Friday 22:29 h MESZ. Eric does not consistently turn Regex off with the old format. Axel...
23104
flo.gehrke
Aug 5, 2012 6:28 pm
... Joy, Thanks for the effort you are taking in this matter. I tested your old and your new clips numerous times. But I never got any different result than a...
23105
querulus
Aug 5, 2012 7:23 pm
The idea of multiparagraph inline notes jarred me as well. As it happens, the target application is InDesign, and to determine the proper import format, I...
23106
querulus
Aug 5, 2012 7:23 pm
I did come across the thread started by Adrien Verlee when I was reviewing the archives, but for some reason (at about 1:00 in the morning), it seemed not...
23107
querulus
Aug 5, 2012 7:23 pm
The notes are not each in a separate file, but all the notes for a chapter are gathered together in a single file. I could certainly add the filename of the...
23108
querulus
Aug 5, 2012 7:24 pm
I will enjoy! Thanks to all for all your help. This will give me much to work on. Klaas...
23109
Alec Burgess
alecb3ca
Aug 5, 2012 7:47 pm
... This is a tricky one. Following may be of interest to only a few :-) We need to make sure *somehow* that each A within B and z matches individually then a...
23110
John Shotsky
shotsky1
Aug 5, 2012 7:59 pm
This isn't completely without a loop, but it does work: ^!Replace "BC*\KA" >> "C" ARSW ^!IfError Next Else Skip_-1 Regards, John RecipeTools Web Site:...
23111
joy8388608
Aug 5, 2012 9:42 pm
Flo, Thanks for the reply. People who report bugs should be told their report has been received and looked at ASAP even if they reported a false bug or it can...
23112
Axel Berger
absalom_nemini
Aug 5, 2012 9:54 pm
... In an ideal world, of course. From experience I can tell you, that Eric does read these lists, if not every day, and does take bugs seriously. He does not...
23113
joy8388608
Aug 5, 2012 11:51 pm
You are right and I go on rants easily. I don't expect instant replies but it has been several days of hearing nothing and this is not the first time I've...
23114
joy8388608
Aug 6, 2012 12:36 am
A clue! I noticed a pattern of a time period where the function works correctly and when it does not. When I changed the loop from 1000 to 5000 so the clip ran...
23115
Axel Berger
absalom_nemini
Aug 6, 2012 12:54 am
... Did you run it on a text with actual "a"s in it, like the five bytes "aaa\r\n"? It won't do its stuff without that, only when the ^!Find is actually ...
23116
flo.gehrke
Aug 6, 2012 10:32 am
... Joy, I tested your new clip 100 times with both ^StrPos$ -- again, not a single error. BTW, you can speed it up a bit starting with '^!SetHintInfo...
23117
Eric Fookes
eric_fookes
Aug 6, 2012 5:28 pm
Hi Joy, Thanks for your feedback. In version 7.0 the ^$StrPos has a randomly occurring bug caused by an unset variable. This has been fixed in version 7.01,...
23118
joy8388608
Aug 6, 2012 6:15 pm
Eric - Ahh and Yay! and thank you for verifying I'm not insane. Also for telling me since I cannot let these things go and would have put much more time into...
23119
Eric Fookes
eric_fookes
Aug 6, 2012 6:41 pm
Hi Joy, Actually, the issue was already fixed before you wrote about it. The bug was related to earlier reports about ^$StrPosRight. The cause was a variable...
23120
joy8388608
Aug 7, 2012 6:35 pm
It's a little embarrassing to ask, but I'm not sure who anyone is. As a relative newcomer, I recognize many names and know a little about who has lots of...