... That's where to look at. My best guess and hypothesis is that for some reason the autostarter pointed to the old version and your current version noticed...
22061
bruce.somers@...
bruce.somers
Sep 5, 2011 5:00 pm
... Thanks for the pointer. I have retrieved Flo's version of a clip by Art: ^!SetDebug on ^!SetListDelimiter ^%NL% ^!SetArray...
22062
flo.gehrke
Sep 5, 2011 5:03 pm
... Art (and John), I'm trying to learn from that advice by I can't figure out how this could work. Could you give me a helping hand please? Regarding John's...
22063
John Shotsky
shotsky1
Sep 5, 2011 5:30 pm
You didn't misunderstand, your solution does work, but it is actually more complex than the one I settled on. In mine, I just replaced all CRLF with ||, and...
22064
Sezor
piprake
Sep 5, 2011 6:50 pm
Well, okay, but where's the code for the autostarter to be able to do that? I can believe that the wrong version of Ntb might run - but copying code ?!...
22065
Sezor
piprake
Sep 5, 2011 6:59 pm
It was me making the mistake, not ntb. I've got the clip in question in two libraries, one of which was not up to date. It's not good programming but it's...
22066
diodeom
Sep 5, 2011 7:54 pm
... In ^$GetFileText()$ you should specify between the parentheses YOUR full path/filename, wherever it actually resides; something like "C:\Documents and...
22067
diodeom
Sep 5, 2011 8:02 pm
... When done testing, ^!SetDebug Off...
22068
flo.gehrke
Sep 5, 2011 10:18 pm
... Thanks John! I can't confirm this, though your remarks correspond exactly with the clip I made following Art's advice. The result is still the mess I...
22069
John Shotsky
shotsky1
Sep 5, 2011 10:28 pm
I see what is happening. I used a clip to pull the first line after [ onto that line, followed by ||, and THEN used the replace on the rest of the CR's. I had...
22070
KenH
kenfhill84083
Sep 6, 2011 12:40 am
Every time I see an elegant solution like this I am impressed. Works great. Thanks....
22071
Art Kocsis
artkns
Sep 6, 2011 12:58 am
Flo, My BAD!!! I didn't worry about all the extra "||"s as they "would not affect the sort" and would be deleted afterwards. Well, obviously the lack of an...
22072
Art Kocsis
artkns
Sep 6, 2011 12:58 am
Hello Bruce, Welcome to the club of confusion, frustration and (sometimes) elation of clips. Notetab's Help file can be incomplete and confusing but hang in...
22073
diodeom
Sep 6, 2011 1:02 am
After removing one needless grouping: ^!Set %s%=^(\d+\. ).*?((\b92;w.{0,17})?\b[Aa]id\b(.{0,17}\w\b)?) ^!Set %r%=$1$2...
22074
KenH
kenfhill84083
Sep 6, 2011 1:58 am
Thanks again. I ran across something in my research and tried it in this code. It seems to work but maybe I'll run into side effects somewhere down the line?...
22075
bruce.somers@...
bruce.somers
Sep 6, 2011 11:23 am
Thanks both to Art Kocsis and to diodeom for the tips. I've had success now with ^!SetListDelimiter ^%NL% ^!SetArray...
22076
flo.gehrke
Sep 6, 2011 12:16 pm
The "Find a specific word" topic reminded me of a similar problem I couldn't resolve so far. The subject string, for example, is... 9. General introductions to...
22077
John Shotsky
shotsky1
Sep 6, 2011 1:51 pm
Put in terms of a replace, I can get it with this: ;9. General introductions to the book on Painting (9-13). ^!Replace...
22078
diodeom
Sep 6, 2011 1:56 pm
... Follow your {0,} quantifier with a question mark: ^!Find "^(\d+\.).*?((?:92;w+\x20){3})(?=\()" RS Otherwise, being greedy, when it reluctantly spits out...
22079
Axel Berger
absalom_nemini
Sep 6, 2011 2:00 pm
... Your middle dot is greedy. Look for the space beginning the third word too: ^!Find "^(\d{1,}\.).{0,}(92;x20(?:\w{1,}\x20){3})(?=92;()" RS An extra benefit is a...
22080
diodeom
Sep 6, 2011 2:05 pm
... Check out the modest restrictions listed in Help => Help on Clip Programming => Labels....
22081
bruce.somers@...
bruce.somers
Sep 6, 2011 2:39 pm
... Check out the modest restrictions listed in Help => Help on Clip Programming => Labels. Â Thanks, got that. Bruce...
22082
flo.gehrke
Sep 6, 2011 3:27 pm
... John, diodeom, Axel -- thanks to all of you! @John: Thanks, but it's not about replacing text in a document but about ^!Find and ^$GetReSubstrings$. ...
22083
diodeom
Sep 6, 2011 4:34 pm
... If you insist on asking a greedy dot to give back what's already swallowed while requiring now non-trivial patterns, an approach that's cumbersome and most...
22084
Don
dpasseng
Sep 6, 2011 5:31 pm
I want to build a "fork" in a clip I use. I want to say something like, Which of these best fits your situation: apple - set value 1 orange - set value 2 ...
22085
diodeom
Sep 6, 2011 6:03 pm
... ^!Goto ^?{(H=3)Yadda yadda==_apple|orange|banana} ... ^!Prompt Apple routine here ^!Goto End ... ^!Prompt Orange routine here ^!Goto End ... ^!Prompt...
22086
diodeom
Sep 6, 2011 8:55 pm
... What I'm trying to convey could be probably better illustrated like this: The beginning of your pattern "^(\d{1,}\.).*" grabs the entire line [1. Now all...
22087
Axel Berger
absalom_nemini
Sep 6, 2011 9:29 pm
... Yes I had not looked closely enough. With ((?:\w{1,}\x20){1,3} you are asking for at least one word but up to three and with .* you say "take as much as...
22088
diodeom
Sep 7, 2011 4:36 am
... Still, within your data blocks the number of various headers is finite, so I'd propose in a nutshell to utilize (only initially) their complete set to make...
22089
Don
dpasseng
Sep 7, 2011 4:46 am
Great now I have to go look up agglomerating ... but I probably can give some real data to you. Digesting now ......