Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ntb-clips · The NoteTab Clips List

The Yahoo! Groups Product Blog

Check it out!

Group Information

? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 23556 - 23585 of 23891   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#23556 From: "m.feichtinger" <mafei@...>
Date: Sat Dec 22, 2012 4:23 pm
Subject: [Clip] Re: Tooltip clip?
m.feichtinger
Send Email Send Email
 
--- In ntb-clips@yahoogroups.com, "puusto13" <puusto13@...> wrote:
>
> Hi,
>
> Example text what is now used. My text is originally this kind of.
> Mat 1:6. ja Iisaille Daavid, kuningas. Daavidille syntyi Salomo, jonka äiti
oli Uurian vaimo. 2Sa. 12:10,24
> Mat 1:7. Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle Aasa, 1Ki.
11:43, 14:31, 15:8
> Mat 1:8. Aasalle Joosafat, Joosafatille Jooram, Jooramille Ussia, 1Ki. 15:24;
2Ki. 8:16; 2Ch. 26:1
> Mat 1:9. Ussialle Jootam, Jootamille Aahas, Aahakselle Hiskia, 2Ki. 15:7,38;
2Ch. 27:9, 28:27
> Mat 1:10. Hiskialle Manasse, Manasselle Aamon, Aamonille Joosia 2Ki. 20:21,
21:18; 2Ch. 32:33, 33:25
> Mat 1:11. ja Joosialle Jekonja ja tämän veljet siihen aikaan, kun kansaa
siirrettiin Babyloniaan. 2Ki. 23:34; 1Ch. 3:15,16; 2Ch. 36:1,8
>
> ----------------------
> After this clip:
> Mat 1:6. ja Iisaille Daavid, kuningas. Daavidille syntyi Salomo, jonka äiti
oli Uurian vaimo. 2Sa_12:10, 2Sa_12:24
> Mat 1:7. Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle Aasa,
1Ki_11:43, 14:31, 15:8
> Mat 1:8. Aasalle Joosafat, Joosafatille Jooram, Jooramille Ussia, 1Ki_15:24;
2Ki_8:16; 2Ch_26:1
> Mat 1:9. Ussialle Jootam, Jootamille Aahas, Aahakselle Hiskia, 2Ki_15:7,
2Ki_15:38; 2Ch_27:9, 28:27
> Mat 1:10. Hiskialle Manasse, Manasselle Aamon, Aamonille Joosia 2Ki_20:21,
21:18; 2Ch_32:33, 33:25
> Mat 1:11. ja Joosialle Jekonja ja tämän veljet siihen aikaan, kun kansaa
siirrettiin Babyloniaan. 2Ki_23:34; 1Ch_3:15, 1Ch_3:16; 2Ch_36:1, 2Ch_36:8
>
> ------------------------
> I have replaced Abr first number like this 1Ki=Fki, 2Ki=Xki and then replaced
back Fki=1Ki, Xki=2Ki etc.....
> Mat 1:6. ja Iisaille Daavid, kuningas. Daavidille syntyi Salomo, jonka äiti
oli Uurian vaimo. 2Sa_12:10, 2Sa_12:24
> Mat 1:7. Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle Aasa,
1Ki_11:43, 1Ki_14:31, 1Ki_15:8. 1Ki_11:43; 1Ki_14:31; 1Ki_15:8.
> Mat 1:8. Aasalle Joosafat, Joosafatille Jooram, Jooramille Ussia, 1Ki_15:24;
2ki_8:16; 2Ch_26:1
> Mat 1:9. Ussialle Jootam, Jootamille Aahas, Aahakselle Hiskia, 2ki_15:7,
2ki_15:38; 2Ch_27:9, 2Ch_28:27
> Mat 1:10. Hiskialle Manasse, Manasselle Aamon, Aamonille Joosia 2ki_20:21,
2ki_21:18; 2Ch_32:33, 2Ch_33:25
> Mat 1:11. ja Joosialle Jekonja ja tämän veljet siihen aikaan, kun kansaa
siirrettiin Babyloniaan. 2ki_23:34; 1Ch_3:15, 1Ch_3:16; 2Ch_36:1, 2Ch_36:8
>
> Is here something what must yet change? If Xxx=1Ki but if it's Fxx result is
ok?
> ; Change format "Xxx_15:7,38" or "#Xx_15:7,38" (comma not surrounded by
spaces!)to "Xxx_15:7, Xxx_15:38" or "#Xx_15:7, #Xx_15:38":
> ; --- LONG LINE START
> ^!Replace "(?x)^(?<TEXT>.+)
((?<SN>(\p{Lu}\p{Ll}{2}|\d\p{Lu}\p{Ll})_)(?<CHAP>\d++:)\d++ ) ,
(?<VERS2>\d++)">> "$<TEXT>$2, $<SN>$<CHAP>$<VERS2>" RWAS
> ; --- LONG LINE END

Replace the <SN> pattern in the last two ^!Replace commands with

(?<SN>(\p{Lu}|\p{Nd})[\p{L&}]{2}_)

; --- LONG LINE START
^!Replace "(?x)^(?<TEXT>.+) (?<SN> (\p{Lu}|\p{Nd})[\p{L&}]{2}_) (\d++:\d++) (.+)
\K \x20 (?=\d++:\d++)" >> " $<SN>" RWAS
; --- LONG LINE END
^!IfError Next Else Skip_-1

; --- LONG LINE START
^!Replace "(?x)^(?<TEXT>.+) (?<SN> (\p{Lu}|\p{Nd})[\p{L&}]{2}_)
(?<CHAP>\d++:)\d++ , \K (?<VERS2>\d++)" >> " $<SN>$<CHAP>$<VERS2>" RWAS
; --- LONG LINE END
^!IfError Next Else Skip_-1

HTH



