Flo (and all) Attempting to use the negative assertion function discussed below, but with bewildering results. I have two versions of a clip. One works as...
Further testing shows that I didn't have the clips exactly the same in 6.2 and 7. In one case there is an [s?]on the end of notes, and in the other case there...
... Thanks, Robert! I see that last version working and getting to the result that you had in mind. Actually, I never talked of inserting the result into the...
Hello, flo.gehrke; Thursday, May 17, 2012, 8:17:01 PM, you wrote: fg> I see that last version working and getting to the result that you fg> had in mind. What...
I have been at this all day and am still stuck. I want to have a clip run GAWK code from an external file against an external data file and send all the output...
Found an answer. An idea came to me this morning. After playing with all the fancy DOS NT commands, just plain ^!"^%GAWK_Executable%" -f ... worked. I'm sure...
I am past pulling hair and am now down to scalp and it's getting bloody so maybe someone here can help. I am trying to replace all commas between matched pairs...
... I other words all those inside quotes. I have not tried anything, but I believe ^!SetArray deals with this problem correctly, so you can then then delete...
... Thank you, Axel, for responding. Although I am not sure exactly what you had in mind using arrays I know there are many ways using clip commands to parse...
... Thank you John for your response. It does seem to work fine. I made some slight changes to your suggestion: Used left & right chevrons as the [] chars...
According the RegEx help file: By default, the quantifiers are "greedy", that is, they match as much as possible (up to the maximum number of permitted times),...
I think it is working as it is supposed to. You probably don't have your cursor in the line at the time you are testing. If it is anywhere else, the 'zero or...
aaaaaaaaaaa I disagree that it is working as it is supposed to. Reread the doc - for greedy it says "the maximum number", not zero. Even starting from a ...
Hi Art, ... Indeed, it looks like a bug in the regex engine of those NoteTab versions. I just tested NoteTab 7 and it worked correctly. So it seems the updated...
It may be a matter of opinion, but when a * is used, it will first evaluate the very next character following the cursor or the point in the line that is being...
... No bug -- neither in PCRE nor in NTb. 'a*' is equivalent to a{0,}. So, at the beginning of the subject string, the engine achieves a match of zero length...
Yes, a zero length match satisfies a{0,}. So does all of other the remaining partial matches. But the whole point is that a* is supposed to be greedy. Look at...
I understand that you are testing a subject string like... However ... aaa ... starting from the beginning of the line. So 'aaa' is not at the start of line...
... I think in practice a star quantifier on its own is meaningless, there must be at least one other thing in the pattern. If you're interested in one...
... In this context, I understood that 'a' is just an element that, "in practice", would primarily represent an element in a more complex pattern. In this...
I agree, and use the star heavily in my clip libraries. Regards, John RecipeTools Web Site: <http://recipetools.gotdns.com/> http://recipetools.gotdns.com/ ...
... A single '«[^\,]*?»' or even '«[^,]+»39; (no need to escape comma in character class) would match that '«yyyy»' section but your RegEx is demanding...
I have a bunch of lines in a file that look something like this: Ga53t76lah/Z3vdeg14/V0c2/?freds=OTvvA4OfhbfjI6MQ,0,0,0,&p=31 I want to strip everything to the...
Wednesday, October 10, 2012, 2:00:55 AM, EB wrote: E> / ?fred(.*)p=31 did not work as a search string in FIND. I think John's right to suggest trying...
I use this all the time to find ends of sentences: (\.|\?|!)(\R|\x20|\)|92;") It could also be done using classes (which don't need escapes except for a few...
As is so often the case, I overlooked the obvious. I thought I had tried pretty much everything - but apparently not. The \ seems to work. THANK YOU!...