Loading ...
Sorry, an error occurred while loading the content.
595
Re: RunScript on selected text only ... So ^## and ^** are no good to you. The thing to do is ^!Export "Tempfile.tmp" SELECTION ^!InsertFile Tempfile.tmp Well that seems like it
B_Barry
Mar 16
#595
 
594
Re: RunScript on selected text only ... So ^## and ^** are no good to you. The thing to do is ^!Export "Tempfile.tmp" SELECTION ^!InsertFile Tempfile.tmp Axel
Axel Berger
Mar 16
#594
 
593
RunScript on selected text only Hello All, I want to run something like ^!RunScript C:\python27\python.exe postnote http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html but
B_Barry
Mar 15
#593
 
Fetching Sponsored Content...
592
Notetab or RegEx Bug This sure looks like a bug to me but I am not sure whose responsibility so am dual posting to clips and scripts. The statement: ^!Find "^.*[\H].*$" RH (or
Art Kocsis
Sep 4, 2013
#592
 
591
Re: How to search a QUESTION MARK in a regular expression 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!
EB
Oct 10, 2012
#591
 
590
Re: How to search a QUESTION MARK in a regular expression ... An alternative is to search the '?' in hex '\x3F' or octal '\077'. Regards, Flo
flo.gehrke
Oct 10, 2012
#590
 
589
Re: How to search a QUESTION MARK in a regular expression I use this all the time to find ends of sentences: (\.|\?|!)(\R|\x20|\)|\") It could also be done using classes (which don't need escapes except for a few
John Shotsky
Oct 10, 2012
#589
 
588
Re: How to search a QUESTION MARK in a regular expression 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
Robert Bull
Oct 10, 2012
#588
 
587
Re: How to search a QUESTION MARK in a regular expression \? Regards, John RecipeTools Web Site: http://recipetools.gotdns.com/ From: ntb-scripts@yahoogroups.com
John Shotsky
Oct 9, 2012
#587
 
586
How to search a QUESTION MARK in a regular expression 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
EB
Oct 9, 2012
#586
 
585
Re: Finding Pairwise Matches ... A single '«[^\,]*?»' or even '«[^,]+»' (no need to escape comma in character class) would match that '«yyyy»' section but your RegEx is demanding
flo.gehrke
Sep 30, 2012
#585
 
584
Re: NTB or RegEx Bug I agree, and use the star heavily in my clip libraries. Regards, John RecipeTools Web Site: http://recipetools.gotdns.com/
John Shotsky
Sep 30, 2012
#584
 
583
Re: NTB or RegEx Bug ... 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
flo.gehrke
Sep 30, 2012
#583
 
582
Re: NTB or RegEx Bug ... 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
Axel Berger
Sep 29, 2012
#582
 
581
Re: NTB or RegEx Bug 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
flo.gehrke
Sep 29, 2012
#581
 
Fetching Sponsored Content...
580
Re: NTB or RegEx Bug 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
Art Kocsis
Sep 28, 2012
#580
 
579
Re: NTB or RegEx Bug ... 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
flo.gehrke
Sep 28, 2012
#579
 
578
Re: NTB or RegEx Bug 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
John Shotsky
Sep 28, 2012
#578
 
577
Re: NTB or RegEx Bug 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
Eric Fookes
Sep 28, 2012
#577
 
576
Re: NTB or RegEx Bug 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
Art Kocsis
Sep 28, 2012
#576
 
575
Re: NTB or RegEx Bug 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
John Shotsky
Sep 28, 2012
#575
 
573
Re: Finding Pairwise Matches ... 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
Art Kocsis
Sep 27, 2012
#573
 
574
NTB or RegEx Bug 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),
Art Kocsis
Sep 27, 2012
#574
 
572
Re: Finding Pairwise Matches ... 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
Art Kocsis
Sep 27, 2012
#572
 
571
Re: Finding Pairwise Matches Art, ;Replace first double quote with opening bracket ^!Replace "^[^\r\n\"]*\K\"" >> "[" ARSW ;Replace next double quote with closing bracket ^!Replace
John Shotsky
Sep 23, 2012
#571
 
570
Re: Finding Pairwise Matches ... 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
Axel Berger
Sep 23, 2012
#570
 
569
Finding Pairwise Matches 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
Art Kocsis
Sep 23, 2012
#569
 
Fetching Sponsored Content...
568
Re: Why no output from GAWK END clause and no redirect file created? 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
mycroftj
May 28, 2012
#568
 
567
Why no output from GAWK END clause and no redirect file created? 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
mycroftj
May 27, 2012
#567
 
566
Re: Redirecting GAWK Output ... PRINT is not the same as print . gawk is case-sensitive. -- Regards, Kees Nuyt
Kees Nuyt
May 17, 2012
#566
 
View First Topic Go to View Last Topic
Loading 1 - 30 of total 595 messages