>
> This clip is almost correct.
>
> Thank you! To everyone, as well as others who have helped me
>
> TL
>
> --- In ntb-clips@yahoogroups.com, "m.feichtinger" <mafei@> wrote:
> >
> > Hi,
> >
> > Replace the lines...
> >
> > ; Change format "Xxx_15:7,38" (comma not surrounded by spaces!) to
"Xxx_15:7, Xxx_15:38":
> > ; --- LONG LINE START
> > ^!Replace "(?x)^(?<TEXT>.+) ( (?<SN>\p{Lu}\p{Ll}{2}_)(?<CHAP>\d++:)\d++ ) ,
(?<VERS2>\d++)" >> "$<TEXT>$2, $<SN>$<CHAP>$<VERS2>" RWAS
> > ; --- LONG LINE END
> >
> > ... with
> >
> > ; Change format "Xxx_15:7,38" or "#Xx_15:7,38" (comma not surrounded by
spaces!) to "Xxx_15:7, Xxx_15:38" or "#Xx_15:7, #Xx_15:38":
> > ; --- LONG LINE START
> > ^!Replace "(?x)^(?<TEXT>.+) (
(?<SN>(\p{Lu}\p{Ll}{2}|\d\p{Lu}\p{Ll})_)(?<CHAP>\d++:)\d++ ) , (?<VERS2>\d++)"
>> "$<TEXT>$2, $<SN>$<CHAP>$<VERS2>" RWAS
> > ; --- LONG LINE END
> >
> > HTH
> >
> > --- In ntb-clips@yahoogroups.com, "puusto13" <puusto13@> wrote:
> > >
> > > I found new problem if the ABR begins with number like these 1Ki, 2Ki and
every others. The clip does print right only the first book, chap and verse. But
let others done.
> > >
> > > Here is example result:
> > > Matt 1:11. Babyloniaan. 2Ki_23:34; 1Ki_3:15,16; 2Jo_36:1,8, 2Ch_32:33,
33:25. 2Jo_21:3, 29:35,2Ki_15:7,38;
> > > Matt 1:12. Sealtiel, Sealtielille Serubbaabel, 1Jo_3:17,19; Ezr_3:2.
> > >
> > > TL
> > >
> > > --- In ntb-clips@yahoogroups.com, "puusto13" <puusto13@> wrote:
> > > >
> > > > Hi,
> > > >
> > > > Thanks. I add the books names and use english ABR so it's easier.
> > > >
> > > > How to chance this that it can accept every 66 books:^!Replace
"(?xJ)^(?<HEAD>Matt\x20\d++:\d++\.?) (?<TEXT>.+) \K
> > > > I have replaced this (<HEAD>Matt) Matt to Mark.It works ok.
> > > >
> > > > My clip is now:
> > > >
> > > > ;===
> > > > ; Replace 2nd and any other Matt. with Mat
> > > > ;^!Replace "^Matt \d+:\d+.+Mat\Kt\. " >> "" RWAS
> > > > ; Expand the following book list incl. short names to your liking.
> > > > ; --- LONG LINE START
> > > > ^!Replace "(?xJ)^(?<HEAD>Matt\x20\d++:\d++\.?) (?<TEXT>.+) \K
((?#BooklistStart)(?<SN>Gen)(?:)? | (?<SN>Exo)(?:)? | (?<SN>Lev)(?:)? |
(?<SN>Num)(?:)? | (?<SN>Deu)(?:)? | (?<SN>Jos)(?:)? | (?<SN>Jdg)(?:)? |
(?<SN>Rut)(?:)? | (?<SN>1Sa)(?:)? | (?<SN>2Sa)(?:)? | (?<SN>1Ki)(?:)? |
(?<SN>2Ki)(?:)? | (?<SN>1Ch)(?:)? | (?<SN>2Ch)(?:)? | (?<SN>Ezr)(?:)? |
(?<SN>Neh)(?:)? | (?<SN>Est)(?:)? | (?<SN>Job)(?:)? | (?<SN>Psa)(?:)? |
(?<SN>Pro)(?:)? | (?<SN>Ecc)(?:)? | (?<SN>Son)(?:)? | (?<SN>Isa)(?:)? |
(?<SN>Jer)(?:)? | (?<SN>Lam)(?:)? | (?<SN>Eze)(?:)? | (?<SN>Dan)(?:)? |
(?<SN>Hos)(?:)? | (?<SN>Joe)(?:)? | (?<SN>Amo)(?:)? | (?<SN>Oba)(?:)? |
(?<SN>Jon)(?:)? | (?<SN>Mic)(?:)? | (?<SN>Nah)(?:)? | (?<SN>Hab)(?:)? |
(?<SN>Zep)(?:)? | (?<SN>Hag)(?:)? | (?<SN>Zec)(?:)? | (?<SN>Mal)(?:)? |
(?<SN>Mat)(?:)? | (?<SN>Mar)(?:)? | (?<SN>Luk)(?:)? | (?<SN>Joh)(?:)? |
(?<SN>Act)(?:)? | (?<SN>Rom)(?:)? | (?<SN>1Co)(?:)? | (?<SN>2Co)(?:)? |
(?<SN>Gal)(?:)? | (?<SN>Eph)(?:)? | (?<SN>Phi)(?:)? | (?<SN>Col)(?:)? |
(?<SN>1Th)(?:)? | (?<SN>2Th)(?:)? | (?<SN>1Ti)(?:)? | (?<SN>2Ti)(?:)? |
(?<SN>Tit)(?:)? | (?<SN>Phm)(?:)? | (?<SN>Heb)(?:)? | (?<SN>Jam)(?:)? |
(?<SN>1Pe)(?:)? | (?<SN>2Pe)(?:)? | (?<SN>1Jo)(?:)? | (?<SN>2Jo)(?:)? |
(?<SN>3Jo)(?:)? | (?<SN>Jud)(?:)? | (?<SN>Rev)(?:)? (?#BooklistEnd)) \.?\x20" >>
"$<SN>_" RWAS
> > > > ; --- LONG LINE END
> > > > ^!IfError Next Else Skip_-1
> > > > ;^!Continue Continue?
> > > >
> > > > ; Add Mat_ to any number/colon series missing it.
> > > > ;^!Replace "^.+(Mat_)(\d+:\d+)(.+)\K (?=\d+:\d+)" >> " $1" RWAS
> > > > ; Add any short name (Xxx_ = uppercase letter, followed by 2 lowercase
letters,followed by an underscore) to any number/colon series missing it.
> > > > ; --- LONG LINE START
> > > > ^!Replace "(?x)^(?<TEXT>.+) (?<SN>\p{Lu}\p{Ll}{2}_) (\d+:\d+) (.+) \K
\x20(?=\d+:\d+)" >> " $<SN>" RWAS
> > > > ; --- LONG LINE END
> > > > ^!IfError Next Else Skip_-1
> > > > ;^!Continue Continue?
> > > > ;===
> > > >
> > > > ; Change format "Xxx_15:7,38" (comma not surrounded by spaces!) to
"Xxx_15:7,Xxx_15:38":
> > > > ; --- LONG LINE START
> > > > ^!Replace "(?x)^(?<TEXT>.+) ( (?<SN>\p{Lu}\p{Ll}{2}_)(?<CHAP>\d++:)\d++
) ,(?<VERS2>\d++)" >> "$<TEXT>$2, $<SN>$<CHAP>$<VERS2>" RWAS
> > > > ; --- LONG LINE END
> > > > ^!IfError Next Else Skip_-1
> > > >
> > > > TL
> > > >
> > > >
> > > > --- In ntb-clips@yahoogroups.com, "m.feichtinger" <mafei@> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > I took John's suggestion and modified his code. The following clip
works on your provided test text.
> > > > > The (?#...) groups are comments for better readability, you can remove
them.
> > > > > The (?<Name>...) groups are named for convenient reference.
> > > > > The RegEx containing the book list is taken from "Help > Help on
Regular Expression > Named Subpatterns".
> > > > >
> > > > > HTH
> > > > >
> > > > > ;===
> > > > > ; Replace 2nd and any other Matt. with Mat_
> > > > > ;^!Replace "^Matt \d+:\d+.+Mat\Kt\. " >> "_" RWAS
> > > > > ; Expand the following book list incl. short names to your liking.
> > > > > ; --- LONG LINE START
> > > > > ^!Replace "(?xJ)^(?<HEAD>Matt\x20\d++:\d++\.?) (?<TEXT>.+) \K
((?#BooklistStart) (?<SN>Mat)(?:t)? | (?<SN>Mar)(?:k)? | (?<SN>Luu)(?:k)? |
(?<SN>Joh)(?:)? | (?<SN>Esr)(?:a)? | (?<SN>Mii)(?:ka)? | (?<SN>Ruu)(?:t)?
(?#BooklistEnd)) \.? \x20" >> "$<SN>_" RWAS
> > > > > ; --- LONG LINE END
> > > > > ^!IfError Next Else Skip_-1
> > > > > ;^!Continue Continue?
> > > > >
> > > > > ; Add Mat_ to any number/colon series missing it.
> > > > > ;^!Replace "^.+(Mat_)(\d+:\d+)(.+)\K (?=\d+:\d+)" >> " $1" RWAS
> > > > > ; Add any short name (Xxx_ = uppercase letter, followed by 2 lowercase
letters, followed by an underscore) to any number/colon series missing it.
> > > > > ; --- LONG LINE START
> > > > > ^!Replace "(?x)^(?<TEXT>.+) (?<SN>\p{Lu}\p{Ll}{2}_) (\d+:\d+) (.+) \K
\x20 (?=\d+:\d+)" >> " $<SN>" RWAS
> > > > > ; --- LONG LINE END
> > > > > ^!IfError Next Else Skip_-1
> > > > > ;^!Continue Continue?
> > > > > ;===
> > > > >
> > > > > ; Change format "Xxx_15:7,38" (comma not surrounded by spaces!) to
"Xxx_15:7, Xxx_15:38":
> > > > > ; --- LONG LINE START
> > > > > ^!Replace "(?x)^(?<TEXT>.+) (
(?<SN>\p{Lu}\p{Ll}{2}_)(?<CHAP>\d++:)\d++ ) , (?<VERS2>\d++)" >> "$<TEXT>$2,
$<SN>$<CHAP>$<VERS2>" RWAS
> > > > > ; --- LONG LINE END
> > > > > ^!IfError Next Else Skip_-1
> > > > >
> > > > >
> > > > > --- In ntb-clips@yahoogroups.com, T L <puusto13@> wrote:
> > > > > >
> > > > > > It works with Matt rather good but there is some bugs like Matt 1:5.
Salmonille Booas, jonka äiti oli Raahab. Booakselle syntyi
> > > > > > Oobed, jonka äiti oli Ruut. Oobedille syntyi Iisai
Mat_4:13,17...Here?
> > > > > > Matt 4:15. Elihudille Eleasar, Eleasarille Mattan, Mattanille
Jaakob.(Mat_15:7,38; Here?
> > > > > >
> > > > > > But how can I got it work with all the Bible books?
> > > > > > (1. Moos.|2. Moos.|3. Moos.|4. Moos.|5. Moos.|Joos.|Tuom.|Ruut|1.
Sam.|2. Sam.|1. Kun.|2. Kun.|1. Aik.|2.
Aik.|Esra|Neh.|Est.|Job|Ps.|Sananl.|Saarn.|Laul.
l.|Jes.|Jer.|Valit.|Hes.|Dan.|Hoos.|Joel|Aam.|Ob.|Joona|Miika|Nah.|Hab.|Sef.|Hag\
g.|Sak.|Mal.|Matt|Mark|Luuk|Joh.|Ap. t.|Room.|1. Kor.|2.
Kor.|Gal.|Ef.|Fil.|Kol.|1. Tess.|2. Tess.|1. Tim.|2.
Tim.|Tit.|Filem.|Hepr.|Jaak.|1. Piet.|2. Piet.|1. Joh.|2. Joh.|3.
Joh.|Juud.|Ilm.)
> > > > > >
> > > > > > TL
> > > > > >
> > > > > >
> > > > > >
> > > > > > ________________________________
> > > > > >  From: John Shotsky <jshotsky@>
> > > > > > To: ntb-clips@yahoogroups.com
> > > > > > Sent: Wednesday, December 19, 2012 12:27 AM
> > > > > > Subject: RE: [Clip] Re: Tooltip clip?
> > > > > >
> > > > > >
> > > > > >  
> > > > > > If I have understood the requirement this time, and if the first
word is actually 'Matt' and not 'Mat', then the following will capture each of
the Matt bits correctly.
> > > > > > For other words, just repeat these 4 lines with the new words
inserted where Matt or Mat is now. If any periods are in doubt, place a question
mark after them.
> > > > > > ;===
> > > > > > ;Replace 2nd and any other Matt. with Mat_
> > > > > > ^!Replace "^Matt \d+:\d+.+Mat\Kt\. " >> "_" ARSW
> > > > > > ^!IfError Next Else Skip_-1
> > > > > > ;Add Mat_ to any number/colon series missing it.
> > > > > > ^!Replace "^.+(Mat_)(\d+:\d+)(.+)\K (?=\d+:\d+)" >> " $1" ARSW
> > > > > > ^!IfError Next Else Skip_-1
> > > > > > ;===
> > > > > >
> > > > > > Results with test text:
> > > > > > Matt 1:1. Luku 1 JEESUKSEN SYNTYMÄ JA LAPSUUS Jeesuksen
sukuluettelo (Mat_3:23-38). Jeesuksen Kristuksen, Daavidin pojan, Abrahamin
pojan, sukuluettelo: Mat_132:11; Mat_1:3; Mat_3:16; Mat_22:16-17. (Mat_15:7,38,
Mat_27:9, Mat_28:27
> > > > > > Matt 1:2. Abrahamille syntyi Iisak, Iisakille Jaakob, Jaakobille
Juuda ja tämän veljet. Mat_21:3, Mat_29:35
> > > > > > Matt 1:3. Juudalle syntyivät Peres ja Serah, joiden äiti oli
Taamar. Perekselle syntyi Hesron, Hesronille Raam, Mat_38:27-30; Mat_4:18-22;
Mat_2:4-15
> > > > > > Matt 1:4. Raamille Amminadab, Amminadabille Nahson, Nahsonille
Salmon,
> > > > > > Matt 1:5. Salmonille Booas, jonka äiti oli Raahab. Booakselle
syntyi Oobed, jonka äiti oli Ruut. Oobedille syntyi Iisai Mat_4:13,17
> > > > > > Matt 1:6. ja Iisaille Daavid, kuningas. Daavidille syntyi Salomo,
jonka äiti oli Uurian vaimo. Mat_12:10,24
> > > > > > Matt 1:7. Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle
Aasa, Mat_11:43, Mat_14:31, Mat_15:8
> > > > > > Matt 1:8. Aasalle Joosafat, Joosafatille Jooram, Jooramille Ussia,
Mat_15:24; Mat_8:16; Mat_26:1.
> > > > > > Matt 1:9. Ussialle Jootam, Jootamille Aahas, Aahakselle Hiskia,
Mat_15:7,38; Mat_27:9, Mat_28:27
> > > > > > Matt 1:10. Hiskialle Manasse, Manasselle Aamon, Aamonille Joosia
Mat_20:21, Mat_21:18; Mat_32:33, Mat_33:25: Salmonille Booas, jonka äiti oli
Raahab. Booakselle syntyi Oobed, Mat_23:34, Mat_3:15,16; Mat_36:1,8;
> > > > > > Matt 1:11. ja Joosialle Jekonja ja tämän veljet siihen aikaan, kun
kansaa siirrettiin Babyloniaan. Mat_23:34, Mat_3:15,16; Mat_36:1,8; Salomolle
syntyi Rehabeam, Rehabeamille Abia, Abialle Aasa, Mat_11:43, Mat_14:31, Mat_15:8
> > > > > > Matt 1:12. Babyloniaan siirtämisen jälkeen Jekonjalle syntyi
Sealtiel, Sealtielille Serubbaabel, Mat_3:17,19; Mat_3:2
> > > > > > Matt 2:13. Serubbaabelille Abihud, Abihudille Eljakim, Eljakimille
Assur, (Mat_15:7,38, Mat_27:9, Mat_28:27).
> > > > > > Matt 3:14. Assurille Saadok, Saadokille Jaakin, Jaakinille Elihud,
(Mat_15:7,38; Mat_27:9; Mat_28:27)
> > > > > > Matt 4:15. Elihudille Eleasar, Eleasarille Mattan, Mattanille
Jaakob.(Mat_15:7,38; Mat_27:9, Mat_28:27),
> > > > > > Matt 5:16. ja Jaakobille Joosef, Marian mies. Mariasta syntyi
Jeesus, jota kutsutaan Kristukseksi1.
> > > > > > Matt 6:17. Abrahamista Daavidiin on siten kaikkiaan neljätoista
sukupolvea, Daavidista Babylonian pakkosiirtolaisuuteen asti neljätoista ja
Babylonian pakkosiirtolaisuudesta Kristukseen neljätoista sukupolvea. Jeesuksen
syntymä (Mat_2:1-7).
> > > > > >
> > > > > > Regards,
> > > > > > John
> > > > > > RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/
> > > > > >
> >
>

#23557 From: "puusto13" <puusto13@...>
Date: Sun Dec 23, 2012 2:10 am
Subject: [Clip] Re: Tooltip clip?
puusto13
Send Email Send Email
 
Hi,

Thanks! Now it works ok with ABR.
But
Finnish language has word jos.
One English Bible ABR is Jos.
Example text:
Mat 1:1 Jos te jne.
Mat 1:1 Jos_te jne. Wrong.

Mat 1:1 Te jos te jne.
Mat 1:1 Te jos te jne. Ok.

I found this. This is not problem because I can replace Jos=Joz
Then use this clip and replace Joz=Jos.

TL

--- In ntb-clips@yahoogroups.com, "m.feichtinger" <mafei@...> wrote:

> --- In ntb-clips@yahoogroups.com, "puusto13" <puusto13@> wrote:

> > Example text what is now used. My text is originally this kind of.
> > Mat 1:6. ja Iisaille Daavid, kuningas. Daavidille syntyi Salomo, jonka äiti
oli Uurian vaimo. 2Sa. 12:10,24
> > Mat 1:7. Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle Aasa, 1Ki.
11:43, 14:31, 15:8
> > Mat 1:8. Aasalle Joosafat, Joosafatille Jooram, Jooramille Ussia, 1Ki.
15:24; 2Ki. 8:16; 2Ch. 26:1
> > Mat 1:9. Ussialle Jootam, Jootamille Aahas, Aahakselle Hiskia, 2Ki. 15:7,38;
2Ch. 27:9, 28:27
> > Mat 1:10. Hiskialle Manasse, Manasselle Aamon, Aamonille Joosia 2Ki. 20:21,
21:18; 2Ch. 32:33, 33:25
> > Mat 1:11. ja Joosialle Jekonja ja tämän veljet siihen aikaan, kun kansaa
siirrettiin Babyloniaan. 2Ki. 23:34; 1Ch. 3:15,16; 2Ch. 36:1,8
> >
> > ----------------------
> > After this clip:
> > Mat 1:6. ja Iisaille Daavid, kuningas. Daavidille syntyi Salomo, jonka äiti
oli Uurian vaimo. 2Sa_12:10, 2Sa_12:24
> > Mat 1:7. Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle Aasa,
1Ki_11:43, 14:31, 15:8
> > Mat 1:8. Aasalle Joosafat, Joosafatille Jooram, Jooramille Ussia, 1Ki_15:24;
2Ki_8:16; 2Ch_26:1
> > Mat 1:9. Ussialle Jootam, Jootamille Aahas, Aahakselle Hiskia, 2Ki_15:7,
2Ki_15:38; 2Ch_27:9, 28:27
> > Mat 1:10. Hiskialle Manasse, Manasselle Aamon, Aamonille Joosia 2Ki_20:21,
21:18; 2Ch_32:33, 33:25
> > Mat 1:11. ja Joosialle Jekonja ja tämän veljet siihen aikaan, kun kansaa
siirrettiin Babyloniaan. 2Ki_23:34; 1Ch_3:15, 1Ch_3:16; 2Ch_36:1, 2Ch_36:8
> >
> > ------------------------
> > I have replaced Abr first number like this 1Ki=Fki, 2Ki=Xki and then
replaced back Fki=1Ki, Xki=2Ki etc.....
> > Mat 1:6. ja Iisaille Daavid, kuningas. Daavidille syntyi Salomo, jonka äiti
oli Uurian vaimo. 2Sa_12:10, 2Sa_12:24
> > Mat 1:7. Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle Aasa,
1Ki_11:43, 1Ki_14:31, 1Ki_15:8. 1Ki_11:43; 1Ki_14:31; 1Ki_15:8.
> > Mat 1:8. Aasalle Joosafat, Joosafatille Jooram, Jooramille Ussia, 1Ki_15:24;
2ki_8:16; 2Ch_26:1
> > Mat 1:9. Ussialle Jootam, Jootamille Aahas, Aahakselle Hiskia, 2ki_15:7,
2ki_15:38; 2Ch_27:9, 2Ch_28:27
> > Mat 1:10. Hiskialle Manasse, Manasselle Aamon, Aamonille Joosia 2ki_20:21,
2ki_21:18; 2Ch_32:33, 2Ch_33:25
> > Mat 1:11. ja Joosialle Jekonja ja tämän veljet siihen aikaan, kun kansaa
siirrettiin Babyloniaan. 2ki_23:34; 1Ch_3:15, 1Ch_3:16; 2Ch_36:1, 2Ch_36:8
> >
> > Is here something what must yet change? If Xxx=1Ki but if it's Fxx result is
ok?
> > ; Change format "Xxx_15:7,38" or "#Xx_15:7,38" (comma not surrounded by
spaces!)to "Xxx_15:7, Xxx_15:38" or "#Xx_15:7, #Xx_15:38":
> > ; --- LONG LINE START
> > ^!Replace "(?x)^(?<TEXT>.+)
((?<SN>(\p{Lu}\p{Ll}{2}|\d\p{Lu}\p{Ll})_)(?<CHAP>\d++:)\d++ ) ,
(?<VERS2>\d++)">> "$<TEXT>$2, $<SN>$<CHAP>$<VERS2>" RWAS
> > ; --- LONG LINE END
>
> Replace the <SN> pattern in the last two ^!Replace commands with
>
> (?<SN>(\p{Lu}|\p{Nd})[\p{L&}]{2}_)
>
> ; --- LONG LINE START
> ^!Replace "(?x)^(?<TEXT>.+) (?<SN> (\p{Lu}|\p{Nd})[\p{L&}]{2}_) (\d++:\d++)
(.+) \K \x20 (?=\d++:\d++)" >> " $<SN>" RWAS
> ; --- LONG LINE END
> ^!IfError Next Else Skip_-1
>
> ; --- LONG LINE START
> ^!Replace "(?x)^(?<TEXT>.+) (?<SN> (\p{Lu}|\p{Nd})[\p{L&}]{2}_)
(?<CHAP>\d++:)\d++ , \K (?<VERS2>\d++)" >> " $<SN>$<CHAP>$<VERS2>" RWAS
> ; --- LONG LINE END
> ^!IfError Next Else Skip_-1
>
> HTH
>
>
>
> >
> > This clip is almost correct.
> >
> > Thank you! To everyone, as well as others who have helped me
> >
> > TL
> >
> > --- In ntb-clips@yahoogroups.com, "m.feichtinger" <mafei@> wrote:
> > >
> > > Hi,
> > >
> > > Replace the lines...
> > >
> > > ; Change format "Xxx_15:7,38" (comma not surrounded by spaces!) to
"Xxx_15:7, Xxx_15:38":
> > > ; --- LONG LINE START
> > > ^!Replace "(?x)^(?<TEXT>.+) ( (?<SN>\p{Lu}\p{Ll}{2}_)(?<CHAP>\d++:)\d++ )
, (?<VERS2>\d++)" >> "$<TEXT>$2, $<SN>$<CHAP>$<VERS2>" RWAS
> > > ; --- LONG LINE END
> > >
> > > ... with
> > >
> > > ; Change format "Xxx_15:7,38" or "#Xx_15:7,38" (comma not surrounded by
spaces!) to "Xxx_15:7, Xxx_15:38" or "#Xx_15:7, #Xx_15:38":
> > > ; --- LONG LINE START
> > > ^!Replace "(?x)^(?<TEXT>.+) (
(?<SN>(\p{Lu}\p{Ll}{2}|\d\p{Lu}\p{Ll})_)(?<CHAP>\d++:)\d++ ) , (?<VERS2>\d++)"
>> "$<TEXT>$2, $<SN>$<CHAP>$<VERS2>" RWAS
> > > ; --- LONG LINE END
> > >
> > > HTH
> > >
> > > --- In ntb-clips@yahoogroups.com, "puusto13" <puusto13@> wrote:
> > > >
> > > > I found new problem if the ABR begins with number like these 1Ki, 2Ki
and every others. The clip does print right only the first book, chap and verse.
But let others done.
> > > >
> > > > Here is example result:
> > > > Matt 1:11. Babyloniaan. 2Ki_23:34; 1Ki_3:15,16; 2Jo_36:1,8, 2Ch_32:33,
33:25. 2Jo_21:3, 29:35,2Ki_15:7,38;
> > > > Matt 1:12. Sealtiel, Sealtielille Serubbaabel, 1Jo_3:17,19; Ezr_3:2.
> > > >
> > > > TL
> > > >
> > > > --- In ntb-clips@yahoogroups.com, "puusto13" <puusto13@> wrote:
> > > > >
> > > > > Hi,
> > > > >
> > > > > Thanks. I add the books names and use english ABR so it's easier.
> > > > >
> > > > > How to chance this that it can accept every 66 books:^!Replace
"(?xJ)^(?<HEAD>Matt\x20\d++:\d++\.?) (?<TEXT>.+) \K
> > > > > I have replaced this (<HEAD>Matt) Matt to Mark.It works ok.
> > > > >
> > > > > My clip is now:
> > > > >
> > > > > ;===
> > > > > ; Replace 2nd and any other Matt. with Mat
> > > > > ;^!Replace "^Matt \d+:\d+.+Mat\Kt\. " >> "" RWAS
> > > > > ; Expand the following book list incl. short names to your liking.
> > > > > ; --- LONG LINE START
> > > > > ^!Replace "(?xJ)^(?<HEAD>Matt\x20\d++:\d++\.?) (?<TEXT>.+) \K
((?#BooklistStart)(?<SN>Gen)(?:)? | (?<SN>Exo)(?:)? | (?<SN>Lev)(?:)? |
(?<SN>Num)(?:)? | (?<SN>Deu)(?:)? | (?<SN>Jos)(?:)? | (?<SN>Jdg)(?:)? |
(?<SN>Rut)(?:)? | (?<SN>1Sa)(?:)? | (?<SN>2Sa)(?:)? | (?<SN>1Ki)(?:)? |
(?<SN>2Ki)(?:)? | (?<SN>1Ch)(?:)? | (?<SN>2Ch)(?:)? | (?<SN>Ezr)(?:)? |
(?<SN>Neh)(?:)? | (?<SN>Est)(?:)? | (?<SN>Job)(?:)? | (?<SN>Psa)(?:)? |
(?<SN>Pro)(?:)? | (?<SN>Ecc)(?:)? | (?<SN>Son)(?:)? | (?<SN>Isa)(?:)? |
(?<SN>Jer)(?:)? | (?<SN>Lam)(?:)? | (?<SN>Eze)(?:)? | (?<SN>Dan)(?:)? |
(?<SN>Hos)(?:)? | (?<SN>Joe)(?:)? | (?<SN>Amo)(?:)? | (?<SN>Oba)(?:)? |
(?<SN>Jon)(?:)? | (?<SN>Mic)(?:)? | (?<SN>Nah)(?:)? | (?<SN>Hab)(?:)? |
(?<SN>Zep)(?:)? | (?<SN>Hag)(?:)? | (?<SN>Zec)(?:)? | (?<SN>Mal)(?:)? |
(?<SN>Mat)(?:)? | (?<SN>Mar)(?:)? | (?<SN>Luk)(?:)? | (?<SN>Joh)(?:)? |
(?<SN>Act)(?:)? | (?<SN>Rom)(?:)? | (?<SN>1Co)(?:)? | (?<SN>2Co)(?:)? |
(?<SN>Gal)(?:)? | (?<SN>Eph)(?:)? | (?<SN>Phi)(?:)? | (?<SN>Col)(?:)? |
(?<SN>1Th)(?:)? | (?<SN>2Th)(?:)? | (?<SN>1Ti)(?:)? | (?<SN>2Ti)(?:)? |
(?<SN>Tit)(?:)? | (?<SN>Phm)(?:)? | (?<SN>Heb)(?:)? | (?<SN>Jam)(?:)? |
(?<SN>1Pe)(?:)? | (?<SN>2Pe)(?:)? | (?<SN>1Jo)(?:)? | (?<SN>2Jo)(?:)? |
(?<SN>3Jo)(?:)? | (?<SN>Jud)(?:)? | (?<SN>Rev)(?:)? (?#BooklistEnd)) \.?\x20" >>
"$<SN>_" RWAS
> > > > > ; --- LONG LINE END
> > > > > ^!IfError Next Else Skip_-1
> > > > > ;^!Continue Continue?
> > > > >
> > > > > ; Add Mat_ to any number/colon series missing it.
> > > > > ;^!Replace "^.+(Mat_)(\d+:\d+)(.+)\K (?=\d+:\d+)" >> " $1" RWAS
> > > > > ; Add any short name (Xxx_ = uppercase letter, followed by 2 lowercase
letters,followed by an underscore) to any number/colon series missing it.
> > > > > ; --- LONG LINE START
> > > > > ^!Replace "(?x)^(?<TEXT>.+) (?<SN>\p{Lu}\p{Ll}{2}_) (\d+:\d+) (.+) \K
\x20(?=\d+:\d+)" >> " $<SN>" RWAS
> > > > > ; --- LONG LINE END
> > > > > ^!IfError Next Else Skip_-1
> > > > > ;^!Continue Continue?
> > > > > ;===
> > > > >
> > > > > ; Change format "Xxx_15:7,38" (comma not surrounded by spaces!) to
"Xxx_15:7,Xxx_15:38":
> > > > > ; --- LONG LINE START
> > > > > ^!Replace "(?x)^(?<TEXT>.+) (
(?<SN>\p{Lu}\p{Ll}{2}_)(?<CHAP>\d++:)\d++ ) ,(?<VERS2>\d++)" >> "$<TEXT>$2,
$<SN>$<CHAP>$<VERS2>" RWAS
> > > > > ; --- LONG LINE END
> > > > > ^!IfError Next Else Skip_-1
> > > > >
> > > > > TL
> > > > >
> > > > >
> > > > > --- In ntb-clips@yahoogroups.com, "m.feichtinger" <mafei@> wrote:
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I took John's suggestion and modified his code. The following clip
works on your provided test text.
> > > > > > The (?#...) groups are comments for better readability, you can
remove them.
> > > > > > The (?<Name>...) groups are named for convenient reference.
> > > > > > The RegEx containing the book list is taken from "Help > Help on
Regular Expression > Named Subpatterns".
> > > > > >
> > > > > > HTH
> > > > > >
> > > > > > ;===
> > > > > > ; Replace 2nd and any other Matt. with Mat_
> > > > > > ;^!Replace "^Matt \d+:\d+.+Mat\Kt\. " >> "_" RWAS
> > > > > > ; Expand the following book list incl. short names to your liking.
> > > > > > ; --- LONG LINE START
> > > > > > ^!Replace "(?xJ)^(?<HEAD>Matt\x20\d++:\d++\.?) (?<TEXT>.+) \K
((?#BooklistStart) (?<SN>Mat)(?:t)? | (?<SN>Mar)(?:k)? | (?<SN>Luu)(?:k)? |
(?<SN>Joh)(?:)? | (?<SN>Esr)(?:a)? | (?<SN>Mii)(?:ka)? | (?<SN>Ruu)(?:t)?
(?#BooklistEnd)) \.? \x20" >> "$<SN>_" RWAS
> > > > > > ; --- LONG LINE END
> > > > > > ^!IfError Next Else Skip_-1
> > > > > > ;^!Continue Continue?
> > > > > >
> > > > > > ; Add Mat_ to any number/colon series missing it.
> > > > > > ;^!Replace "^.+(Mat_)(\d+:\d+)(.+)\K (?=\d+:\d+)" >> " $1" RWAS
> > > > > > ; Add any short name (Xxx_ = uppercase letter, followed by 2
lowercase letters, followed by an underscore) to any number/colon series missing
it.
> > > > > > ; --- LONG LINE START
> > > > > > ^!Replace "(?x)^(?<TEXT>.+) (?<SN>\p{Lu}\p{Ll}{2}_) (\d+:\d+) (.+)
\K \x20 (?=\d+:\d+)" >> " $<SN>" RWAS
> > > > > > ; --- LONG LINE END
> > > > > > ^!IfError Next Else Skip_-1
> > > > > > ;^!Continue Continue?
> > > > > > ;===
> > > > > >
> > > > > > ; Change format "Xxx_15:7,38" (comma not surrounded by spaces!) to
"Xxx_15:7, Xxx_15:38":
> > > > > > ; --- LONG LINE START
> > > > > > ^!Replace "(?x)^(?<TEXT>.+) (
(?<SN>\p{Lu}\p{Ll}{2}_)(?<CHAP>\d++:)\d++ ) , (?<VERS2>\d++)" >> "$<TEXT>$2,
$<SN>$<CHAP>$<VERS2>" RWAS
> > > > > > ; --- LONG LINE END
> > > > > > ^!IfError Next Else Skip_-1
> > > > > >
> > > > > >
> > > > > > --- In ntb-clips@yahoogroups.com, T L <puusto13@> wrote:
> > > > > > >
> > > > > > > It works with Matt rather good but there is some bugs like Matt
1:5. Salmonille Booas, jonka äiti oli Raahab. Booakselle syntyi
> > > > > > > Oobed, jonka äiti oli Ruut. Oobedille syntyi Iisai
Mat_4:13,17...Here?
> > > > > > > Matt 4:15. Elihudille Eleasar, Eleasarille Mattan, Mattanille
Jaakob.(Mat_15:7,38; Here?
> > > > > > >
> > > > > > > But how can I got it work with all the Bible books?
> > > > > > > (1. Moos.|2. Moos.|3. Moos.|4. Moos.|5. Moos.|Joos.|Tuom.|Ruut|1.
Sam.|2. Sam.|1. Kun.|2. Kun.|1. Aik.|2.
Aik.|Esra|Neh.|Est.|Job|Ps.|Sananl.|Saarn.|Laul.
l.|Jes.|Jer.|Valit.|Hes.|Dan.|Hoos.|Joel|Aam.|Ob.|Joona|Miika|Nah.|Hab.|Sef.|Hag\
g.|Sak.|Mal.|Matt|Mark|Luuk|Joh.|Ap. t.|Room.|1. Kor.|2.
Kor.|Gal.|Ef.|Fil.|Kol.|1. Tess.|2. Tess.|1. Tim.|2.
Tim.|Tit.|Filem.|Hepr.|Jaak.|1. Piet.|2. Piet.|1. Joh.|2. Joh.|3.
Joh.|Juud.|Ilm.)
> > > > > > >
> > > > > > > TL
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ________________________________
> > > > > > >  From: John Shotsky <jshotsky@>
> > > > > > > To: ntb-clips@yahoogroups.com
> > > > > > > Sent: Wednesday, December 19, 2012 12:27 AM
> > > > > > > Subject: RE: [Clip] Re: Tooltip clip?
> > > > > > >
> > > > > > >
> > > > > > >  
> > > > > > > If I have understood the requirement this time, and if the first
word is actually 'Matt' and not 'Mat', then the following will capture each of
the Matt bits correctly.
> > > > > > > For other words, just repeat these 4 lines with the new words
inserted where Matt or Mat is now. If any periods are in doubt, place a question
mark after them.
> > > > > > > ;===
> > > > > > > ;Replace 2nd and any other Matt. with Mat_
> > > > > > > ^!Replace "^Matt \d+:\d+.+Mat\Kt\. " >> "_" ARSW
> > > > > > > ^!IfError Next Else Skip_-1
> > > > > > > ;Add Mat_ to any number/colon series missing it.
> > > > > > > ^!Replace "^.+(Mat_)(\d+:\d+)(.+)\K (?=\d+:\d+)" >> " $1" ARSW
> > > > > > > ^!IfError Next Else Skip_-1
> > > > > > > ;===
> > > > > > >
> > > > > > > Results with test text:
> > > > > > > Matt 1:1. Luku 1 JEESUKSEN SYNTYMÄ JA LAPSUUS Jeesuksen
sukuluettelo (Mat_3:23-38). Jeesuksen Kristuksen, Daavidin pojan, Abrahamin
pojan, sukuluettelo: Mat_132:11; Mat_1:3; Mat_3:16; Mat_22:16-17. (Mat_15:7,38,
Mat_27:9, Mat_28:27
> > > > > > > Matt 1:2. Abrahamille syntyi Iisak, Iisakille Jaakob, Jaakobille
Juuda ja tämän veljet. Mat_21:3, Mat_29:35
> > > > > > > Matt 1:3. Juudalle syntyivät Peres ja Serah, joiden äiti oli
Taamar. Perekselle syntyi Hesron, Hesronille Raam, Mat_38:27-30; Mat_4:18-22;
Mat_2:4-15
> > > > > > > Matt 1:4. Raamille Amminadab, Amminadabille Nahson, Nahsonille
Salmon,
> > > > > > > Matt 1:5. Salmonille Booas, jonka äiti oli Raahab. Booakselle
syntyi Oobed, jonka äiti oli Ruut. Oobedille syntyi Iisai Mat_4:13,17
> > > > > > > Matt 1:6. ja Iisaille Daavid, kuningas. Daavidille syntyi Salomo,
jonka äiti oli Uurian vaimo. Mat_12:10,24
> > > > > > > Matt 1:7. Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle
Aasa, Mat_11:43, Mat_14:31, Mat_15:8
> > > > > > > Matt 1:8. Aasalle Joosafat, Joosafatille Jooram, Jooramille Ussia,
Mat_15:24; Mat_8:16; Mat_26:1.
> > > > > > > Matt 1:9. Ussialle Jootam, Jootamille Aahas, Aahakselle Hiskia,
Mat_15:7,38; Mat_27:9, Mat_28:27
> > > > > > > Matt 1:10. Hiskialle Manasse, Manasselle Aamon, Aamonille Joosia
Mat_20:21, Mat_21:18; Mat_32:33, Mat_33:25: Salmonille Booas, jonka äiti oli
Raahab. Booakselle syntyi Oobed, Mat_23:34, Mat_3:15,16; Mat_36:1,8;
> > > > > > > Matt 1:11. ja Joosialle Jekonja ja tämän veljet siihen aikaan,
kun kansaa siirrettiin Babyloniaan. Mat_23:34, Mat_3:15,16; Mat_36:1,8;
Salomolle syntyi Rehabeam, Rehabeamille Abia, Abialle Aasa, Mat_11:43,
Mat_14:31, Mat_15:8
> > > > > > > Matt 1:12. Babyloniaan siirtämisen jälkeen Jekonjalle syntyi
Sealtiel, Sealtielille Serubbaabel, Mat_3:17,19; Mat_3:2
> > > > > > > Matt 2:13. Serubbaabelille Abihud, Abihudille Eljakim, Eljakimille
Assur, (Mat_15:7,38, Mat_27:9, Mat_28:27).
> > > > > > > Matt 3:14. Assurille Saadok, Saadokille Jaakin, Jaakinille Elihud,
(Mat_15:7,38; Mat_27:9; Mat_28:27)
> > > > > > > Matt 4:15. Elihudille Eleasar, Eleasarille Mattan, Mattanille
Jaakob.(Mat_15:7,38; Mat_27:9, Mat_28:27),
> > > > > > > Matt 5:16. ja Jaakobille Joosef, Marian mies. Mariasta syntyi
Jeesus, jota kutsutaan Kristukseksi1.
> > > > > > > Matt 6:17. Abrahamista Daavidiin on siten kaikkiaan neljätoista
sukupolvea, Daavidista Babylonian pakkosiirtolaisuuteen asti neljätoista ja
Babylonian pakkosiirtolaisuudesta Kristukseen neljätoista sukupolvea. Jeesuksen
syntymä (Mat_2:1-7).
> > > > > > >
> > > > > > > Regards,
> > > > > > > John
> > > > > > > RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/
> > > > > > >
> > >
> >
>

#23558 From: "nullclip" <nullclip@...>
Date: Mon Dec 24, 2012 1:48 pm
Subject: CCleaner Reports Registry Issue
nullclip
Send Email Send Email
 
CCleaner reports Unused File Extension .clb
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.clb

I get no other similar reports about other file extension associations.

Why?

#23559 From: hsavage <hsavage@...>
Date: Tue Dec 25, 2012 5:52 pm
Subject: Re: [Clip] CCleaner Reports Registry Issue
hrs62930
Send Email Send Email
 
On 12/24/2012 5:48 AM, nullclip wrote:> CCleaner reports Unused File
Extension      .clb
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.clb
>
> I get no other similar reports about other file extension associations.
>
> Why?

null,

I run Ccleaner quite often and don't have the response you do.

Have you accessed 'View > Options > Associations' and added 'clb' as an
associated extension?

········································\
·······
¤• JD#...359 - ¤• SL...1264 - 12.12.24~18.36.11

• Strip Mining Prevents Forest Fires.

€ hrs €  hsavage € pobox € com
>^~

#23560 From: Axel Berger <Axel-Berger@...>
Date: Wed Dec 26, 2012 1:32 pm
Subject: Re: [Clip] CCleaner Reports Registry Issue
absalom_nemini
Send Email Send Email
 
nullclip wrote:
> I get no other similar reports about other file extension associations.

As far as I know all it means you've never told Windows what to do, when
you double-click on a *.clb. As that's not what you want to do anyway it
doesn't mean anything, Windows doesn't need to know what .clb is, only
NoteTab does, and Notetab knows.

Axel

#23561 From: Art Kocsis <artkns@...>
Date: Thu Dec 27, 2012 1:55 am
Subject: Re: [Clip] CCleaner Reports Registry Issue
artkns
Send Email Send Email
 
At 12-24-2012 13:48 +0000, nullclip wrote:
>CCleaner reports Unused File Extension.clb
>HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.clb
>
>I get no other similar reports about other file extension associations.
>
>Why?

File extension keys appearing under HKCU\...\Explorer\FileExts\ are file
associations defined by & for separate user accounts. They over ride the global
definitions under HCR or are unique to the current user. At sometime in the
history of your computer someone explicitly caused that entry to be made.
It is unnecessary and actually a bit erroneous since, left as a file
association, NoteTab would open any such file as a text file, not as a clip
library.

You can safely delete the entry.

Namaste',  Art

#23562 From: Axel Berger <Axel-Berger@...>
Date: Thu Dec 27, 2012 9:51 am
Subject: Re: [Clip] CCleaner Reports Registry Issue
absalom_nemini
Send Email Send Email
 
Art Kocsis wrote:
> left as a file association, NoteTab would open any such file as
> a text file, not as a clip library.

I don't see the problem. If I <F4> in Totalcommander, "open with
NoteTab", the file is opened as a text. Nevertheless all .clb in my
library folder are offered in the libraries bar. I'm not going to mess
with my registry to test further, mostly because in my OS version these
enties are incompatible anyway.

Axel

#23563 From: Art Kocsis <artkns@...>
Date: Thu Dec 27, 2012 3:21 pm
Subject: Re: [Clip] CCleaner Reports Registry Issue
artkns
Send Email Send Email
 
At 12-27-2012 10:51 +0100, you wrote:
>Art Kocsis wrote:
>> left as a file association, NoteTab would open any such file as
>> a text file, not as a clip library.
>
>I don't see the problem. If I <F4> in Totalcommander, "open with
>NoteTab", the file is opened as a text. Nevertheless all .clb in my
>library folder are offered in the libraries bar. I'm not going to mess
>with my registry to test further, mostly because in my OS version these
>enties are incompatible anyway.

Whoa. Don't get excited. I didn't say it was a problem. There are times one
WANTS to open a clip library as a test file.

All I was doing was describing the behavior of some key/value settings in the
registry and, in particular, the purpose of the \Explorer\FileExts\ key.

Namaste',  Art

#23564 From: "Peter" <peterhulm@...>
Date: Thu Dec 27, 2012 6:37 pm
Subject: HTML-CSS help needed
peterhulm
Send Email Send Email
 
I've installed HTML-CSS and it tells me one clip is to create an HTML standard
page.

However, when I click on it, NoteTab produces an old version and I can't seen
how to edit the template so that it produces what I need.

Despite creating a supposedly correct HTML5 page, the library has no clips for
html5 tags such as section, article, header, hgroup, footer, cite or
datetime,let alone canvas etc. And the basic text does not include code that
makes sure the tags you need are displayed as blocks.

Has anyone updated this themselves in a form they are willing to share with me?
I have produced clips for the appropriate code but I don't know how to produce a
time, datetime, pubdate nested series of tags that ask for the user to input the
details and converts them to the form needed.

Grateful for any advice.

#23565 From: Axel Berger <Axel-Berger@...>
Date: Thu Dec 27, 2012 6:44 pm
Subject: Re: [Clip] HTML-CSS help needed
absalom_nemini
Send Email Send Email
 
Peter wrote:
>produce a time, datetime, pubdate nested series of tags that ask for
> the user to input the details and converts them to the form needed.

I don't write HTML5 myself but if you provide the kind of end product
you want plus the input expected then I can cobble something together.

Axel

#23566 From: "John Shotsky" <jshotsky@...>
Date: Thu Dec 27, 2012 6:49 pm
Subject: RE: [Clip] HTML-CSS help needed
shotsky1
Send Email Send Email
 
The html5 new document works for me, and I've used it several times. It uses a
template with a wizard to populate it.
What, exactly, do you not find correct? You may be able to edit the template, if
you want something different.

Regards,
John
RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of
Peter
Sent: Thursday, December 27, 2012 10:38
To: ntb-clips@yahoogroups.com
Subject: [Clip] HTML-CSS help needed


I've installed HTML-CSS and it tells me one clip is to create an HTML standard
page.

However, when I click on it, NoteTab produces an old version and I can't seen
how to edit the template so that it
produces what I need.

Despite creating a supposedly correct HTML5 page, the library has no clips for
html5 tags such as section, article,
header, hgroup, footer, cite or datetime,let alone canvas etc. And the basic
text does not include code that makes sure
the tags you need are displayed as blocks.

Has anyone updated this themselves in a form they are willing to share with me?
I have produced clips for the
appropriate code but I don't know how to produce a time, datetime, pubdate
nested series of tags that ask for the user
to input the details and converts them to the form needed.

Grateful for any advice.



[Non-text portions of this message have been removed]

#23567 From: "John Shotsky" <jshotsky@...>
Date: Thu Dec 27, 2012 6:56 pm
Subject: RE: [Clip] HTML-CSS help needed
shotsky1
Send Email Send Email
 
Sorry, I reread your message, and indeed it doesn't create anything more than a
basic html 5 page. I think someone would
have to customize the toolbar to add these functions. Sounds like a good project
for someone.

Regards,
John
RecipeTools Web Site: http://recipetools.gotdns.com/


-----Original Message-----
From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of
John Shotsky
Sent: Thursday, December 27, 2012 10:50
To: ntb-clips@yahoogroups.com
Subject: RE: [Clip] HTML-CSS help needed

The html5 new document works for me, and I've used it several times. It uses a
template with a wizard to populate it.
What, exactly, do you not find correct? You may be able to edit the template, if
you want something different.

Regards,
John
RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of
Peter
Sent: Thursday, December 27, 2012 10:38
To: ntb-clips@yahoogroups.com
Subject: [Clip] HTML-CSS help needed


I've installed HTML-CSS and it tells me one clip is to create an HTML standard
page.

However, when I click on it, NoteTab produces an old version and I can't seen
how to edit the template so that it
produces what I need.

Despite creating a supposedly correct HTML5 page, the library has no clips for
html5 tags such as section, article,
header, hgroup, footer, cite or datetime,let alone canvas etc. And the basic
text does not include code that makes sure
the tags you need are displayed as blocks.

Has anyone updated this themselves in a form they are willing to share with me?
I have produced clips for the
appropriate code but I don't know how to produce a time, datetime, pubdate
nested series of tags that ask for the user
to input the details and converts them to the form needed.

Grateful for any advice.



[Non-text portions of this message have been removed]



------------------------------------

Fookes Software: http://www.fookes.com/
NoteTab website: http://www.notetab.com/
NoteTab Discussion Lists: http://www.notetab.com/groups.php

***
Yahoo! Groups Links

#23568 From: "Peter" <peterhulm@...>
Date: Fri Dec 28, 2012 7:52 pm
Subject: Re: [Clip] HTML-CSS help needed
peterhulm
Send Email Send Email
 
Thanks for jumping in. I have created these functions with new clips, copying
from similar ones, but am not capable of handling the timedate tag requiring
input from a user, and cannot see in the template how to get rid of the XHMTL
1.0 code right at the top. When I delete what seems to be the code in the
template, it simply reinserts it next time I run the clip.

--- In ntb-clips@yahoogroups.com, "John Shotsky" <jshotsky@...> wrote:
>
> Sorry, I reread your message, and indeed it doesn't create anything more than
a basic html 5 page. I think someone would
> have to customize the toolbar to add these functions. Sounds like a good
project for someone.
>
> Regards,
> John
> RecipeTools Web Site: http://recipetools.gotdns.com/
>
>
> -----Original Message-----
> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
Of John Shotsky
> Sent: Thursday, December 27, 2012 10:50
> To: ntb-clips@yahoogroups.com
> Subject: RE: [Clip] HTML-CSS help needed
>
> The html5 new document works for me, and I've used it several times. It uses a
template with a wizard to populate it.
> What, exactly, do you not find correct? You may be able to edit the template,
if you want something different.
>
> Regards,
> John
> RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/
>
> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf
Of Peter
> Sent: Thursday, December 27, 2012 10:38
> To: ntb-clips@yahoogroups.com
> Subject: [Clip] HTML-CSS help needed
>
>
> I've installed HTML-CSS and it tells me one clip is to create an HTML standard
page.
>
> However, when I click on it, NoteTab produces an old version and I can't seen
how to edit the template so that it
> produces what I need.
>
> Despite creating a supposedly correct HTML5 page, the library has no clips for
html5 tags such as section, article,
> header, hgroup, footer, cite or datetime,let alone canvas etc. And the basic
text does not include code that makes sure
> the tags you need are displayed as blocks.
>
> Has anyone updated this themselves in a form they are willing to share with
me? I have produced clips for the
> appropriate code but I don't know how to produce a time, datetime, pubdate
nested series of tags that ask for the user
> to input the details and converts them to the form needed.
>
> Grateful for any advice.
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>
> ***
> Yahoo! Groups Links
>

#23569 From: "Dave" <dmc43959@...>
Date: Sat Dec 29, 2012 1:04 pm
Subject: Re: [Clip] HTML-CSS help needed
david_99_au
Send Email Send Email
 
Hi
as far as I can see you select the template you want from the list and then
edit the template ,delete the line you want cut and save it and it is done
file\template\edit
     THANKYOU DAVE M


----- Original Message -----
From: "Peter" <peterhulm@...>
To: <ntb-clips@yahoogroups.com>
Sent: Saturday, December 29, 2012 6:52 AM
Subject: Re: [Clip] HTML-CSS help needed


> Thanks for jumping in. I have created these functions with new clips,
> copying from similar ones, but am not capable of handling the timedate tag
> requiring input from a user, and cannot see in the template how to get rid
> of the XHMTL 1.0 code right at the top. When I delete what seems to be the
> code in the template, it simply reinserts it next time I run the clip.
>
> --- In ntb-clips@yahoogroups.com, "John Shotsky" <jshotsky@...> wrote:
>>
>> Sorry, I reread your message, and indeed it doesn't create anything more
>> than a basic html 5 page. I think someone would
>> have to customize the toolbar to add these functions. Sounds like a good
>> project for someone.
>>
>> Regards,
>> John
>> RecipeTools Web Site: http://recipetools.gotdns.com/
>>
>>
>> -----Original Message-----
>> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
>> Behalf Of John Shotsky
>> Sent: Thursday, December 27, 2012 10:50
>> To: ntb-clips@yahoogroups.com
>> Subject: RE: [Clip] HTML-CSS help needed
>>
>> The html5 new document works for me, and I've used it several times. It
>> uses a template with a wizard to populate it.
>> What, exactly, do you not find correct? You may be able to edit the
>> template, if you want something different.
>>
>> Regards,
>> John
>> RecipeTools Web Site:  <http://recipetools.gotdns.com/>
>> http://recipetools.gotdns.com/
>>
>> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
>> Behalf Of Peter
>> Sent: Thursday, December 27, 2012 10:38
>> To: ntb-clips@yahoogroups.com
>> Subject: [Clip] HTML-CSS help needed
>>
>>
>> I've installed HTML-CSS and it tells me one clip is to create an HTML
>> standard page.
>>
>> However, when I click on it, NoteTab produces an old version and I can't
>> seen how to edit the template so that it
>> produces what I need.
>>
>> Despite creating a supposedly correct HTML5 page, the library has no
>> clips for html5 tags such as section, article,
>> header, hgroup, footer, cite or datetime,let alone canvas etc. And the
>> basic text does not include code that makes sure
>> the tags you need are displayed as blocks.
>>
>> Has anyone updated this themselves in a form they are willing to share
>> with me? I have produced clips for the
>> appropriate code but I don't know how to produce a time, datetime,
>> pubdate nested series of tags that ask for the user
>> to input the details and converts them to the form needed.
>>
>> Grateful for any advice.
>>
>>
>>
>> [Non-text portions of this message have been removed]
>>
>>
>>
>> ------------------------------------
>>
>> Fookes Software: http://www.fookes.com/
>> NoteTab website: http://www.notetab.com/
>> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>>
>> ***
>> Yahoo! Groups Links
>>
>
>
>
>
> ------------------------------------
>
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>
> ***
> Yahoo! Groups Links
>
>
>

#23570 From: "Peter" <peterhulm@...>
Date: Sat Dec 29, 2012 5:53 pm
Subject: Re: [Clip] HTML-CSS help needed
peterhulm
Send Email Send Email
 
Thanks, Dave. That is what I thought I was doing, but it seems to reestablish
itself with the old reference to XHTML 1.0.

For anyone interested, this is how I set up the clip to write the section tag:

^!Clip CheckLogical

:PasteTag
^!Set %Value%=section
^!IfTrue "^%p_LogicalTag%" ^!Set %Value%=section
^!InsertHtml <^%Value%>^&</^%value%>

I have no idea what Clip CheckLogical does and I cannot find it in the Help
index (or Logical). But it was in the original clip I copied from, and
everything seems to work OK.

Can anyone explain?

--- In ntb-clips@yahoogroups.com, "Dave" <dmc43959@...> wrote:
>
> Hi
> as far as I can see you select the template you want from the list and then
> edit the template ,delete the line you want cut and save it and it is done
> file\template\edit
>     THANKYOU DAVE M
>
>
> ----- Original Message -----
> From: "Peter" <peterhulm@...>
> To: <ntb-clips@yahoogroups.com>
> Sent: Saturday, December 29, 2012 6:52 AM
> Subject: Re: [Clip] HTML-CSS help needed
>
>
> > Thanks for jumping in. I have created these functions with new clips,
> > copying from similar ones, but am not capable of handling the timedate tag
> > requiring input from a user, and cannot see in the template how to get rid
> > of the XHMTL 1.0 code right at the top. When I delete what seems to be the
> > code in the template, it simply reinserts it next time I run the clip.
> >
> > --- In ntb-clips@yahoogroups.com, "John Shotsky" <jshotsky@> wrote:
> >>
> >> Sorry, I reread your message, and indeed it doesn't create anything more
> >> than a basic html 5 page. I think someone would
> >> have to customize the toolbar to add these functions. Sounds like a good
> >> project for someone.
> >>
> >> Regards,
> >> John
> >> RecipeTools Web Site: http://recipetools.gotdns.com/
> >>
> >>
> >> -----Original Message-----
> >> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
> >> Behalf Of John Shotsky
> >> Sent: Thursday, December 27, 2012 10:50
> >> To: ntb-clips@yahoogroups.com
> >> Subject: RE: [Clip] HTML-CSS help needed
> >>
> >> The html5 new document works for me, and I've used it several times. It
> >> uses a template with a wizard to populate it.
> >> What, exactly, do you not find correct? You may be able to edit the
> >> template, if you want something different.
> >>
> >> Regards,
> >> John
> >> RecipeTools Web Site:  <http://recipetools.gotdns.com/>
> >> http://recipetools.gotdns.com/
> >>
> >> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
> >> Behalf Of Peter
> >> Sent: Thursday, December 27, 2012 10:38
> >> To: ntb-clips@yahoogroups.com
> >> Subject: [Clip] HTML-CSS help needed
> >>
> >>
> >> I've installed HTML-CSS and it tells me one clip is to create an HTML
> >> standard page.
> >>
> >> However, when I click on it, NoteTab produces an old version and I can't
> >> seen how to edit the template so that it
> >> produces what I need.
> >>
> >> Despite creating a supposedly correct HTML5 page, the library has no
> >> clips for html5 tags such as section, article,
> >> header, hgroup, footer, cite or datetime,let alone canvas etc. And the
> >> basic text does not include code that makes sure
> >> the tags you need are displayed as blocks.
> >>
> >> Has anyone updated this themselves in a form they are willing to share
> >> with me? I have produced clips for the
> >> appropriate code but I don't know how to produce a time, datetime,
> >> pubdate nested series of tags that ask for the user
> >> to input the details and converts them to the form needed.
> >>
> >> Grateful for any advice.
> >>
> >>
> >>
> >> [Non-text portions of this message have been removed]
> >>
> >>
> >>
> >> ------------------------------------
> >>
> >> Fookes Software: http://www.fookes.com/
> >> NoteTab website: http://www.notetab.com/
> >> NoteTab Discussion Lists: http://www.notetab.com/groups.php
> >>
> >> ***
> >> Yahoo! Groups Links
> >>
> >
> >
> >
> >
> > ------------------------------------
> >
> > Fookes Software: http://www.fookes.com/
> > NoteTab website: http://www.notetab.com/
> > NoteTab Discussion Lists: http://www.notetab.com/groups.php
> >
> > ***
> > Yahoo! Groups Links
> >
> >
> >
>

#23571 From: "Peter" <peterhulm@...>
Date: Sat Dec 29, 2012 6:16 pm
Subject: Re: HTML-CSS help needed
peterhulm
Send Email Send Email
 
I've checked again Dave and there is something I am clearly missing something
when I delete the reference after :Start.

A further note. To create an automatic datetime tag I used this code:

^!Clip CheckLogical

:PasteTag
^!Set %Value%=datetime
^!IfTrue "^%p_LogicalTag%" ^!Set %Value%=datetime
^!InsertHtml <^%Value%^& ^$GetDate(yyyy-mm-dd)$^& pubdate>^$GetDate(dd mmmm
yyyy)$</^%value%>

This uses the GetDate variable and its specificaton to put the date in
Year-Month-Date format within the tag, to make it machime readable, as required.
Outside the tags I prefer my dates in Day Month Year format, as indicated in the
code.

Someone else may be able to use it, or give me better code.


--- In ntb-clips@yahoogroups.com, "Dave" <dmc43959@...> wrote:
>
> Hi
> as far as I can see you select the template you want from the list and then
> edit the template ,delete the line you want cut and save it and it is done
> file\template\edit
>     THANKYOU DAVE M
>
>
> ----- Original Message -----
> From: "Peter" <peterhulm@...>
> To: <ntb-clips@yahoogroups.com>
> Sent: Saturday, December 29, 2012 6:52 AM
> Subject: Re: [Clip] HTML-CSS help needed
>
>
> > Thanks for jumping in. I have created these functions with new clips,
> > copying from similar ones, but am not capable of handling the timedate tag
> > requiring input from a user, and cannot see in the template how to get rid
> > of the XHMTL 1.0 code right at the top. When I delete what seems to be the
> > code in the template, it simply reinserts it next time I run the clip.
> >
> > --- In ntb-clips@yahoogroups.com, "John Shotsky" <jshotsky@> wrote:
> >>
> >> Sorry, I reread your message, and indeed it doesn't create anything more
> >> than a basic html 5 page. I think someone would
> >> have to customize the toolbar to add these functions. Sounds like a good
> >> project for someone.
> >>
> >> Regards,
> >> John
> >> RecipeTools Web Site: http://recipetools.gotdns.com/
> >>
> >>
> >> -----Original Message-----
> >> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
> >> Behalf Of John Shotsky
> >> Sent: Thursday, December 27, 2012 10:50
> >> To: ntb-clips@yahoogroups.com
> >> Subject: RE: [Clip] HTML-CSS help needed
> >>
> >> The html5 new document works for me, and I've used it several times. It
> >> uses a template with a wizard to populate it.
> >> What, exactly, do you not find correct? You may be able to edit the
> >> template, if you want something different.
> >>
> >> Regards,
> >> John
> >> RecipeTools Web Site:  <http://recipetools.gotdns.com/>
> >> http://recipetools.gotdns.com/
> >>
> >> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
> >> Behalf Of Peter
> >> Sent: Thursday, December 27, 2012 10:38
> >> To: ntb-clips@yahoogroups.com
> >> Subject: [Clip] HTML-CSS help needed
> >>
> >>
> >> I've installed HTML-CSS and it tells me one clip is to create an HTML
> >> standard page.
> >>
> >> However, when I click on it, NoteTab produces an old version and I can't
> >> seen how to edit the template so that it
> >> produces what I need.
> >>
> >> Despite creating a supposedly correct HTML5 page, the library has no
> >> clips for html5 tags such as section, article,
> >> header, hgroup, footer, cite or datetime,let alone canvas etc. And the
> >> basic text does not include code that makes sure
> >> the tags you need are displayed as blocks.
> >>
> >> Has anyone updated this themselves in a form they are willing to share
> >> with me? I have produced clips for the
> >> appropriate code but I don't know how to produce a time, datetime,
> >> pubdate nested series of tags that ask for the user
> >> to input the details and converts them to the form needed.
> >>
> >> Grateful for any advice.
> >>
> >>
> >>
> >> [Non-text portions of this message have been removed]
> >>
> >>
> >>
> >> ------------------------------------
> >>
> >> Fookes Software: http://www.fookes.com/
> >> NoteTab website: http://www.notetab.com/
> >> NoteTab Discussion Lists: http://www.notetab.com/groups.php
> >>
> >> ***
> >> Yahoo! Groups Links
> >>
> >
> >
> >
> >
> > ------------------------------------
> >
> > Fookes Software: http://www.fookes.com/
> > NoteTab website: http://www.notetab.com/
> > NoteTab Discussion Lists: http://www.notetab.com/groups.php
> >
> > ***
> > Yahoo! Groups Links
> >
> >
> >
>

#23572 From: "Dave" <dmc43959@...>
Date: Sun Dec 30, 2012 11:44 am
Subject: Re: [Clip] Re: HTML-CSS help needed
david_99_au
Send Email Send Email
 
hi
this is what I get when I make new page page001.htm it is  from the HTML
library
first line deleted
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <title>bfbvbcb</title>
   <link rev="made" href="mailto:gghhhhj" />
   <meta name="generator" content="NoteTab Std 6.2" />
   <meta name="author" content="hhhj" />
   <meta name="description" content="vbv" />
   <meta name="keywords" content="vcbcb" />
</head>

<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080"
alink="#FF0000">
<h1>bfbvbcb</h1>
<p>... Type content here!</p>
<hr />
<p><small>Created on ... December 30, 2012</small></p>
</body>
</html>
which bit is your problem??
     THANKYOU DAVE M


----- Original Message -----
From: "Peter" <peterhulm@...>
To: <ntb-clips@yahoogroups.com>
Sent: Sunday, December 30, 2012 5:16 AM
Subject: [Clip] Re: HTML-CSS help needed


> I've checked again Dave and there is something I am clearly missing
> something when I delete the reference after :Start.
>
> A further note. To create an automatic datetime tag I used this code:
>
> ^!Clip CheckLogical
>
> :PasteTag
> ^!Set %Value%=datetime
> ^!IfTrue "^%p_LogicalTag%" ^!Set %Value%=datetime
> ^!InsertHtml <^%Value%^& ^$GetDate(yyyy-mm-dd)$^& pubdate>^$GetDate(dd
> mmmm yyyy)$</^%value%>
>
> This uses the GetDate variable and its specificaton to put the date in
> Year-Month-Date format within the tag, to make it machime readable, as
> required. Outside the tags I prefer my dates in Day Month Year format, as
> indicated in the code.
>
> Someone else may be able to use it, or give me better code.
>
>
> --- In ntb-clips@yahoogroups.com, "Dave" <dmc43959@...> wrote:
>>
>> Hi
>> as far as I can see you select the template you want from the list and
>> then
>> edit the template ,delete the line you want cut and save it and it is
>> done
>> file\template\edit
>>     THANKYOU DAVE M
>>
>>
>> ----- Original Message -----
>> From: "Peter" <peterhulm@...>
>> To: <ntb-clips@yahoogroups.com>
>> Sent: Saturday, December 29, 2012 6:52 AM
>> Subject: Re: [Clip] HTML-CSS help needed
>>
>>
>> > Thanks for jumping in. I have created these functions with new clips,
>> > copying from similar ones, but am not capable of handling the timedate
>> > tag
>> > requiring input from a user, and cannot see in the template how to get
>> > rid
>> > of the XHMTL 1.0 code right at the top. When I delete what seems to be
>> > the
>> > code in the template, it simply reinserts it next time I run the clip.
>> >
>> > --- In ntb-clips@yahoogroups.com, "John Shotsky" <jshotsky@> wrote:
>> >>
>> >> Sorry, I reread your message, and indeed it doesn't create anything
>> >> more
>> >> than a basic html 5 page. I think someone would
>> >> have to customize the toolbar to add these functions. Sounds like a
>> >> good
>> >> project for someone.
>> >>
>> >> Regards,
>> >> John
>> >> RecipeTools Web Site: http://recipetools.gotdns.com/
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
>> >> Behalf Of John Shotsky
>> >> Sent: Thursday, December 27, 2012 10:50
>> >> To: ntb-clips@yahoogroups.com
>> >> Subject: RE: [Clip] HTML-CSS help needed
>> >>
>> >> The html5 new document works for me, and I've used it several times.
>> >> It
>> >> uses a template with a wizard to populate it.
>> >> What, exactly, do you not find correct? You may be able to edit the
>> >> template, if you want something different.
>> >>
>> >> Regards,
>> >> John
>> >> RecipeTools Web Site:  <http://recipetools.gotdns.com/>
>> >> http://recipetools.gotdns.com/
>> >>
>> >> From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On
>> >> Behalf Of Peter
>> >> Sent: Thursday, December 27, 2012 10:38
>> >> To: ntb-clips@yahoogroups.com
>> >> Subject: [Clip] HTML-CSS help needed
>> >>
>> >>
>> >> I've installed HTML-CSS and it tells me one clip is to create an HTML
>> >> standard page.
>> >>
>> >> However, when I click on it, NoteTab produces an old version and I
>> >> can't
>> >> seen how to edit the template so that it
>> >> produces what I need.
>> >>
>> >> Despite creating a supposedly correct HTML5 page, the library has no
>> >> clips for html5 tags such as section, article,
>> >> header, hgroup, footer, cite or datetime,let alone canvas etc. And the
>> >> basic text does not include code that makes sure
>> >> the tags you need are displayed as blocks.
>> >>
>> >> Has anyone updated this themselves in a form they are willing to share
>> >> with me? I have produced clips for the
>> >> appropriate code but I don't know how to produce a time, datetime,
>> >> pubdate nested series of tags that ask for the user
>> >> to input the details and converts them to the form needed.
>> >>
>> >> Grateful for any advice.
>> >>
>> >>
>> >>
>> >> [Non-text portions of this message have been removed]
>> >>
>> >>
>> >>
>> >> ------------------------------------
>> >>
>> >> Fookes Software: http://www.fookes.com/
>> >> NoteTab website: http://www.notetab.com/
>> >> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>> >>
>> >> ***
>> >> Yahoo! Groups Links
>> >>
>> >
>> >
>> >
>> >
>> > ------------------------------------
>> >
>> > Fookes Software: http://www.fookes.com/
>> > NoteTab website: http://www.notetab.com/
>> > NoteTab Discussion Lists: http://www.notetab.com/groups.php
>> >
>> > ***
>> > Yahoo! Groups Links
>> >
>> >
>> >
>>
>
>
>
>
> ------------------------------------
>
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>
> ***
> Yahoo! Groups Links
>
>
>

#23573 From: Axel Berger <Axel-Berger@...>
Date: Sun Dec 30, 2012 11:55 am
Subject: Re: [Clip] Re: HTML-CSS help needed
absalom_nemini
Send Email Send Email
 
Dave wrote:
> which bit is your problem??

This one:

> <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
> vlink="#800080" alink="#FF0000">

Those attribute have long been deprecated and really should have no
right to exist in a HTML5 surrounding. I'm surprised they're not illegal
there, it is in the drict variants of HTML4 and XHTML.

Axel

#23574 From: "John Shotsky" <jshotsky@...>
Date: Sun Dec 30, 2012 1:56 pm
Subject: RE: [Clip] Re: HTML-CSS help needed
shotsky1
Send Email Send Email
 
This link shows the differences between html5/xml and html4/xml. There are a LOT
of differences!
http://www.w3.org/TR/html5-diff/

But the issue was about not having explicit html5 commands in the toolbar or
clip library, which is correct. I deleted
the previous messages, but it seemed to me that inline styling was wanted, which
should not be present in html5
documents, since css is supposed to be used for styling. Thus, inline styling
commands should be in the css
toolbars/clip libraries.

Regards,
John
RecipeTools Web Site:  <http://recipetools.gotdns.com/>
http://recipetools.gotdns.com/

From: ntb-clips@yahoogroups.com [mailto:ntb-clips@yahoogroups.com] On Behalf Of
Dave
Sent: Sunday, December 30, 2012 03:45
To: ntb-clips@yahoogroups.com
Subject: Re: [Clip] Re: HTML-CSS help needed


hi
this is what I get when I make new page page001.htm it is from the HTML
library
first line deleted
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>bfbvbcb</title>
<link rev="made" href="mailto:gghhhhj" />
<meta name="generator" content="NoteTab Std 6.2" />
<meta name="author" content="hhhj" />
<meta name="description" content="vbv" />
<meta name="keywords" content="vcbcb" />
</head>

<body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080"
alink="#FF0000">
<h1>bfbvbcb</h1>
<p>... Type content here!</p>
<hr />
<p><small>Created on ... December 30, 2012</small></p>
</body>
</html>
which bit is your problem??
THANKYOU DAVE M

----- Original Message -----
From: "Peter" <peterhulm@... <mailto:peterhulm%40yahoo.com> >
To: <ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com> >
Sent: Sunday, December 30, 2012 5:16 AM
Subject: [Clip] Re: HTML-CSS help needed

> I've checked again Dave and there is something I am clearly missing
> something when I delete the reference after :Start.
>
> A further note. To create an automatic datetime tag I used this code:
>
> ^!Clip CheckLogical
>
> :PasteTag
> ^!Set %Value%=datetime
> ^!IfTrue "^%p_LogicalTag%" ^!Set %Value%=datetime
> ^!InsertHtml <^%Value%^& ^$GetDate(yyyy-mm-dd)$^& pubdate>^$GetDate(dd
> mmmm yyyy)$</^%value%>
>
> This uses the GetDate variable and its specificaton to put the date in
> Year-Month-Date format within the tag, to make it machime readable, as
> required. Outside the tags I prefer my dates in Day Month Year format, as
> indicated in the code.
>
> Someone else may be able to use it, or give me better code.
>
>
> --- In ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com> , "Dave"
<dmc43959@...> wrote:
>>
>> Hi
>> as far as I can see you select the template you want from the list and
>> then
>> edit the template ,delete the line you want cut and save it and it is
>> done
>> file\template\edit
>> THANKYOU DAVE M
>>
>>
>> ----- Original Message -----
>> From: "Peter" <peterhulm@...>
>> To: <ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com> >
>> Sent: Saturday, December 29, 2012 6:52 AM
>> Subject: Re: [Clip] HTML-CSS help needed
>>
>>
>> > Thanks for jumping in. I have created these functions with new clips,
>> > copying from similar ones, but am not capable of handling the timedate
>> > tag
>> > requiring input from a user, and cannot see in the template how to get
>> > rid
>> > of the XHMTL 1.0 code right at the top. When I delete what seems to be
>> > the
>> > code in the template, it simply reinserts it next time I run the clip.
>> >
>> > --- In ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com> ,
"John Shotsky" <jshotsky@> wrote:
>> >>
>> >> Sorry, I reread your message, and indeed it doesn't create anything
>> >> more
>> >> than a basic html 5 page. I think someone would
>> >> have to customize the toolbar to add these functions. Sounds like a
>> >> good
>> >> project for someone.
>> >>
>> >> Regards,
>> >> John
>> >> RecipeTools Web Site: http://recipetools.gotdns.com/
>> >>
>> >>
>> >> -----Original Message-----
>> >> From: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com> 
[mailto:ntb-clips@yahoogroups.com
<mailto:ntb-clips%40yahoogroups.com> ] On
>> >> Behalf Of John Shotsky
>> >> Sent: Thursday, December 27, 2012 10:50
>> >> To: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
>> >> Subject: RE: [Clip] HTML-CSS help needed
>> >>
>> >> The html5 new document works for me, and I've used it several times.
>> >> It
>> >> uses a template with a wizard to populate it.
>> >> What, exactly, do you not find correct? You may be able to edit the
>> >> template, if you want something different.
>> >>
>> >> Regards,
>> >> John
>> >> RecipeTools Web Site: <http://recipetools.gotdns.com/>
>> >> http://recipetools.gotdns.com/
>> >>
>> >> From: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com> 
[mailto:ntb-clips@yahoogroups.com
<mailto:ntb-clips%40yahoogroups.com> ] On
>> >> Behalf Of Peter
>> >> Sent: Thursday, December 27, 2012 10:38
>> >> To: ntb-clips@yahoogroups.com <mailto:ntb-clips%40yahoogroups.com>
>> >> Subject: [Clip] HTML-CSS help needed
>> >>
>> >>
>> >> I've installed HTML-CSS and it tells me one clip is to create an HTML
>> >> standard page.
>> >>
>> >> However, when I click on it, NoteTab produces an old version and I
>> >> can't
>> >> seen how to edit the template so that it
>> >> produces what I need.
>> >>
>> >> Despite creating a supposedly correct HTML5 page, the library has no
>> >> clips for html5 tags such as section, article,
>> >> header, hgroup, footer, cite or datetime,let alone canvas etc. And the
>> >> basic text does not include code that makes sure
>> >> the tags you need are displayed as blocks.
>> >>
>> >> Has anyone updated this themselves in a form they are willing to share
>> >> with me? I have produced clips for the
>> >> appropriate code but I don't know how to produce a time, datetime,
>> >> pubdate nested series of tags that ask for the user
>> >> to input the details and converts them to the form needed.
>> >>
>> >> Grateful for any advice.
>> >>
>> >>
>> >>
>> >> [Non-text portions of this message have been removed]
>> >>
>> >>
>> >>
>> >> ------------------------------------
>> >>
>> >> Fookes Software: http://www.fookes.com/
>> >> NoteTab website: http://www.notetab.com/
>> >> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>> >>
>> >> ***
>> >> Yahoo! Groups Links
>> >>
>> >
>> >
>> >
>> >
>> > ------------------------------------
>> >
>> > Fookes Software: http://www.fookes.com/
>> > NoteTab website: http://www.notetab.com/
>> > NoteTab Discussion Lists: http://www.notetab.com/groups.php
>> >
>> > ***
>> > Yahoo! Groups Links
>> >
>> >
>> >
>>
>
>
>
>
> ------------------------------------
>
> Fookes Software: http://www.fookes.com/
> NoteTab website: http://www.notetab.com/
> NoteTab Discussion Lists: http://www.notetab.com/groups.php
>
> ***
> Yahoo! Groups Links
>
>
>



[Non-text portions of this message have been removed]

#23575 From: "m.feichtinger" <mafei@...>
Date: Sun Dec 30, 2012 2:46 pm
Subject: Re: [Clip] HTML-CSS help needed
m.feichtinger
Send Email Send Email
 
--- In ntb-clips@yahoogroups.com, "Peter" <peterhulm@...> wrote:
>
> [...], and cannot see in the template how to get rid of the
> XHMTL 1.0 code right at the top. When I delete what seems
> to be the code in the template, it simply reinserts it next
> time I run the clip.
>

Have you checked "Options > HTML/Web Files: [x] Create XHTML Tags"?
If yes then remove the tick.

HTH

#23576 From: "Peter" <peterhulm@...>
Date: Sun Dec 30, 2012 3:31 pm
Subject: Re: [Clip] HTML-CSS help needed
peterhulm
Send Email Send Email
 
Many thanks. That did it. I no longer get the extra coding when I use the Create
HTML5 web page clip in HTML-CSS.


--- In ntb-clips@yahoogroups.com, "m.feichtinger" <mafei@...> wrote:
>
>
>
> --- In ntb-clips@yahoogroups.com, "Peter" <peterhulm@> wrote:
> >
> > [...], and cannot see in the template how to get rid of the
> > XHMTL 1.0 code right at the top. When I delete what seems
> > to be the code in the template, it simply reinserts it next
> > time I run the clip.
> >
>
> Have you checked "Options > HTML/Web Files: [x] Create XHTML Tags"?
> If yes then remove the tick.
>
> HTH
>

#23577 From: Axel Berger <Axel-Berger@...>
Date: Sun Dec 30, 2012 11:49 pm
Subject: Set image path
absalom_nemini
Send Email Send Email
 
When writing longer documents I keep images in a folder "Bild" at a
known position relative to the path of the document. For selecting an
image I have to get to that folder EVERY TIME.

I've tried this:

^!Set %vFIL%=^$GetDocName$
^!ChDir ^$GetPath(^%vFIL%)$Bild\
;
^!Set %vIMG%=^?{(T=O;F="Image Files|*.pdf;*.png;*.jpg;*.jpeg")Image
file};

(The first two lines are the most basic example of a more complicated
way to find the correct path in all cases.)

Doesn't work, the selector still opens in the path of the currently
edited text, not the one where the images are.

Any hints?

Axel

#23578 From: loro <tabbie@...>
Date: Mon Dec 31, 2012 12:15 am
Subject: Re: [Clip] Set image path
yastupidhoo
Send Email Send Email
 
Axel wrote:
>When writing longer documents I keep images in a folder "Bild" at a
>known position relative to the path of the document. For selecting an
>image I have to get to that folder EVERY TIME.
>
>I've tried this:
>
>^!Set %vFIL%=^$GetDocName$
>^!ChDir ^$GetPath(^%vFIL%)$Bild\
>;
>^!Set %vIMG%=^?{(T=O;F="Image Files|*.pdf;*.png;*.jpg;*.jpeg")Image
>file};
>
>(The first two lines are the most basic example of a more complicated
>way to find the correct path in all cases.)
>
>Doesn't work, the selector still opens in the path of the currently
>edited text, not the one where the images are.

I'm not sure when and how ^!ChDir works, but I don't think this is
the right time to use it. You don't need it anyway. You can put the
desired path directly in the wizard.

^!Set %path%=^$GetPath(^$GetDocName$)$Bild\
^!Set %vIMG%=^?{(T=O;F="Image Files|*.pdf;*.png;*.jpg;*.jpeg")Image
file=^%path%}

Also, you had a semicolon that shouldn't be there at the end of the
^!Set %vIMG% line.

Lotta

#23579 From: Axel Berger <Axel-Berger@...>
Date: Mon Dec 31, 2012 10:58 am
Subject: Re: [Clip] Set image path
absalom_nemini
Send Email Send Email
 
loro wrote:
> You can put the desired path directly in the wizard.

So simple and I never ever thught of that. Danke.

> Also, you had a semicolon that shouldn't be there at the end of the
> ^!Set %vIMG% line.

Yes, in the original that wizard sets half a dozen variables at once,
missed it when trimming.

Danke
	 Axel

#23580 From: "john041650" <john041650@...>
Date: Mon Dec 31, 2012 10:47 pm
Subject: Re: [Clip] Set image path
john041650
Send Email Send Email
 
FWIW because I often need to reference an image folder dependent upon the job
(web site) I'm working on, which means I'll use the same image folder over and
over until the job is done, I store the last used image folder in the NoteTab
INI file then use that as the default folder in the wizard.

So when I start a new job and need an image from another folder I simply browse
to another folder and the clip stores that folder in the INI as the default
folder to use the next time.

john



--- In ntb-clips@yahoogroups.com, loro <tabbie@...> wrote:
>
>   Axel wrote:
> >When writing longer documents I keep images in a folder "Bild" at a
> >known position relative to the path of the document. For selecting an
> >image I have to get to that folder EVERY TIME.
> >
> >I've tried this:
> >
> >^!Set %vFIL%=^$GetDocName$
> >^!ChDir ^$GetPath(^%vFIL%)$Bild\
> >;
> >^!Set %vIMG%=^?{(T=O;F="Image Files|*.pdf;*.png;*.jpg;*.jpeg")Image
> >file};
> >
> >(The first two lines are the most basic example of a more complicated
> >way to find the correct path in all cases.)
> >
> >Doesn't work, the selector still opens in the path of the currently
> >edited text, not the one where the images are.
>
> I'm not sure when and how ^!ChDir works, but I don't think this is
> the right time to use it. You don't need it anyway. You can put the
> desired path directly in the wizard.
>
> ^!Set %path%=^$GetPath(^$GetDocName$)$Bild\
> ^!Set %vIMG%=^?{(T=O;F="Image Files|*.pdf;*.png;*.jpg;*.jpeg")Image
> file=^%path%}
>
> Also, you had a semicolon that shouldn't be there at the end of the
> ^!Set %vIMG% line.
>
> Lotta
>

#23581 From: "Peter" <peterhulm@...>
Date: Tue Jan 1, 2013 3:03 pm
Subject: Re: [Clip] HTML-CSS help needed: new code for datetime
peterhulm
Send Email Send Email
 
I have slightly edited the datetime clip I posted earlier so that it fits HTML5
better by insert a <time> tag into the coding.

^!Clip CheckLogical

:PasteTag
^!Set %Value%=datetime
^!IfTrue "^%p_LogicalTag%" ^!Set %Value%=datetime
^!InsertHtml <time^& ^%Value%^& ^$GetDate(yyyy-mm-dd)$^& pubdate>^$GetDate(dd
mmmm yyyy)$</time>

--- In ntb-clips@yahoogroups.com, "Peter" <peterhulm@...> wrote:
>
>
> Many thanks. That did it. I no longer get the extra coding when I use the
Create HTML5 web page clip in HTML-CSS.
>
>
> --- In ntb-clips@yahoogroups.com, "m.feichtinger" <mafei@> wrote:
> >
> >
> >
> > --- In ntb-clips@yahoogroups.com, "Peter" <peterhulm@> wrote:
> > >
> > > [...], and cannot see in the template how to get rid of the
> > > XHMTL 1.0 code right at the top. When I delete what seems
> > > to be the code in the template, it simply reinserts it next
> > > time I run the clip.
> > >
> >
> > Have you checked "Options > HTML/Web Files: [x] Create XHTML Tags"?
> > If yes then remove the tick.
> >
> > HTH
> >
>

#23582 From: Art Kocsis <artkns@...>
Date: Wed Jan 2, 2013 3:15 pm
Subject: Testing for Well Formed Numeric Field
artkns
Send Email Send Email
 
I don't have much hair left to pull so maybe you guys can save
my scalp and suggest a way to make this search pattern work in
a clip.

I am trying to verify a selection to be a well formed numeric
field. By that I mean, the selection may have leading white space,
possibly a plus or minus sign (possibly followed by horizontal
white space), followed by one or more decimal digits with no
embedded or trailing white space. The total width of the selection
is fixed and known and may range from one to a large number. The
selection may be preceded or followed by any text. The preceding
code guarantees the selection to contain at least one non-white-
space character.


For example these would all be well formed, valid fields:
          |<-test->|
<any text>   + 123<any txt>
<any text>    +123<any txt>
<any text>  -  123<any txt>
<any text>+      3<any txt>
<any text>+      356456       [next line is at EOF]
<any text>+      3

And these would all be ill-formed, invalid fields:

          |<-test->|
<any text>  -+ 123<any txt>   [multiple operators]
<any text>    2+23<any txt>   [embedded operator]
<any text>  - 1 23<any txt>   [embedded white space]
<any text>+  aa  3<any txt>   [non-digit character]
<any text>     2  <any txt>   [trailing white space] [next line is at EOF]
<any text>a+     3

The RegEx pattern, "^\s*[\+-]?\s*\d*?\K[\D]+?", seemed to work OK
in the Toolbar dialog. Although the toolbar Find does not respect
selection boundaries for selections less than 24 characters, the
matches found for valid fields were outside the selection field
and could be testable by their column number.

However, in a clip (target fields are preselected),

  ^!Find "^\s*[\+-]?\s*\d*?\K[\D]+?" HRS

yields entirely different results and consistently matches valid
operators and white space within the selection. It seems that the
clip command is respecting the selection.

Upon further investigation, I found that pressing the F3 key to
invoke the search (instead of clicking the Find next button),
yields the same results as the clip. Another inconsistency of
Notetab.

Any suggestions on how to make this pattern work in a clip?

Darn - I just realized I forgot all about decimal points. Best
leave them for later as this clip was just for integers.

#23583 From: "joy8388608" <mycroftj@...>
Date: Thu Jan 3, 2013 11:03 pm
Subject: Re: Testing for Well Formed Numeric Field
joy8388608
Send Email Send Email
 
--- In ntb-clips@yahoogroups.com, Art Kocsis  wrote:
>
> I don't have much hair left to pull so maybe you guys can save
> my scalp and suggest a way to make this search pattern work in
> a clip.
>
> I am trying to verify a selection to be a well formed numeric
> field. By that I mean, the selection may have leading white space,
> possibly a plus or minus sign (possibly followed by horizontal
> white space), followed by one or more decimal digits with no
> embedded or trailing white space. The total width of the selection
> is fixed and known and may range from one to a large number. The
> selection may be preceded or followed by any text. The preceding
> code guarantees the selection to contain at least one non-white-
> space character.
>
>
> For example these would all be well formed, valid fields:
>          |<-test->|
>    + 123
>     +123
>   -  123
> +      3
> +      356456       [next line is at EOF]
> +      3
>
> And these would all be ill-formed, invalid fields:
>
>          |<-test->|
>   -+ 123   [multiple operators]
>     2+23   [embedded operator]
>   - 1 23   [embedded white space]
> +  aa  3   [non-digit character]
>      2     [trailing white space] [next line is at EOF]
> a+     3
>
> The RegEx pattern, "^\s*[\+-]?\s*\d*?\K[\D]+?", seemed to work OK
> in the Toolbar dialog. Although the toolbar Find does not respect
> selection boundaries for selections less than 24 characters, the
> matches found for valid fields were outside the selection field
> and could be testable by their column number.
>
> However, in a clip (target fields are preselected),
>
>  ^!Find "^\s*[\+-]?\s*\d*?\K[\D]+?" HRS
>
> yields entirely different results and consistently matches valid
> operators and white space within the selection. It seems that the
> clip command is respecting the selection.
>
> Upon further investigation, I found that pressing the F3 key to
> invoke the search (instead of clicking the Find next button),
> yields the same results as the clip. Another inconsistency of
> Notetab.
>
> Any suggestions on how to make this pattern work in a clip?
>
> Darn - I just realized I forgot all about decimal points. Best
> leave them for later as this clip was just for integers.


Hi Art.
I'm not nearly as good at RegExp at others but I'll give you what I have so far.
I'm unclear  about your data and what you mean by "the selection may be preceded
or followed by any text" since your example started with ^\s[\+-] which means
start at beginning of line...

This may help you start down the right path.
^\s*[\+\-]?\s*\d+(?=\s*$)

Something like ^\s*[\+\-]?\s*\d+(\.?\d+)*(?=\s*$)
may help with decimals as long as you don't have grouping characters.

Joy

#23584 From: Art Kocsis <artkns@...>
Date: Fri Jan 4, 2013 2:27 am
Subject: Re: [Clip] Re: Testing for Well Formed Numeric Field
artkns
Send Email Send Email
 
At 01-03-2013 23:03 +0000, Joy wrote:
>Hi Art.
>I'm not nearly as good at RegExp at others but I'll give you what I have so
far. I'm unclear about your data and what you mean by "the selection may be
preceded or followed by any text" since your example started with ^\s[\+-] which
means start at beginning of line...

Actually, the "^" means start of selection, if any, start of line if not.

What I was trying to convey was that at this point in my clip a selection
exists, it contains at least one non-white-space character, is restricted to a
single line and that the selection could be anywhere in a line - there could be
text preceding and/or text following the selection. The "^" was necessary to
ensure that the search pattern started from and included the  start of the
selection.


>This may help you start down the right path.
>^\s*[\+\-]?\s*\d+(?=\s*$)

Thank you for the suggestion. However, that pattern will only find valid numeric
strings followed by white space to the EOL. My selections may be followed by any
text, not just white space. And I need to ensure that within the selection, no
non-digit character appears following the first digit. That is what the [\D]
class was supposed to do. Oops! PAUSE. STOP. RETHINK.

Well now, between the two of our misconceptions, I think we've got it.

Writing the above explanation evoked a new line of thought. I had been trying to
test if an invalid character existed in the selection ("\s*\d*?\K[\D]", a
positive negative) and you were going by my stated goal of verifying a valid
field ("\s*\d+", a positive positive). I took my approach as I didn't know of a
way to ensure that the search didn't stop short of the entire selection.
However, that is exactly what the "$" meta character means: End of selection, if
any, EOL if not. I had thought the "$" only meant EOL. Your use of it made me
look it up. Learned something new.

So a working search pattern becomes simply:

^!Find "^\s*[\+-]?\s*\d+?$" HRS

Thanks. You did help.

Now, I wonder if anyone picked up on the different behaviors of Toolbar "Find
Text" between the F3 and mouse invocations.


Art

#23585 From: Don <don@...>
Date: Fri Jan 4, 2013 3:57 pm
Subject: Re: [Clip] Re: Testing for Well Formed Numeric Field
dpasseng
Send Email Send Email
 
Seems to work I think ...
^ *(\+|-)? *?([\d\.]+)(?!  )[^\d\r\n]*$

On 1/3/2013 6:03 PM, joy8388608 wrote:
> For example these would all be well formed, valid fields:
>>          |<-test->|
>>    + 123
>>     +123
>>   -  123
>> +      3
>> +      356456 [next line is at EOF]
>> +      3
>>
>> And these would all be ill-formed, invalid fields:
>>
>>          |<-test->|
>>   -+ 123   [multiple operators]
>>     2+23   [embedded operator]
>>   - 1 23   [embedded white space]
>> +  aa  3   [non-digit character]
>>      2     [trailing white space] [next line is at EOF]
>> a+     3
>>

Messages 23556 - 23585 of 23891   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help